Commit Graph

4792 Commits

Author SHA1 Message Date
Willem Melching
26ce0fa0cb Honda Bosch: switch ACC_HUD between metric/imperial (#22428)
* Honda Bosch: switch ACC_HUD between metric/imperial

* bump opendbc
2021-10-04 18:42:06 +02:00
Dean Lee
2253cba98b c++ replay: graceful shutdown (#22280)
* graceful shutdown

* reset termios

* continue

* call clear in dctor

* unpause

* delete vipc_server

* relase context

* notify_one

* merge master

* merge master

* print vipc stop listen before shutdown down
2021-10-04 18:00:49 +02:00
Dean Lee
29b9c8f13b replay: cleanup console output (#22410) 2021-10-04 17:15:03 +02:00
Dean Lee
1eb79d7a59 c++ replay: publish all frames in CameraServer (#22378)
* cameraserver

* support yuv

* init camera server in start()

* trigger ci
2021-10-04 16:45:28 +02:00
Dean Lee
fd801c454a c++ replay: get socket name from capnp::Schema (#22367)
* get socket name from canp::Schema

* use vector
2021-10-04 15:44:06 +02:00
Dean Lee
d28b98c602 replay : move utility functions into separate file (#22414)
* move functions into util

* read bz2 into stream

* pre-decompress log in the download thread

* cleanup logreader

* cache sha256 path

* use readBZ2file in test_logger

* Revert "cache sha256 path"

This reverts commit 60459d3ea09a2c80f4560cf95b1ce7d6af59f06d.

* use macro

* use ostringstream

* cleanup readBZ2File

* move precise_nano_sleep into util
2021-10-04 15:39:59 +02:00
Dean Lee
fa8ddd992d c++ replay: more robust seek (#22375)
* skip invalid segment

* test seek

* fix wrong cur_mono_time when route_start_ts is 0

* don't notify stream thread if current segment not merged

* continue merge next segment if current is invalid

* cleanup seekTo

* continue

* fix seek cross-boundary

* new demo route has 11 segments

* continue

* fix cross-boundary

* cleanup & better test cases

cleanup

remoe &

typo

update comment

* update test

* reserve space for new_events

* parallel sorting

* usleep(0)

* Revert "parallel sorting"

This reverts commit d7d1b42f49944aef0b6ca2962e45a7f5318a1152.
2021-10-04 15:00:57 +02:00
Willem Melching
3e854b8351 safety_setter_thread: exit on ignition low (#22426) 2021-10-04 15:00:25 +02:00
Dean Lee
47f601e50a boardd: wait for safety_setter_thread to finish while quitting panda_state_thread (#21961)
* rebase master

* merge master

* merge master

* remove space
2021-10-04 14:38:35 +02:00
Willem Melching
009e37e797 ui: only update ignition when panda is connected (#22425) 2021-10-04 14:11:32 +02:00
Willem Melching
df4ff33c87 bump panda: build red panda fw 2021-10-04 12:15:39 +02:00
Willem Melching
f4e2537b12 Split pandaState into peripheralState and pandaState (#22385)
* publish peripheralState from boardd

* refactor consumers

* rename thread

* peripheralState has panda type too

* add to process replay

* fix device build

* properly remove hardware unsupported alert

* latest peripheralState

* remove pandaState from thermal_monitor

* put that back

* add back harness check

* fix cloudlog

* needs pandaState

* Update selfdrive/thermald/tests/test_power_monitoring.py

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

* dont conflate

* Update selfdrive/thermald/tests/test_power_monitoring.py

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

* pigeon is peripheral

* cleanup

* less global

* comment

* move rtc to peripheral_control_thread

* better diff?

* whitespace

* get msg

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-04 11:30:11 +02:00
Willem Melching
9c771b45fc ui: make OpenGL context current before connecting to VisionIPC 2021-10-04 10:37:31 +02:00
qadmus
3461e25944 Lateral PID: move steer feedforward to CarInterface (#22411)
* move steer feedforward to car interface, in car parameters

* LatControlPID.get_steer_feedforward()
2021-10-04 10:03:53 +02:00
Brian Wisniewski
4645992670 Update README for C3: camera -> cameras (#22415)
* Update README for C3

* Update README.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-10-03 23:23:24 -07:00
Jason Young
e98d125811 VW MQB: Add FW for 2018 Volkswagen Passat (#22418) 2021-10-03 16:39:37 -07:00
rbiasini
d546c109ef CARS.md: Kia in alphabetical order (#22413) 2021-10-03 10:16:50 +02:00
Dean Lee
a6da064a93 replay/segment: std::atomic member variables (#22409) 2021-10-02 16:09:39 +02:00
Adeeb Shihadeh
c11be0f49a update useradmin url 2021-10-01 17:36:46 -07:00
Kamil Klimkiewicz
2ab0d52fda Add fingerprint for 2019 Honda Civic Hatchback (#22400)
Honda Civic Hatchback 1.0T Elegance (Europe - Poland)
2021-10-01 15:02:26 -07:00
grekiki
4c7acf680c C++ replay cache folder path / fix (#22396) 2021-10-01 17:32:41 +02:00
Greg Hogan
92895f1e68 accel/decel button short/long press 1mph/5mph (#22013) 2021-10-01 11:09:56 +02:00
Willem Melching
abaa7b2d55 Don't send empty pandaState from panda_state_thread (#22393) 2021-10-01 09:05:33 +02:00
Willem Melching
9219de0bd3 bump cereal 2021-10-01 08:20:59 +02:00
Adeeb Shihadeh
29b2a7d20b agnos 2 (#22390)
* agnos 2

* release notes
2021-09-30 21:56:44 -07:00
Adeeb Shihadeh
23ae67bbf9 UI: auto wide detection on PC (#22392)
* UI: auto wide detection on PC

* invert width

* cleanup
2021-09-30 20:48:02 -07:00
Chris McCammon
7051aa91d7 Pilot 2021 confirmed working 2021-09-30 17:37:18 -07:00
Jason Wen
e797439c5f UI: whitespace fix (#22383) 2021-09-30 14:45:24 -07:00
Jason Wen
6018bda2ba HKG: Car Port for 2021 Kia K5 (#22347)
* HKG: Kia K5 2021 Car Port

* Update CARS.md and RELEASES.md

* Add test route: Kia K5 2021

* Update firmware format due to recent query change

* Update CARS.md: not all 2021 Kia K5 have SCC

* Update test_routes.py
2021-09-30 14:35:14 -07:00
Adeeb Shihadeh
45409cb4fe UI: big pairing QR code (#22384) 2021-09-30 14:00:52 -07:00
Jason Young
b289ee6e53 VW MQB: Add FW for 2013 Volkswagen Golf (#22388) 2021-09-30 11:15:29 -07:00
Willem Melching
a31c6ce3f9 tools: make auth optional for public routes (#22386)
* tools: make auth optional for public routes

* handle 403

* show warning from c++ replay
2021-09-30 20:13:46 +02:00
HaraldSchafer
06944165d0 notebook precommit install (#22382)
* notebook precommit install

* Update update_requirements.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-29 19:05:11 -07:00
Adeeb Shihadeh
dd67dc6b34 update demo route (#22381) 2021-09-29 18:51:30 -07:00
Willem Melching
a60f3c6a35 move acados deps out of devpackages (#22376)
* move acados deps out of devpackages

* fix new pylint errors
2021-09-29 23:20:33 +02:00
HaraldSchafer
a8b4249ebc Change radar-based FCW to model-based FCW (#22379)
* just use MPC for fcw checking

* thats already bad

* model FCW is always good

* better fcw

* should be good for now

* comment

* linting

* cleaner

* unused
2021-09-29 11:55:54 -07:00
Adeeb Shihadeh
425020a849 agnos updater: support non-sparse images (#22371)
* print progress for all partitions

* noop generator

* less spammy

* cleanup
2021-09-29 11:08:19 -07:00
Adeeb Shihadeh
4394f83601 remove qpOASES (#22377) 2021-09-29 11:07:18 -07:00
Willem Melching
b7c64542f4 replay: fall back to qlog (#22362) 2021-09-29 17:44:10 +02:00
Willem Melching
6881688af2 replay: send frames based on encodeIdx packet (#22361)
* send frames based on encodeIdx

* use start of frame time if set

* also use end of frame if set

* fix timestamp for encode packets

* handle all cameras

* add comment

* add twice
2021-09-29 17:43:56 +02:00
Dean Lee
318a8ba854 c++ replay: more accurate sleep (#22348)
* precise sleep

* cleanup

* continue
2021-09-29 16:59:12 +02:00
Robbe Derks
664d48fd5e higher offroad danger temp for tici (#22363) 2021-09-29 11:45:02 +02:00
Adeeb Shihadeh
545b24bf4c Update CONTRIBUTING.md 2021-09-28 22:32:12 -07:00
Adeeb Shihadeh
22cb4546d4 windows setup instructions (#22374)
* windows setup instructions

* sub heading

* finish that sentence
2021-09-28 22:26:58 -07:00
martinl
4c45e90722 Subaru: update brake pressed signal (#21012)
* Change Global brakePressed to Brake_Status Brake signal

* Add Brake_Status Brake signal and check

* bump panda

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-28 22:00:35 -07:00
HaraldSchafer
85dc43d166 Small long MPC optimizations (#22360)
* Revert "temporarily relax camerad timings"

This reverts commit 174aa908ba.

* cleanup

* wrong weight size

* changes ever so slightly

* seems enough

* Revert "seems enough"

This reverts commit 24f64e9b18583462206bb77c37ba7727b9e47245.

* new ref
2021-09-28 17:37:31 -07:00
Adeeb Shihadeh
4dfd7b9a15 update release notes 2021-09-28 17:24:26 -07:00
Adeeb Shihadeh
4c0b82308d honda nidec: fix no acceleration with pedal (#22368) 2021-09-28 16:31:12 -07:00
Chris McCammon
69b4872364 Update Privacy Policy URL 2021-09-28 15:04:55 -07:00
Piotrek Rybiec
8412f607b7 sim: fix race condition in tmux script (#22365)
* carla simulator tmux script enhancement

* real name

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-09-28 14:07:41 -07:00