251 Commits

Author SHA1 Message Date
ZwX1616
3542c49066 Merge branch 'master' into dmtest 2022-06-28 13:42:39 -07:00
Robbe Derks
3fef4f7861 Log SOM power draw (#327)
log SOM power draw

Co-authored-by: Comma Device <device@comma.ai>
2022-06-27 15:18:35 +02:00
ZwX1616
c6acc0698a driverStateV2 (#317)
Revert "Revert driverStateV2 (#316)"

This reverts commit ff49c8e126.
2022-06-20 16:24:43 -07:00
ZwX1616
37ec24c6f5 Merge branch 'master' into dmtest 2022-06-16 20:24:53 -07:00
ZwX1616
154727327a mod 2022-06-16 14:09:21 -07:00
Gijs Koning
6faf34064b Update Gnssmeasurements (#326)
* Update

* Comment
2022-06-16 17:43:42 +02:00
Gijs Koning
3166178611 GnssMeasurements: Add more logging (#324)
* Add more logging

* update gnssmeasurements
2022-06-16 05:34:10 -07:00
Gijs Koning
4b4d9aab03 Remove bearingDeg from Gnssmeasurements (#323)
* Sent orientation instead of bearingdeg

* Remove getbearingdeg
2022-06-15 04:20:09 -07:00
ZwX1616
5e0e5c2286 Revert "Revert driverStateV2 (#316)"
This reverts commit ff49c8e126.
2022-06-10 16:39:25 -07:00
ZwX1616
ff49c8e126 Revert driverStateV2 (#316)
Revert "driverStateV2 (#315)"

This reverts commit 96cbed052a.
2022-06-10 16:16:38 -07:00
Adeeb Shihadeh
96cbed052a driverStateV2 (#315)
* add rh

* use sub strut

* use isrhd again

* abandon old

* Update log.capnp

* prob

* left/right

* driverStateV2

* services.py

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
2022-06-08 20:12:27 -07:00
Willem Melching
a36a91ed09 navInstruction: add speedLimitSign 2022-06-03 14:32:08 +02:00
Gijs Koning
a7eddf5488 Use LiveLocationKalman in gnssmeasurement (#311)
* Change measurement struct gnss measurement

* fix
2022-06-03 00:45:57 -07:00
Mayfield
93a2560618 Navigation speed limit (#230)
add NavInstruction speedLimit
2022-05-30 15:20:44 +02:00
Gijs Koning
b43ac3de52 Use Measurement struct in gnssMeasurements (#306) 2022-05-19 12:11:32 -07:00
George Hotz
e5d0a4ff42 unixTimestampNanos in EncodeData (#305)
Co-authored-by: Comma Device <device@comma.ai>
2022-05-18 11:44:38 -07:00
Gijs Koning
3d628c665b Add bearing degree to GnssMeasurements struct (#304) 2022-05-18 07:48:33 -07:00
Jason Shuler
e4df83ea32 Add desired curvatures to controlsState (#301)
* Add actual used curvatures to controlsState

* Consolidate curvatures in one place

* Reduce verbosity of comments

Co-authored-by: Shane Smiskol <shane@smiskol.com>

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-05-12 14:00:12 -07:00
Gijs Koning
5d63069c59 Add velocity to gnssmeasurement message (#300) 2022-05-11 11:46:50 +02:00
ntegan1
5935572cee add desired/actual lateral accel to torquestate (#296) 2022-05-03 13:45:28 -07:00
Gijs Koning
0c789dc2d1 Change gnssid to constellationid (#294)
* Change gnssid to constellationid and add other constellations

* Update comment
2022-05-03 08:55:51 +02:00
Shane Smiskol
c9cdd7e398 Deprecate uint32 safetyParam (#289) 2022-05-02 12:50:58 -07:00
Gijs Koning
7b187f66ac Add GnssMeasurements (#287)
* Add laikad that receives ublox messages and publishes corrected measurements and position fix

* Add GnssMeasurements to log.capnp

* laikad version 1 with uncorrected measurements

* update

* Update index
2022-05-02 02:13:50 -07:00
Willem Melching
3b5860e0cd add temperatures and frameIdSensor to FrameData (#293) 2022-05-02 10:24:05 +02:00
George Hotz
a1f97eaca2 Encoderd (#288)
* changes for encoderd

* touchups

* metadata

* uint32 typo

* first add then remove

* remove encodedata, add qcamera

* h264

* comments

* simpler

* EncodeDatas are not logged

Co-authored-by: Comma Device <device@comma.ai>
2022-04-30 09:23:20 -07:00
Shane Smiskol
29f4fe89ef Make safetyParam unsigned (#276)
* make safety param unsigned

new ordinal

safety config as well

* fix dup ordinal
2022-04-20 23:25:41 -07:00
George Hotz
a91dfedc0d EncodeData: add flags 2022-04-16 15:49:07 -07:00
George Hotz
3d70d85580 cereal updates for encoderd 2022-04-16 09:10:58 -07:00
George Hotz
ae347dc81f loggerd: broadcast encoder data (#278)
* encode data

* timestamp

* add idx

* remove todo

* order

Co-authored-by: Comma Device <device@comma.ai>
2022-04-11 13:46:58 -07:00
Comma Device
6c5d7784db add panda interrupt load 2022-04-11 12:06:57 +02:00
HaraldSchafer
947166f04c Torque control (#272)
* Add new controller

* Craycray now torque

* Add proper logging

* Fix and add rate

* No kd needed
2022-04-05 16:22:05 -07:00
Lukas Petersson
c609a29345 add lateralPlan.modelMonoTime (#267)
* frameId in long/lat planner

* controls frame id

* controls frame id fix

* remove frameid from controlsState

* remove frameid in planner
2022-04-01 18:54:11 -07:00
Shane Smiskol
1a1e03e451 controlsState: add overriding state (#268)
* add gasPressedPreEnable and override AlertStatus

* add state machine fields

* just rename for now

* add gasPressedOverride

* pedalPressedPreEnable includes brake in the future
2022-04-01 18:43:28 -07:00
George Hotz
ae9455ee9a qcomGnss: we see 6 in the MeasurementSource 2022-03-29 16:26:27 -07:00
Shane Smiskol
e94649e0ed rename unsafeMode to alternativeExperience (#260)
* update unsafeMode name

* Update car.capnp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-24 13:55:49 -07:00
Comma Device
9eaed73710 oops, can't call it qcom 2022-03-23 17:22:45 -07:00
Comma Device
8cbf696fa3 add qcom as sensor source for gpsLocationExternal 2022-03-23 16:16:31 -07:00
Comma Device
26776acd62 bring qcomgnss back from deprecation 2022-03-23 15:50:02 -07:00
ZwX1616
64b6014193 add e2e DM bits (#257)
* names tbd

* log distraction type
2022-03-15 19:08:24 -07:00
Vivek Aithal
e20113a555 Revert "deprecate inputsok in liveLocationKalman (#246)" (#254)
This reverts commit f16d2a211b.
2022-03-15 13:29:34 -07:00
Willem Melching
7e9837f768 add DeviceState.networkMetered (#244) 2022-03-09 11:23:40 +01:00
Willem Melching
51132a6701 add ModelDataV2.frameIdExtra (#251) 2022-03-07 11:05:45 +01:00
Igor Biletskyy
9cd77a360a Panda deep sleep mode: add new interrupt fault (#253) 2022-03-05 17:20:01 -08:00
Willem Melching
80a5b91e34 add FrameData.processingTime (#250) 2022-03-02 13:55:23 +01:00
Vivek Aithal
f16d2a211b deprecate inputsok in liveLocationKalman (#246) 2022-03-01 23:32:39 -08:00
Adeeb Shihadeh
03860ae0b2 add blocked msg cnt to pandaState 2022-01-27 16:51:15 -08:00
Shane Smiskol
5c64eaab78 Add unsafeMode to carParams (#242)
doesn't vary by panda

add to pandaState for health packet as well
2022-01-25 11:20:26 +01:00
Willem Melching
de1982c02d add mpc solverExecutionTime 2022-01-18 14:10:48 +01:00
Adeeb Shihadeh
4c2cd64c27 deprecate initData.gctx 2022-01-12 17:44:34 -08:00
Adeeb Shihadeh
42542ee96c add errorLogMessage socket for qlogs (#239)
* add errorLogMessage socket

* add own event to filter duplicates

Co-authored-by: Willem Melching <willem.melching@gmail.com>
2022-01-06 15:21:26 -08:00