Commit Graph

12534 Commits

Author SHA1 Message Date
Adeeb Shihadeh
6d645b4ce9 Scripts for containerized CARLA (#1987)
* run carla in container

* launch script

* fix launch script

* update carla
2020-08-06 13:26:25 -07:00
Adeeb Shihadeh
20162f7a4a fix counter mismatch in sim 2020-08-06 13:23:20 -07:00
Adeeb Shihadeh
a115366ddd Improve update reliability and responsiveness (#1986)
* handle orphaned git lock

* trigger update after going offroad

* git ping
2020-08-06 12:49:11 -07:00
Adeeb Shihadeh
9a8c43ac4a add CI dependency for new tests 2020-08-06 00:08:46 -07:00
Adeeb Shihadeh
90d5383354 Setup PC testing in Jenkins (#1984)
* build openpilot docker container in jenkins

* use cache

* run all stages in parallel

* move device tests

* wrap in stages

* it's docker

* doesn't work, but jenkins should cache the image

* steps

* disable phone tests for now

* we're root

* enable everything

* clean up our mess

* skip checkout

* need a plugin for that

* remove that

* parallel

* Revert "parallel"

This reverts commit e3e5af9dc9db692d1b5552012d62393a5b8520dd.

* this is ugly

* Revert "this is ugly"

This reverts commit e83995935294584e264a8fcb3d08bcf7d9305434.
2020-08-05 20:21:04 -07:00
Harald Schafer
687afa9687 wrong units 2020-08-05 13:45:58 -07:00
Dean Lee
c1e7b761a9 camerad: cache rgb_roi_buf&conv_result (#1979)
lgtm
2020-08-05 13:39:03 -07:00
Adeeb Shihadeh
f61dcb6e12 Cleanup updated (#1981)
* remove dead code from updated

* no short

* simpler

* simplify that

* move that into the class

* little more
2020-08-05 13:29:03 -07:00
Harald Schafer
7032a40717 Revert "persist falling test"
This reverts commit 8cad9375d3.
2020-08-05 10:46:26 -07:00
Harald Schafer
8cad9375d3 persist falling test 2020-08-05 10:44:40 -07:00
Dean Lee
ef435ef2ac Make sure memory is released by using unique_ptr (#1958) 2020-08-05 12:27:56 +02:00
Harald Schafer
e704da0c28 makes more sense 2020-08-04 15:30:20 -07:00
Adeeb Shihadeh
88c67e7e9f improve updated responsiveness (#1973) 2020-08-04 13:48:19 -07:00
Cruise Brantley
85fc85b3c8 Add Kia Stinger transmission FW version (#1975)
* new Stinger transmission fingerprint

* Formatting
2020-08-04 13:05:13 -07:00
Dean Lee
681ff41261 remove selfdrive/common/visionstream.c (#1931) 2020-08-03 17:04:47 -07:00
HaraldSchafer
490ee52687 add fall filter and less FP on posenet (#1971)
* add fall filter and less FP on posenet

* add alert

* list

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-03 15:51:56 -07:00
Adeeb Shihadeh
1208ac424d Cleanup locationd msg building (#1972)
* cleanup locationd msg building

* remove that
2020-08-03 14:58:15 -07:00
HaraldSchafer
629898eb93 Update bug_report.md 2020-08-03 14:17:22 -07:00
Adeeb Shihadeh
1e44b99478 Add missing chrysler can parser checks (#1967)
* add missing chrysler can parser checks

* toyota

* toyota cam

* toyota freqs

* chrysler freqs

* doors

* just chrysler for now

* update refs

* update again
2020-08-02 18:11:42 -07:00
Adeeb Shihadeh
c8bc172316 veloster steers down to zero 2020-08-02 16:58:27 -07:00
Adeeb Shihadeh
de95b7f0fb add hyundai veloster to release notes 2020-08-02 16:02:11 -07:00
xps-genesis
6e1bcdcb34 Add Hyundai Veloster 2019 (#1955)
* Add Hyundai Veloster 2019

* Add Hyundai Veloster interface.py

* add route for Hyundia Veloster

* steer ratio fix

* Update interface.py

* new longer route

* space

* ignored fingerprint

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-08-02 15:45:41 -07:00
Adeeb Shihadeh
433c9241f3 we have routes for these now 2020-08-02 15:25:09 -07:00
Adeeb Shihadeh
059a27d126 Update Hyundai DBC (#1968)
* update for new DBC update

* update to new DBC

* Ioniq uses SCC12. Ioniq EV lim uses FCA11

* update elect gear to EV_PC5 signal

* remove 'alt' from label

* revert

* update name to ev_pc5_gears

* update name to use_ev_pc5_gears

* Update values.py

* Update carstate.py

* bump opendbc

Co-authored-by: xps-genesis <65239463+xps-genesis@users.noreply.github.com>
2020-08-02 15:19:27 -07:00
Adeeb Shihadeh
3eafa8d860 bump opendbc 2020-08-02 13:08:35 -07:00
Adeeb Shihadeh
e10376f1ae Add frequency check to hyundai camera can parser (#1965) 2020-08-02 11:17:18 -07:00
Dean Lee
56e63bafa8 remove duplicate call to getDMonitoringState (#1964) 2020-08-02 10:55:24 -07:00
Adeeb Shihadeh
9ee1cc9b82 Run CI tests in parallel (#1962)
* run car model unit tests in parallel

* remove refs to deleted file

* run with coverage

* that wasn't necessary

* as builder

* need a new route for this one too
2020-08-02 00:30:09 -07:00
Adeeb Shihadeh
58b167d75d bump opendbc 2020-08-02 00:00:19 -07:00
Adeeb Shihadeh
e89b2b8453 Test can valid in car unit tests (#1961)
* check can invalid

* remove bad lexus is route

* blacklist routes from before cam forwarding

* fix rav4 route with missing first segment
2020-08-01 22:38:19 -07:00
Adeeb Shihadeh
a7ee2a53a8 Driver view refactor (#1869)
* quick driver view cleanup

* send at correct freq

* let manager handle that

* don't block starting on driver view

* fix UI hacks

* ui cleanup

* move driver view functionality into dmonitoringd

* dmonitoring thresholds shouldnt be in UI

* remove driver view file from release files

* timeout on frontview

* bump cereal
2020-08-01 17:26:35 -07:00
Dean Lee
f80acad519 modeld: read frame_id if sm.update(0)>0 (#1947)
* read frameid if sm.update(0)>0

* move postion

same line
2020-08-01 11:01:43 -07:00
Willem Melching
80acb32825 Panda abstraction layer in boardd (#1919)
* start on panda abstraction layer

* handle bulk transfer in library

* Safety model abstraction

* Abstract hw type into library

* Handle disconnect

* RTC stuff

* Fan control

* Health

* Panda fw version

* Read serial

* Power saving

* Power mode

* Cleanup pigeon thread init

* Rename safety setter variable name

* Remove comment

* Unused global cleanup

* malloc -> new

* whitespace

* Use std::thread

* Use std::thread for safety setter

* Cleanup igntion_last global

* Heartbeat

* logd

* More global cleanup

* Put back sleep

* ir pwr

* Always broadcast health

* init struct with zeroes

* Fix eon build

* fix race condition

* fix Adeebs comments

* abstract can send and receive
2020-07-31 23:14:31 +02:00
Harald Schafer
0a01d88139 dont init sound 2020-07-31 13:11:59 -07:00
Adeeb Shihadeh
1d7f4bc3b1 fix locationd profiling 2020-07-30 18:24:07 -07:00
HaraldSchafer
8e2d344135 Misc locationd improvements (#1714)
* I like this more

* rewind less

* bump rednose

* falling off windshield detectopr

* adjust thresholds

* this is a soft disable now

* move that

* process replay fixes

* update refs

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-30 15:33:22 -07:00
Adeeb Shihadeh
4658df7a66 add locationd, paramsd, dmonitoringd to CPU usage script 2020-07-30 15:28:58 -07:00
Adeeb Shihadeh
c1f8de9c9a bump panda 2020-07-29 11:35:18 -07:00
Harald Schafer
b467f5777b not useful 2020-07-29 10:21:44 -07:00
Adeeb Shihadeh
714f8c3f0b Remove get_one_can from messaging (#1946)
* move get_one_can into openpilot

* bump cereal
2020-07-28 23:52:18 -07:00
Adeeb Shihadeh
63e4aeac9f fail new car model unit tests if missing a test route 2020-07-28 23:37:53 -07:00
xps-genesis
9853b5b1df new palisade fingerprint (#1945)
* new palisade fingerprint

* update 1

* FP2 added

* spacing adjust

* missed a syntax
2020-07-28 20:22:43 -07:00
Adeeb Shihadeh
acb25751b7 Revert "can't directly access sockets anymore", was supposed to be on branch
This reverts commit 6acda96a16.
2020-07-28 18:41:39 -07:00
Adeeb Shihadeh
6acda96a16 can't directly access sockets anymore 2020-07-28 18:37:16 -07:00
Harald Schafer
e03f9d7c73 needed in pipeline 2020-07-28 15:12:16 -07:00
Shane Smiskol
2e59349b2e Add a minimal debugging tool to show the UI while device not in car (#1937)
* add a minimal uiview file with alias from selfdrive/ui

* make ui_debug executable

* minimize uiview.py; remove os and functions. the processes exit normally when ctrl+c'ing out of the loop

* violating E401 here, save 1 more line

* kill on exit

* forgot signal

* new record! 15 lines

* add comments and declare some common variables. don't need to redefine the messages every loop
2020-07-28 11:15:16 -07:00
Dean Lee
2953ae2810 UI cleanup (#1941)
* remove unused variables

* remove unused variables
2020-07-28 11:13:37 -07:00
Adeeb Shihadeh
02dfd4ca26 start 0.7.8 release notes 2020-07-27 21:29:20 -07:00
ZwX1616
2cfa0edb4c EfficientNet driver monitoring (#1907)
* e96f9be6

* bump cereal

* filter sunglasses

* fix unittest

* update refs

* udpate refs

* update refs

* add tolerance for dmonitoringd

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-07-27 20:22:06 -07:00
Shane Smiskol
247ec73370 Update TOTAL_SCONS_NODES (#1938) 2020-07-27 18:23:38 -07:00