Adeeb Shihadeh
88434dc9e4
add CLEAR_ON_IGNITION param type ( #20810 )
...
old-commit-hash: b4447993c10b36628cb72b58dba8104c9060bb7f
2021-05-04 11:32:40 -07:00
Adeeb Shihadeh
532d19427c
bump cereal
...
old-commit-hash: 8a280fbb8eb433fbfe0fc43254c9cbdaceedbab6
2021-05-03 20:47:11 -07:00
Adeeb Shihadeh
e09f7360e0
clear controls ready flag on falling edge of ignition ( #20807 )
...
old-commit-hash: 6954eb62595474d6f1e974f1cdcad72e79d1fe5d
2021-05-03 19:09:42 -07:00
Adeeb Shihadeh
ec7913cbe5
delay controls start ( #20761 )
...
* delay controls start
* shouldn't need this stuff anymore
* only delay board
* bail after 2s
* fix loopback test
* fix process replay
* update refs
* bump cereal
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: f9a961f6fb69f36f8a113246920b2d71e6af8ae1
2021-04-30 13:55:17 -07:00
Dean Lee
d76b938a03
reserve space for vector of can_frame ( #20771 )
...
old-commit-hash: e151425c1c7f3e642b06504c165d7db8bab8a603
2021-04-28 13:50:21 -07:00
Willem Melching
1d79459667
Remove panda set power functions ( #20712 )
...
* remove panda set power functions
* removed
old-commit-hash: 34328ba3056557e2efc614ca35e8d04a480b6caa
2021-04-20 15:31:19 +02:00
Willem Melching
548722a954
pigeon init add max retry count
...
old-commit-hash: f7e276fcce39e5e27c10d0bfb003754ec463c788
2021-04-15 16:49:09 +02:00
Willem Melching
07f89b2838
Improve robustness of ublox init procedure ( #20685 )
...
* improve ublox init robustness
* cleanup
* only log if running at 1hz
* not needed
old-commit-hash: a163daf5e024867d7301f4e20bea20fba4bb59ae
2021-04-15 14:11:53 +02:00
Adeeb Shihadeh
f11dd415e8
update time from RTC on manager init ( #20678 )
...
* set time on manager init
* earlier
* handle exception
* logging
* add to release files
* run in launch script too
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 1adf34f033bc1efb592383ebb2dbaef909bac60b
2021-04-14 12:04:02 -07:00
Adeeb Shihadeh
31d818b39a
tici: offline big cluster while offroad ( #20668 )
...
* tici: offline big cluster while offroad
* shuffling
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 9edda6fbc1e4030e2e86ec7041d81c39cd27c8a0
2021-04-12 23:06:24 -07:00
Willem Melching
2d6d92402a
Ubloxd cleanup ( #20637 )
...
* clean out locationd/test
* get rid of ubloxd_main
* remove ubloxd_test.cc
* less includes
old-commit-hash: 4dd4b1214061ebade872e7de73fce1800a9b74ca
2021-04-09 18:01:24 +02:00
Willem Melching
811746959e
tici: move real-time processes to high-performance cores ( #20634 )
...
old-commit-hash: 8ede1b30aab2a4bfb628aef6a24714865388f1fa
2021-04-09 13:41:43 +02:00
Comma Device
854273a57e
boardd: log slow hwmon reading
...
old-commit-hash: 28a5db2e6a4de8e5bc55bf98e3e91de3827eb632
2021-04-09 00:13:01 -07:00
Adeeb Shihadeh
c899df8ece
script to set time from panda RTC ( #20532 )
...
* read time
* set time
* comment
* only adjust time when sys time is invalid
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: ed0b831736c409ae5fb176025689cd0639071947
2021-04-02 21:30:37 -07:00
Willem Melching
f77889a0d5
cloudlog on RTC read/write ( #20536 )
...
* cloudlog on RTC read/write
* log with correct offsets
* log old rtc time when updating
* compute dt
* fixes
* utc
* if more than 1
old-commit-hash: 301b75517913a75a1455d9bf0c8c6753aced351a
2021-03-30 11:29:58 -07:00
Dean Lee
405df8b165
Params: python-like interface ( #20506 )
...
* rebase master
* delete outdated test_params.c
* putBool & more robust getBool
* putBool(SshEnabled)
old-commit-hash: 98e55996f67aaaf715c941d417ae4d3b0187f388
2021-03-30 12:54:59 +02:00
Willem Melching
c64d818341
use class AlignedBuffer ( #20388 )
...
* use class AlignedBuffer from cereal (#20343 )
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
* use AlignedBuffer
Co-authored-by: Dean Lee <deanlee3@gmail.com >
old-commit-hash: 0a88304e8d51ef8dac881ac9bb16d5de11f184a3
2021-03-17 14:43:23 +01:00
Willem Melching
e3d92dc714
verify safetyParam read back from PandaState ( #20384 )
...
* verify safetyParam read back from PandaState
* update ref
* bump panda
old-commit-hash: 3c23226edc2d328c489cc01a0950e6e4748d26a1
2021-03-17 14:20:05 +01:00
Willem Melching
d61654abc3
Revert "use class AlignedBuffer from cereal ( #20343 )"
...
This reverts commit df9e836779af0c145efc933b88bbc94f59f2b378.
old-commit-hash: e3ad952902ed38530b56b10f39dc67d7232fd28c
2021-03-16 20:21:03 +01:00
Dean Lee
4c02da3f0a
use class AlignedBuffer from cereal ( #20343 )
...
* AlignedBuffer
* move AlignedBuffer to cereal/messaging.hpp
* rename function aligned to get
* use overloaded function AlignedBuffer:: get(Message *)
old-commit-hash: 7aa379e123aba70a4c36f95e69786a558892dc2d
2021-03-16 11:13:15 +01:00
Willem Melching
34d83b2ba1
ublox logs level logging.debug -> logging.info
...
old-commit-hash: 8573bdbf2fd3e761bd50a3a8fab051b21e586a0a
2021-03-15 12:53:54 +01:00
Willem Melching
297cc474b5
boardd.cc: lower log level of ublox timing issues
...
old-commit-hash: aaf9ceac4bd67a72edb2c532f17d2cc8e003436c
2021-03-15 12:14:30 +01:00
Willem Melching
651ea8f981
boardd: stricter ublox logging
...
old-commit-hash: 70d683261cf0db59edd663018544d15de411fe26
2021-03-10 14:50:26 +01:00
Adeeb Shihadeh
865974a40b
turn pigeon off when going offroad ( #20296 )
...
* cleanup
* power off pigeon
* comment
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: dd74f09eab0a488a122fec8ca4e5c883bf2f7494
2021-03-09 22:48:27 -08:00
Willem Melching
1e55a9b924
boardd: 0.9s timeout, only log no reset
...
old-commit-hash: d66661fa67783eda78fa51f529c91e61a4c21bbd
2021-03-09 17:54:40 +01:00
Willem Melching
4197ead742
boardd: increase CLASS_RXM timeout
...
old-commit-hash: 6884d7c9bd36aabb57c9f8d3a34d407031867b05
2021-03-09 17:28:19 +01:00
Willem Melching
0f4ba88dd2
boardd: remove check on CLASS_MON
...
old-commit-hash: fbdeee5738a5dee9dbbbcb3cdad4dee89646b519
2021-03-09 15:45:22 +01:00
Willem Melching
5de49edc10
board: respect 10 second ublox init time
...
old-commit-hash: fff5cde352dff35958c5209525d1dcc02b57d610
2021-03-09 12:05:16 +01:00
Willem Melching
ee090e1981
Boardd: Track ublox message frequency and re-init ( #20278 )
...
* track message frequency
* also keep old reset trigger
* cleanup
* improve comments
* Add 10 seconds
* these are now signed
* also check ignition last
* cleanup
* correct include
* lower threshold
* dont clear map
old-commit-hash: 4fc81c2a08515b0eb3cd1afada05265724193de0
2021-03-09 11:49:58 +01:00
Dean Lee
2654277bc3
use cached buffer for FlatArrayMessageReader ( #20233 )
...
old-commit-hash: 12928cdae2e21f59211b19cfe40e432506576212
2021-03-08 11:02:21 +01:00
robbederks
b13f6b4288
also shutdown on tici ( #20130 )
...
old-commit-hash: 35b43d2084e78724a4faff60ad91e84a361e630c
2021-02-22 15:46:22 +01:00
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65ebd01abfa8493ae12c9e6b14f7ada976.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46b8153314a8420611b6479dd6f70dfc
2021-02-16 21:39:32 -08:00
Adeeb Shihadeh
829ab2dff3
fanSpeedRpmDesired -> fanSpeedPercentDesired
...
old-commit-hash: 4ace476f14bb73c354234c6bbedbc4ea0bf2d402
2021-02-11 17:00:26 -08:00
Dean Lee
31a811ca45
boardd: check do_exit in usb_retry_connect ( #20007 )
...
old-commit-hash: 2a935a2010a2ffb2ef3a35b1e49fdab8ef1dc10a
2021-02-08 12:01:12 +01:00
Adeeb Shihadeh
966945880b
Cereal cleanup ( #20003 )
...
* start cleanup
* fan speed
* cleanup dm
* fix cereal
* hwType -> pandaType
* update refs
* update refs
* bump cereal
* freeSpacePercent
* cereal master
old-commit-hash: 000bd226aa9902da01e6010bf26762fca2c20df0
2021-02-03 19:57:30 -08:00
robbederks
8156542312
implement ublox MON_HW2 message ( #19962 )
...
* implement MON_HW2 message
* didn't mean to remove this
old-commit-hash: 99d58193e497385b925a215f42b8bc470e328da4
2021-02-03 13:09:44 +01:00
Dean Lee
0346652a66
move global connected_once into function static ( #19999 )
...
old-commit-hash: 13ea8b5fc9e7742eea4b1b2e0e036b12e0cdce6a
2021-02-02 14:39:19 +01:00
Dean Lee
04adbaf8e1
Don't call function in assert ( #19997 )
...
old-commit-hash: 91504176e403ca1bb6bd9491ce9e2075b7f4bae0
2021-02-02 13:18:11 +01:00
Dean Lee
6a04e4c06a
Pigeon::receive: reserve 4kb+64b for std::string ( #19951 )
...
* receive: reserve 4kb+64b for std::string
* fix bug
old-commit-hash: b06da518924b5b44becbe681ca86ed6c01e802b2
2021-02-01 16:22:16 +01:00
Robbe Derks
5b221a0a32
Add back replay_many script for unlogging over jungles
...
old-commit-hash: 935b9ceb05418e5c6e78b7c556a0d6469d3b5f3c
2021-02-01 15:54:19 +01:00
Dean Lee
11defbb77f
pigeon_thread: ensure the pigeon->init() will not be called twice ( #19963 )
...
* ensure init is not called twice
* add space
old-commit-hash: 3fde3a5f7d924062d47ebe934af1865e43a08dc9
2021-01-31 12:55:11 -08:00
Dean Lee
2162aae01b
pigeon_publish_raw: use capnp::Data::Reader instead of Builder ( #19952 )
...
old-commit-hash: b0c8ce486394f010bd031b9f22f6e0679aeed5a4
2021-01-30 19:16:21 -08:00
Dean Lee
6bd51543e5
boardd: remove global variables spoofing_started&fake_send ( #19966 )
...
old-commit-hash: 4d6584a315f172b62463ad64393624f81d61066a
2021-01-31 00:02:03 +01:00
Dean Lee
35fe949cd8
fix panda: remove uninitialized err and check after ( #19974 )
...
old-commit-hash: edc2b3f67c561f1a44195a7a07e631a30e4d7747
2021-01-30 23:59:49 +01:00
Dean Lee
760b707597
boardd: refactor usb_connect, delete panda on failure ( #19956 )
...
old-commit-hash: dd3a2606765e51631034677df81b1513a74d503a
2021-01-29 13:10:56 +01:00
Dean Lee
53957eec3f
Panda: add check for connected in usb_read ( #19957 )
...
old-commit-hash: c723bbd6be642ab939fa183fb065fc4928069b3c
2021-01-29 13:00:49 +01:00
Dean Lee
41368ada11
Panda: use 'std::atomic<bool> connected' to ensure thread-safety ( #19954 )
...
old-commit-hash: 0b75a85adc951f9d0e0e42fbece54d83e078395e
2021-01-28 11:35:13 -08:00
Dean Lee
24ffdd6183
Panda: refactor get_firmware_version, return std::optional<std::vector> ( #19896 )
...
Co-authored-by: Willem Melching <willem.melching@gmail.com >
old-commit-hash: c4215d8476219cca33f85adc5ce0a425891c62c5
2021-01-28 16:25:05 +01:00
Dean Lee
7194e5926e
panda: refactor get_serial, return std::optional<std::string> ( #19895 )
...
old-commit-hash: 96cc633d915caf5fd5a8eeee196db55ca8277c91
2021-01-28 16:21:18 +01:00
Adeeb Shihadeh
f2ad4e28a6
remove legacy reset line support ( #19770 )
...
old-commit-hash: 8c31ab3cee7c2f3a4b91c223aa5c0eedae533fe6
2021-01-27 14:19:49 +01:00