Commit Graph

6112 Commits (7dd99717175a27dfdbb15f5521f37f1636c746bb)

Author SHA1 Message Date
HaraldSchafer 7dd9971717
Update README.md 2022-03-25 17:27:30 -07:00
Shane Smiskol 405ecbced3
Training guide updates (#24033)
* add new images

* update boxes

* copy updates and fix checkmark spacing

* update wide images and boxes

* tune path and smaller triangle

* tune bounding boxes

* clean up

* same triangle as c3

* revert panda

* optimize images

* Revert "revert panda"

This reverts commit f66aac85a0.

* add comment

* add new step18

* final fixes

* pixel perfect
2022-03-25 17:04:53 -07:00
Adeeb Shihadeh bb36a1c8b2
sim: add ignition toggling (#24043) 2022-03-25 14:17:45 -07:00
Adeeb Shihadeh 67e3a2c39a
UI: better lag logging (#24042)
* UI: better lag logging

* remove print
2022-03-25 13:52:37 -07:00
Shane Smiskol 4802c864d5
ui: repaint toggles after offroadTransition (#24038)
* repaint after offroadTransition

* Update selfdrive/ui/qt/widgets/controls.h

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-25 13:52:22 -07:00
Adeeb Shihadeh aeb98b3937
bunch of gpu config (#23932)
Co-authored-by: Comma Device <device@comma.ai>
2022-03-25 13:46:36 -07:00
Jack Huang db93275d87
CARLA: fix setting camera EOF (#24034)
* Fix Openpilot in Carla isn't accelerating

The scalars of the timestamp are different in real-world and simulation,
which will cause an infinite loop in selfdrive/modeld/modeld.cc.

* Set eof based on the frame ID

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* remove global

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-25 13:45:08 -07:00
Adeeb Shihadeh 8af20af66d
pylint: enforce indentation (W0311) (#24039)
* pylint: enforce indentation (W0311)

* few more
2022-03-24 23:23:29 -07:00
George Hotz 1df3c86999
sensord: add support for Quectel raw gps (#24027)
* connecting to rawgps

* dumping rawfps packets

* this works, but it might be useless

* fix parsing

* parsing 0x1476

* compare

* compare better

* refactoring

* parsing and broadcasting GPS packet

* glonass support

* compare using submaster

* fix compare for glonass

* update cereal

* make linter happy

* other linter issue

* last mypy complaints

* add support for publishing gpsLocationExternal

* set flags to 1 to match ubloxd

* ready to ship

* qcomdiag

* use unused variables

* last one

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-24 23:07:26 -07:00
Adeeb Shihadeh ea74a90ca0
test onroad: CPU usage test improvements (#24035)
* test onroad: CPU usage test improvements

* remove those
2022-03-24 19:52:46 -07:00
Shane Smiskol e91613bc62
update unsafeMode to alternativeExperience (#23995)
* update unsafeMode to alternativeExperience

* fix

* fix

* bump submodules

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-24 14:59:16 -07:00
Harald Schafer d08b52caef Bump panda 2022-03-24 10:33:56 -07:00
Shane Smiskol c88ced1f10
Honda Nidec: don't actuate while longitudinal is inactive (#24028)
* don't command any pcm_speed when long is not active

* update refs
2022-03-23 18:30:05 -07:00
Adeeb Shihadeh a55e25d9d2 test models: skip with flag 2022-03-23 16:42:04 -07:00
Shane Smiskol 85d8997a8a
docs: support for automatically generating website vehicles page (#24020)
* add vehicles.vue template

* add original vue file

* stash

* stash

* clean up a bit

* add template for now

* implement footnotes and tier copy

* no more generator

* convert to 2 spaces

* should work, now onto vue

* does GH handle this html well?

* fix

* auto-generate descriptions and make tiers' maps non-str

* remove old files

* move template specific variable into templates, should be a bit simpler

* js template is simplier too now

js template is simplier too now

js template is simplier too now

* add video links from the nice car_info

* make rows attributes

* clean up

* fix

* remove template

* experiment with video links in GH

add image

how does this look?

fix

* Revert "experiment with video links in GH"

This reverts commit 8375e717b5.

* sort tier_car_info in place

* unused Tuple

* no type check

* fix script
2022-03-23 13:42:53 -07:00
Adeeb Shihadeh fc2f84759d set MANAGER_DAEMON for boardd 2022-03-23 11:52:41 -07:00
Adeeb Shihadeh 53909c1757
deleter: handle files (#24023) 2022-03-23 11:31:29 -07:00
Dylan Herman 9f1c663ae2
calibrationd: add function typing (#24018) 2022-03-23 00:28:36 -07:00
HaraldSchafer 4a8fffd0f4
Apply EU guideline lateral limits (#23974)
* Apply EU limits

* Lower bound v_ego

* Add curvature limit comment

* Remove comment

* Update ref
2022-03-22 19:46:04 -07:00
Adeeb Shihadeh b57c2f4a14 plotjuggler: add lag debugging layout 2022-03-22 15:34:49 -07:00
Robbe Derks 1035b910f0
Tesla: disable temp fault on hands on error (#24014) 2022-03-22 21:02:28 +01:00
mitchellgoffpc 5c8c6faa9a Ignore BrokenPipeError 2022-03-22 12:52:25 -07:00
Adeeb Shihadeh 7cd8575c74 Revert "camerad: set QCOM CL perf hint (#23791)"
This reverts commit b079475ad3.
2022-03-22 11:11:15 -07:00
Robbe Derks 25219442d1
update tesla ap2 fingerprint after OTA update (#24013) 2022-03-22 11:07:12 +01:00
Adeeb Shihadeh b079475ad3
camerad: set QCOM CL perf hint (#23791)
Co-authored-by: Comma Device <device@comma.ai>
2022-03-21 20:32:28 -07:00
Dylan Herman 604fefa9b1
calibrationd: remove unused arg in function (#24004) 2022-03-21 20:03:32 -07:00
Comma Device 03ac5bb4e3 cleanup tici_init in launch script 2022-03-21 16:45:24 -07:00
Adeeb Shihadeh c76434ca9f skip test models in unittest discovery 2022-03-21 13:42:07 -07:00
whokilleddb 1bdf29dc5b
Sanitize IP zookeeper/enable_and_wait.py (#24007)
* Sanitize IP zookeeper/enable_and_wait.py

* Fixed Identation

* Fixed Gaierror
2022-03-21 17:49:03 +01:00
Adeeb Shihadeh a6d4bb5d01
Add warning for unsupported NVME (#23972)
* Add warning for unsupported NVME

* fix it up

* fix typo

Co-authored-by: Comma Device <device@comma.ai>
2022-03-20 17:28:09 -07:00
Cameron Clough 602cbfcba0
replay: fix wrong format code in print (#24006) 2022-03-20 16:53:42 -07:00
Shane Smiskol 20085620db
Mazda: no steer unavailable alert for cars with full range steering (#23998)
* allow steer if minSteerSpeed is <= 0

* need to understand lkas_blocked, can we just use that?

need to understand lkas_blocked, can we just use that?

* Revert "need to understand lkas_blocked, can we just use that?"

This reverts commit 8793fb562d.

* better

* fix

* little more clear

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-20 16:41:18 -07:00
Shane Smiskol 15368ec3d1
Support Toyota Alphard Hybrid 2021 (#24003)
* add 2021 Alphard Hybrid

revert

* fix fp name

* run docs generator

* Add to releases

* test route

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-20 16:40:25 -07:00
Shane Smiskol 247b66f4a8
Toyota: Support Avalon Hybrid 2022 (TSS2.5) (#23892)
* Add Avalon Hybrid 2022

* update docs

* set a tune

* add test route

* uploaded route
2022-03-19 13:14:04 -07:00
Shane Smiskol 7a2f3c023e
Hyundai: clean up CarInterface apply function (#24000)
* clean up Hyundai CarController

* remove
2022-03-18 21:08:15 -07:00
Shane Smiskol 70286766da
Honda: clean up CarInterface.apply and CarController (#23876)
* clean up honda/carcontroller

* indentation

* fixes

* clean up apply function

clean up apply function
2022-03-18 19:10:59 -07:00
Shane Smiskol 99c02bdd29
Car ports: update PR template (#23996)
* update text for docs generator

* use docs.py

* Update .github/pull_request_template.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-18 17:47:43 -07:00
Adeeb Shihadeh 7eb9416f6b plotjuggle: add blockedCnt to controls mismatch debug layout 2022-03-18 15:48:07 -07:00
Adeeb Shihadeh 2219cb4478
cars: cleanup CS usage (#23957) 2022-03-18 15:39:22 -07:00
Adeeb Shihadeh 1af3c52049
Nissan + Tesla: fix controls mismatch on blocked msg (#23994)
* Nissan + Tesla: fix controls mismatch on blocked msg

* bump panda
2022-03-18 15:26:06 -07:00
George Hotz 5a11101bcf
camerad: imx390 support (#23966)
* something is output

* min stuff

* visible picture

* pics look good

* maybe

* whole sensor

* fix all cameras

* support both cameras

* autoexposure for imx390

* fix imx390 blacklevel

* touchups

* put gain in db scale

* inline and fix max exposure

Co-authored-by: Comma Device <device@comma.ai>
2022-03-18 15:21:51 -07:00
Shane Smiskol 6c7d178d96
Hyundai: send driver override state when gas is pressed (#23745)
* send pre-enable state when gas is pressed

formatting and it's out

forgot one

allow gas press

show toggle

revert changes

revert changes

* revert change
2022-03-18 14:54:20 -07:00
Gijs Koning 3d8537ab23
Update carla script to easier install docker and nvidia-docker (#23986)
* Easier docker and nvidia-docker install in carla script

* Small cleanup

* cleanuo

* cleanup

* More comments

* Remove adding usergroup step
2022-03-18 14:07:39 -07:00
Adeeb Shihadeh b9c48f12ad
update references to CARS.md and routes.py (#23993) 2022-03-18 13:30:06 -07:00
Shane Smiskol 628eecff06
CARS.md tweaks (#23983)
* CARS.md fixups

* wrong one

* sort footnotes

* Mazda CX-9 has good torque

* Try this

* generate

* yup, os uses native filesystem order
2022-03-17 16:11:03 -07:00
Igor Biletskyy 62087a6368
onroad UI: show negative speed (#23987)
* show negative speed

* remove ()
2022-03-17 13:17:33 -07:00
Jonathan Frey 5bc47a294f
test onroad: better mpc timing prints (#23896)
* initialize solverExecutionTime longitudinal_planner

* test_onroad: improve timing evaluation
2022-03-17 12:02:51 -07:00
Adeeb Shihadeh f7d0ddb9a4 re-run car docs generator 2022-03-17 11:56:18 -07:00
Harald Schafer db7b49c71c Bump cereal 2022-03-16 21:38:00 -07:00
Shane Smiskol 31a6b141d6
Docs: auto-generate supported cars documentation (#23762)
* make CAR class enum, and values.py formatting

* Revert "make CAR class enum, and values.py formatting"

This reverts commit 04d9817e9d.

* stash

* add supported packages and model years

* don't change model years in fps

* move Lexus to info dict and make int enum

* remove sometimes wrong model years from name string

* use enum names

* convert Honda's values

* nice names

* use name

* GM

* Mazda, Ford

* Hyundai: WIP

* finish Hyundai

* fix

* Nissan

* Subaru

* Tesla

* formatting is for another PR

* Chrysler: todo: unify the Pacificas?

* do volkswagen

* this isn't a zoo

* skip enums for now

* Update selfdrive/car/volkswagen/values.py

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>

* set All

* temp cars

* auto-generate CARS.md

* update type hinting

* add generated file

* add longitudinal star to cars that support disabling radar

* add TODO

* add notes

* add min_steer_speed exception for hatchback

* add minimum steering speeds

* Add exceptions and run generator

* Missing Telluride

* fix Prius v

* missing Prius Prime

generate

* start to convert years to strings

* Fixup Hyundai

* convert year sets to strings

* handle this

* missing S3

* Fix and add all missing cars (verified with script

* Supported Package fixes

* add get_tiered_cars

* Check radarOffCan for removing most Honda from op long

* Update for Avalon stop and go update on master

* Fix missing car params

* add my temporary script i'm using to verify new generated DBC

add my temporary script i'm using to verify new generated DBC

* generate with jinja template

* add header and footer

* clean up

* rename

rename

* add exceptions. jinja is nice, but why are its loop indexes starting at 1?

* add list of known car videos

* See how these look

* Add nice table formatting for column description

Add nice table formatting for column description

* generate

* consisten br tag

* small clean up

* temp

* Move car videos into CarInfo

* add new copy and rename to footnotes

* Revert "temp"

This reverts commit 93c3fce1d3.

clean up

* generate

* replace with svg

* simplify a bit

* add footnotes to CarInfo

* move some variables to docs.py

* Add video link for Acadia

* Make Footnote an enum so we don't use random ints

* static analysis fixes

* move to CARS.md

* fix last missing footnote

* add to release files

* rm test file

* use svg

generate

* fix sorting

* not needed

* not sure how this got here

* remove Sedan/Couple and add Diesel footnote

* finish todos

* move make specific footnotes to selfdrive/car/*/values.py

rename

* change to zeros

* align bottom to center

* Apply some suggestions

* Update selfdrive/car/mock/values.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update copy

* Try headers + bullet points

* somehow better

somehow better

* finish updating copy

* move template and add links to sups

* stars shouldn't be clickable

that didn't work

try this

try this

this is better

* add type hints to CarInfo

add more type hinting

* optional needs a type and any covers all (?)

* move good steering torque to */values.py

* dataclasses are much nicer than attr

* use tuple

* Update docs/cars.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* suggestions

* suggestions

* suggestions

remove

* clean up a bit

* add more type hints

* center stars and remove hardcoding from template

* update copy

* Add test

* Fix types

Fix types

* add supported cars documentation test

* clean up

* replace with docs_definitions

* Add back Footnote enums

* Ah so these are like fstrings!

* Update selfdrive/car/CARS_template.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update selfdrive/car/docs.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update year from master merge

* Fix longitudinal star from merge

* sort properly stars by Column enum

* clean up

* HKG: Sorry guys

* Prius V gets FSR star, like others

* Update selfdrive/car/docs.py

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* update comment

* No Prius docs change for now

Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-16 21:27:05 -07:00