8000 GitHub - andyh2/comma-routes: Visualize comma.ai routes using Deck.GL
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andyh2/comma-routes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Comma.ai route visualization

Running locally

git clone https://github.com/andyh2/comma-routes.git
cd comma-routes/comma-routes
npm install
node scripts/start.js

This will run a demo on localhost:3000 visualizing 20 sample routes.

Using your own comma data

To visualize your own comma routes, you need to obtain your comma access token.

  1. Log in on beta.comma.ai
  2. Open chrome JS console to obtain your comma access token: getCookie("comma_access_token")
  3. replace YOUR_COMMA_ACCESS_TOKEN below:
cd comma-routes/routefetcher
export COMMA_AUTH=YOUR_COMMA_ACCESS_TOKEN
python3 routefetcher.py
mv *.json ../comma-routes/public/routes/ # this will overwrite sample data

Finally, follow the "running locally" steps above.

References

About

Visualize comma.ai routes using Deck.GL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0