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
Kacper Rączy
457753aa6a
tests: fix recv_one_or_none test ( #447 )
...
* Fixed recv_one_or_none test
* Remove sleep
* Add skipIf to test_recv_one_or_none on ZMQ
* Add zmq_expected_failure decorator
2023-07-05 11:38:43 -07:00
Adeeb Shihadeh
089f96117a
bump to python 3.11.4 ( #484 )
...
* bump to python 3.11.4
* unpin
* use context
* pycapnp 1.1.0
* cmake
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-06-30 17:36:28 -07:00
Adeeb Shihadeh
1b0f22f30b
visionipc: fix getAvailableStreams for server with no streams ( #492 )
...
* visionipc: fix getAvailableStreams for server with no streams
* still check that
* cleanup
2023-06-29 17:32:46 -07:00
Adeeb Shihadeh
e557427630
pre-commit: autoupdate hooks ( #490 )
...
Update pre-commit hook versions
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-06-29 11:10:51 -07:00
Igor Biletskyy
f86de2b1a3
can_health_pkt v5 : add interrupts call counter ( #466 )
...
* health_v5
* camelCase
* rename
* rename
* add can core reset count
2023-06-28 14:41:33 -07:00
Bruce Wayne
99dd602fee
QCOM poly: timestamp correctly
2023-06-28 14:17:54 -07:00
Harald Schäfer
31edcc19d0
Add time to ephemeris logs ( #491 )
...
* Add time to ephemeris logs
* rm whitespace
2023-06-27 15:52:03 -07:00
Adeeb Shihadeh
f1463a08ee
deprecate frameData.frameLength
2023-06-25 12:48:47 -07:00
Shane Smiskol
ff5787e0b8
CarParams.Ecu: add body ( #489 )
...
* add body ecu/bcm
* cmt
2023-06-24 03:32:57 -07:00
ZwX1616
3e93013b70
ModelV2.ConfidenceClass ( #488 )
...
* confidence enum
* +1
2023-06-23 15:03:33 -07:00
Adeeb Shihadeh
11d560b9b9
sm: fix avg freq check
2023-06-22 23:29:20 -07:00
Adeeb Shihadeh
1f9d582a8d
SubMaster: fix recv_dts initial state ( #487 )
...
* SubMaster: fix recv_dts initial state
* any len
2023-06-22 22:45:05 -07:00
Kacper Rączy
0a1d3c4c9a
liveParameters: filterState debug field ( #483 )
...
Add filter state measurement to liveParameters
2023-06-22 19:56:37 -07:00
Mitchell Goff
cacfda17fd
Added navEnabled field to ModelDataV2 ( #486 )
2023-06-22 19:01:05 -07:00
Shane Smiskol
1de4176d3e
CarParams.Ecu: rename hcp to hybrid ( #485 )
...
* hcu can be generic
* hybrid is better. hcu can also be hydraulic control unit
* hybrid is better. hcu can also be hydraulic control unit
* alphabetical
* commacomma,,
2023-06-22 01:23:11 -07:00
Mitchell Goff
67af14c30d
Remove memcpy in cython VisionIpcClient.recv ( #470 )
2023-06-21 13:05:50 -07:00
Mitchell Goff
a1f562bccb
Refactor buffer properties in python VisionIpcClient ( #480 )
...
* Refactor buffer properties in python VisionIpcClient
* mapsd -> navd
2023-06-21 12:44:21 -07:00
Shane Smiskol
b06b8e3f66
Ecu: add telematics ( #482 )
...
add telematics
2023-06-21 00:00:40 -07:00
Shane Smiskol
0c34b6b3c8
Ecu: add electronic parking brake ( #481 )
...
add epb
2023-06-20 23:43:26 -07:00
mitchellgoffpc
1a56b09a0d
Create both client and server in TestVisionIpc setup
2023-06-20 17:04:17 -07:00
Mitchell Goff
96626cae1f
Added VisionIpcBufExtra properties to python VisionIpcClient ( #479 )
...
* Added VisionIpcBufExtra properties to python VisionIpcClient
* Check frame_id in test_send_single_buffer
2023-06-20 16:55:51 -07:00
Mitchell Goff
662206899d
Added minimal set of tests for python VisionIpc ( #478 )
...
* Started work on tests for python visionipc
* Added a bunch more tests
* Added conflate/no_conflate tests
* Added basic python visionipc tests
* Added create_vipc_server helper function
* Added create_vipc_server as a method
* Added teardown
* Add zmq_sleep
* Try removing teardown
2023-06-20 16:31:28 -07:00
Adeeb Shihadeh
1ea038f5de
pre-commit: autoupdate hooks ( #477 )
...
Update pre-commit hook versions
Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
2023-06-20 16:29:51 -07:00
Kacper Rączy
f495c6bb90
macOS: stub implementation of event API ( #476 )
...
* Add runtime checks for event API on macOS
* Fix stub ppoll impl
* Fix lint issues
* Remove assert from event_state_shm_mmap
* Add variable args in ppoll macro
* Skip fake socket tests on macOS
* Add missing newline
* PPOLL and ppoll_impl definitions
* Update macro signature
* Fix issues on linux
* Stub empty implementation of event for macos
* Go back to shorter fds/timeout initialization
* Complete stub implementation of event api
* Fix unused variable warning
* Remove extra space
2023-06-19 17:09:29 -07:00