Commit Graph

902 Commits

Author SHA1 Message Date
Shane Smiskol
4a709d73cb new cereal fields 2023-10-03 14:42:46 -07:00
Shane Smiskol
10d1f76d02 Merge remote-tracking branch 'upstream/master' into issue_29131 2023-10-03 14:35:24 -07:00
Adeeb Shihadeh
4a07275487 pre-commit: autoupdate hooks (#541)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-10-03 11:34:38 -07:00
Kacper Rączy
acb24ff8c2 zmq: assert the same PID (#540)
Enforce the same PID in ZMQ pub sockets
2023-10-02 15:03:39 -07:00
Mitchell Goff
b1a1afebb8 Added reserved fields for body controls (#537)
* Added bodyReserved0-2 text fields

* Added bodyReserved0 to services list

* add more bodyReserved to servcies py

* bodyReserved -> customReservedText

* :Text -> :Data

---------

Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
2023-09-27 16:38:06 -07:00
Adeeb Shihadeh
457255840c pre-commit: autoupdate hooks (#538)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-09-26 14:10:03 -07:00
Shane Smiskol
6bd65e7c7f Bump pandaStates to 10hz (#536)
* 10 Hz

* constant

* fix

* revert

* fix peripheralState freq

* revert peripheral
2023-09-21 18:27:48 -07:00
Shane Smiskol
aed84aeedf services: capitalize constant service list (#534)
* rename services

* keep more unique name

* type this
2023-09-21 18:01:44 -07:00
Adeeb Shihadeh
25cfa642e6 pre-commit: autoupdate hooks (#535)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-09-19 16:16:39 -07:00
Shane Smiskol
411a7f217c add some fields for panda branch 2023-09-15 18:56:59 -07:00
JJ
ff3dbaacb2 Update README.md (#533) 2023-09-15 10:44:30 -07:00
Adeeb Shihadeh
e342bc4888 pre-commit: autoupdate hooks (#532)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-09-12 16:30:48 +01:00
Vivek Aithal
4b334f6f10 Alerts: More understandable locationd, paramsd alerts (#531)
* add new alerts

* rename old alerts, add new alerts
2023-09-11 16:04:55 -07:00
Adeeb Shihadeh
7de568b659 deprecate INDI and LQR tuning 2023-09-10 16:14:14 -07:00
Justin Newberry
d469732b3b Precommit: ensure executable bit is set (#530)
precommit ensure executable
2023-09-05 15:35:01 -07:00
Justin Newberry
4291784b4d Messaging: DT Param on wait_for_readers_to_update (#529)
* dt param

* same as the others
2023-09-05 11:02:17 -07:00
Adeeb Shihadeh
a283061ab7 pre-commit: autoupdate hooks (#528)
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-09-05 17:51:52 +01:00
Adeeb Shihadeh
cdd76b2972 pre-commit: autoupdate hooks (#525)
* Update pre-commit hook versions

* Update test_visionipc.py

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-31 14:38:04 -07:00
Adeeb Shihadeh
82bca3a971 add --minimal build flag (#523)
* add --minimal build flag

* update that
2023-08-24 14:00:32 -07:00
Dean Lee
bf8db88407 cpplint: more filters (#522)
more filters
2023-08-24 11:31:53 -07:00
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
Dean Lee
e7c42fd11c Visionbuf: refactor ion_fd to struct IonFileHandle (#505) 2023-08-22 13:08:45 -07:00
Adeeb Shihadeh
ac0fb38e24 pre-commit: autoupdate hooks (#518)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-22 10:40:06 -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
Adeeb Shihadeh
3cac040c5b use time.monotonic() instead of importing from openpilot 2023-08-20 17:20:28 -07:00
Shane Smiskol
1ee48e0110 NavInstruction.Direction: add slight turns (#516)
add slight left and right
2023-08-17 20:19:33 -07:00
Shane Smiskol
8dd787e9a6 mypy: check untyped definitions (#517)
* add cereal mypy.ini

* mypy doesn't use unittest asserts yet

* Argument 1 to "len" has incompatible type "object"; expected "Sized"  [arg-type]

* type ports

* int|none

* final thing

* move to pyproject.toml

* clean p
2023-08-17 20:19:01 -07:00
Shane Smiskol
2077dd1a1b tireStiffnessFactor: float32 2023-08-15 12:31:12 -07:00
Adeeb Shihadeh
938eaaae81 pre-commit: autoupdate hooks (#514)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-15 10:29:44 -07:00
Justin Newberry
227c7ca55f Ruff: propogate config from OP (#513) 2023-08-14 12:53:17 -07:00
Jason Young
442963f872 add tire stiffness factor to CarParams (#450)
* add tire stiffness factor to CarParams

* hello darkness my old friend
2023-08-13 21:30:45 -07:00
Jason Young
5761b17b93 VW MQBevo: Add safety mode (#506) 2023-08-12 13:31:59 -07:00
Justin Newberry
f01d677e1d CI: pylint to ruff (#512)
* pylint to ruff

* fix ruff
2023-08-07 15:55:35 -07:00
Mitchell Goff
ba3238ef9c Added MessageBuilder methods to serialize to an existing buffer (#511) 2023-08-07 13:45:35 -07:00
Mitchell Goff
a5378db82d Add optional CLContext argument to VisionIpcClient (#510)
* Add optional CLContext argument to VisionIpcClient

* Remove CL_DEVICE_TYPE_DEFAULT
2023-08-03 14:37:35 -07:00
Kacper Rączy
774bf79f4d RadarState: radarTrackId field (#509)
Add radarTrackId
2023-08-01 19:23:36 -07:00
mitchellgoffpc
2689300b4a Add VisionBuf to cereal/visionipc namespace 2023-08-01 14:05:06 -07:00
Mitchell Goff
f149be34cf Added allManeuvers field to NavInstruction (#507) 2023-08-01 11:35:34 -07:00
Adeeb Shihadeh
48cc1c2fc6 pre-commit: autoupdate hooks (#508)
Update pre-commit hook versions

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-08-01 11:10:07 -07:00
Dean Lee
e508776e98 vipc_server: remove unused member variable idxs (#504) 2023-07-27 11:29:46 -07:00
Mitchell Goff
a9082c8268 Added python VisionBuf class (#502) 2023-07-24 23:59:08 -07:00
Mitchell Goff
fdb308086f Added buf_cl attribute to cython VisionBuf definition (#501) 2023-07-20 15:40:12 -07:00
Maxime Desroches
aed9fd278a Update pycapnp (#499)
* context

* cython

* -Wno-parentheses-equality

* -Wno-everything

* remove werror
2023-07-18 13:09:49 -07:00
Kacper Rączy
6f7102581f visionipc: support OPENPILOT_PREFIX (#497)
* OPENPILOT_PREFIX support in visionipc

* Use prefix as filename prefix

* Remove unnecessary import
2023-07-17 19:17:09 -07:00
Adeeb Shihadeh
cf9c5cbb91 PubMaster: add wait_for_readers_to_update helper 2023-07-17 09:49:39 -07:00
Adeeb Shihadeh
5a822f43ca visionipc: expose extra's valid field in cython 2023-07-16 14:58:51 -07:00
Kacper Rączy
a2f1f0cb8d SubMaster: replace SIMULATION constant with property (#495)
* Add simulation property to python submaster

* decode bstrings before formatting error messages
2023-07-11 19:30:00 -07:00
Mitchell Goff
c94c7c61cc Added LLK timestamp to navModel and modelV2 (#494) 2023-07-08 17:09:18 -07:00