Commit Graph

60 Commits

Author SHA1 Message Date
Cameron Clough
eb1b2ce255 services: add missing import (#521) 2023-08-24 12:29:59 +01:00
Adeeb Shihadeh
fa580de1b4 make services a map (#520) 2023-08-23 13:26:00 -07:00
Adeeb Shihadeh
736a4cce2c add second temperatureSensor and reduce freq (#519)
Co-authored-by: Comma Device <device@comma.ai>
2023-08-23 11:23:54 -07:00
Vivek Aithal
6a41bf6ab5 magnetometer: Change frequency from 100Hz to 25Hz (#515)
* change magnetometer freq

* change magnetometer to 25Hz
2023-08-21 21:15:22 -07:00
Harald Schäfer
f319a83ab7 Allow for livestreaming video (#468)
* Add additinal encode stream

* Add livestream encoding streams

* duplicate

* rm whitespace

* Guess that's still referenced

* typo
2023-06-12 18:49:40 -07:00
Adeeb Shihadeh
44c93ef17c add procLog to qlogs (#465)
* add procLog to qlogs

* Update services.py
2023-06-09 14:42:22 -07:00
Harald Schäfer
b88523f05a Uiplan (#413)
* ui plan

* uiplan

* keep backwards compatibility

* more decimation

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-02-17 19:35:13 -08:00
Adeeb Shihadeh
c0d9abf6f7 add a few can msgs in qlog (#403) 2023-01-11 15:01:37 -08:00
Adeeb Shihadeh
8825337204 decimate navModel to 0.5Hz 2022-12-08 20:37:39 -08:00
Adeeb Shihadeh
fd1ca09427 add mapRenderState (#393)
* add mapRenderState

* better name
2022-12-08 20:33:42 -08:00
Adeeb Shihadeh
22e7261c34 Nav model (#380)
* Added navModel field

* Add navModel to services.py

* Added position/desire fields

* Bump navModel field index

Co-authored-by: mitchellgoffpc <mitchellgoffpc@gmail.com>
2022-12-01 16:29:11 -08:00
Cameron Clough
2b54c11052 add microphone (#382)
* add microphone socket

* increase freq

* add raw noise level

* rename to ambient

* switch
2022-11-28 12:51:57 -08:00
Adeeb Shihadeh
107048c83e ui debug message (#376)
* ui debug message

* put in the qlogs
2022-10-17 15:53:57 -07:00
Kurt Nistelberger
d4cf8728e2 mark sensorEvents deprecated (#367)
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-29 11:04:55 -07:00
Kurt Nistelberger
e310f4860d Sensor events splitup (#357)
* change from sensorEvents to separated events

* fix numbering

* remove sensorEvent

* update after rebase

* .

* move bmx gyro and accel to its own channels

* address PR comments

* .

* inc frequency in tests

* .

* rename sensorEventsDEPRECATED sensorEvents

* readd sensorEvents in services.py

* .

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-09-27 15:28:22 -07:00
Adeeb Shihadeh
e4130c9055 Live torque params (#354)
* add live torque messages

* add to services

* add decay to msg

* store debug points

* bump livetorqueparams ordinal in log capnp, after rebasing

* rename slope and offset

* store reset count instead of bool

* renaming in tuning params

* add tag to livetorqueparams struct

* make this an int

* add useParams to roll out per fingerprint

Co-authored-by: nuwandavek <vivekaithal44@gmail.com>
2022-09-15 17:03:38 -07:00
Cameron Clough
589ef049a7 create UserFlag event (#346) 2022-08-22 17:40:58 -07:00
HaraldSchafer
5fce93da72 gather qcom (#337)
* gather qcom

* Just use old one
2022-07-27 16:12:23 -07:00
Willem Melching
df08568318 add gnssMeasurements to qlogs 2022-06-29 11:35:47 +02:00
ZwX1616
c6acc0698a driverStateV2 (#317)
Revert "Revert driverStateV2 (#316)"

This reverts commit ff49c8e126.
2022-06-20 16:24:43 -07:00
Willem Melching
f445245a8f services.py: set navInstruction freq to 1 Hz 2022-06-20 12:11:47 +02: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
6ad4ba689c dcam is always 20Hz (#309)
* less tici

* no constant
2022-06-02 15:20:23 +02:00
Gijs Koning
122dbf70d0 Change gnssmeasurements frequency to 10 (#297) 2022-05-06 05:46:20 -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
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
George Hotz
3d70d85580 cereal updates for encoderd 2022-04-16 09:10:58 -07:00
George Hotz
a3e2a15217 log testJoystick 2022-04-13 14:39:15 -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
ad317f1f49 the EncodeIdx packets should_log isn't relevant 2022-04-09 13:25:56 -07:00
Vivek Aithal
e4939daf2a add navRoute and navInstructions to qlog (#265)
* add navRoute and navInstructions to qlog

* remove navRoute from qlog and decrease freq of navInstructions
2022-03-26 09:17:05 -07:00
Comma Device
26776acd62 bring qcomgnss back from deprecation 2022-03-23 15:50:02 -07:00
Willem Melching
b8ca92c1cd more qlog decimation on liveParameters, gpsLocationExternal, liveLocationKalman 2022-01-13 12:04:17 +01: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
Willem Melching
9b245b6023 add navThumbnail (#224) 2021-11-26 14:17:21 +01:00
Willem Melching
4d6e673556 Move navigation into separate daemon (#215)
* Add basic NavInstruction

* lane info

* add route message
2021-11-02 14:40:21 +01:00
Adeeb Shihadeh
e5f5656f51 add sendcan to qlogs 2021-10-21 13:51:04 -07:00
Robbe Derks
5168470661 Convert pandaState and safetyParam to lists (#206)
* list of pandaStates

* fix last commit

* safetyParams is now also a list

* move to list(SafetyMode)

* safetyMode to safetyConfig
2021-10-08 17:52:41 +02:00
Willem Melching
2881d47cea split pandaState into pandaState and peripheralState (#196)
* peripheralState

* move usbPowerMode

* move enum

* move powersave back into pandastate

* add pandaType

* bottom
2021-10-04 11:26:57 +02:00
Adeeb Shihadeh
ce5ef7a1e5 remove androidLog from qlogs (#202) 2021-09-30 21:09:32 -07:00
Adeeb Shihadeh
9327e4fbec add testJoystick to services 2021-08-20 16:22:46 -07:00
Adeeb Shihadeh
17a980aecd androidLog for all 2021-07-15 11:40:04 -07:00
Willem Melching
1d25108596 controlsState at 10Hz in qlog 2021-07-15 12:37:13 +02:00
Adeeb Shihadeh
b87d81bfaa add uploaderState (#179)
* add uploaderState

* add time

* float
2021-07-13 17:07:16 -07:00
Adeeb Shihadeh
95d7c94852 add androidLog back to qlogs on tici 2021-07-12 14:39:02 -07:00
Adeeb Shihadeh
5383d9edda make qlogs small again (#178)
* make qlogs small again

* long plan

* long plan
2021-07-08 14:06:31 -07:00
Adeeb Shihadeh
fc47d1c428 fix dm freqs on pc 2021-06-07 01:55:36 -07:00
ShaneSmiskol
f65513f3b3 Use C89-style struct syntax for services header (#153) 2021-05-19 20:41:16 -07:00
Shane Smiskol
c92be0564c Automatically generate service ports (#136)
* make sure specified port isn't reserved

* only sshd

* Add check to tests as well and test

* commonly define these safety check numbers in services and check in both places

* add function to generate new ports that aren't reserved

* port is guaranteed to not be a reserved port and above 8000 now

asserting the rate on runtime isn't necessary, just for testing

* create service_list dynamically

* redundant

* just add an offset equal to length of services dict

* fix test?

* only one reserved

* ignore the argument type error

* rm line

* Add back tests

* starts at 8001
2021-04-20 17:57:54 +02:00