Commit Graph

6958 Commits

Author SHA1 Message Date
Adeeb Shihadeh 98e1937b9d ui: new notcar battery design (#24412)
* ui: new notcar battery design

* if charging

* cleanup

* remove that

* slower

* real colors

* relative from left

* fix that
old-commit-hash: 043a309d67da9c4d4671303b370e04aa29cd115d
2022-05-03 16:51:44 -07:00
ntegan1 af82274bac LatControlTorque: log desired/actual lateral accel (#24406)
* log torque lateral accel

* bump cereal

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 9a44d4c4e0895f88dd5cd716ce3e2d6ebeab3457
2022-05-03 14:18:46 -07:00
Adeeb Shihadeh b9311fa3f4 body: log charging status (#24409)
* body: log charging status

* update refs
old-commit-hash: 986a991a09cc38375ded9f9809388a4384abf169
2022-05-03 13:27:19 -07:00
Shane Smiskol 3fd58709ca Chrysler: clean up CarController (#24337)
* clean up

* max range is 15

* use wheel buttons counter and clean up

* no

* try spamming 10 times with next counter value

* try 50 hz

* this is dead code

* revert behavior changes, just clean up

* revert more

* also that

* no multiline can creation

* sort imports
old-commit-hash: 3f0b06b16e638036adb7fe5110b6b5c38d30f1fe
2022-05-03 13:17:24 -07:00
Adeeb Shihadeh 09083a81da one day you'll be a submodule
old-commit-hash: c994dfdd8af6b9ed8df5a7ee93dde45e84a1d6e2
2022-05-03 13:00:01 -07:00
Joost Wooning d4579132d4 camerad: allow to log raw camera frames (#24393)
* camerad: log raw camera frames with env var

* dont qlog

* cleaner

* only road camera

* use vision buf len

* use static counter to handle frame skips

* we already have cnt

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 05f606c8121c89990225ff873c2779fcb3790ead
2022-05-03 17:30:22 +02:00
Willem Melching be08693d5c delay bz2 compression from logging to uploading (#24392)
* remove log_name

* log without compression

* fix tests

* remove extension for bootlog

* another test fix

* uploader compresses

* also compress in athena

* only compress qlog

* more generic check in do_upload

* fix bootlog compression

* lower loggerd cpu usage

* dont link against bz2

* set core affinity to little cluster

* handle old files
old-commit-hash: 77a6f3d034a7b17d70b750b9ea454310f4b8edf1
2022-05-03 14:09:17 +02:00
Adeeb Shihadeh b35ac8b532 UI: add battery percent to body (#24401)
* UI: add battery percent to body

* little smaller

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 061b18805e131aeff6582730d1b6d2994ce7f985
2022-05-02 21:34:06 -07:00
Adeeb Shihadeh 754512ce13 UI: better double click on touch screens (#24400)
* UI: better double click on touch screens

* lower

* just right

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: d7c6121ba826a0646db8fadf9bd0b89f153c5576
2022-05-02 19:18:50 -07:00
Shane Smiskol e63294da62 Add ACC faulted status to carState (#24399)
* add accFaulted bool to carState

* same for VW

* remove import

* bump

* move to common

* bump cereal to master
old-commit-hash: 5b105facaee86fcd1eb58bccfa1d7d7d9f02a6df
2022-05-02 18:05:00 -07:00
Dylan Herman 11b9cb9fb5 enable numpy mypy typing (#24387)
* enable numpy mypy typing

* remove --warn-return-any

* merge conflict and syntax

* merge conflict

* merge conflict

* add type to img var
old-commit-hash: 603942ffe0f5f0dba9f14f1293306bc0482e0032
2022-05-02 16:48:04 -07:00
HaraldSchafer a5ed9358a5 Latcontrol torque: update tuning (#24357)
* Little more chill

* Update ref

* Update refs
old-commit-hash: 8cdeaf9aee158bf11869132f82863bec4489e4f9
2022-05-02 14:42:18 -07:00
Shane Smiskol 3f784d2612 bump panda
old-commit-hash: 055f5b2a09d70f9992a1f1fb3e6735da9497e29a
2022-05-02 13:37:04 -07:00
Shane Smiskol 121b708ba1 Change safetyParam to uint16_t (#24376)
* bump panda & cereal

* bump panda

* rest of references

* regen TOYOTA with safety param 578, TOYOTA2 with 329

* regen rest of routes

* update ref

* bump cereal
old-commit-hash: 4190d2608a536e1b28fb999a72bbf5b80810743d
2022-05-02 13:34:31 -07:00
Willem Melching 4f495c36b5 camerad: cleanup DM exposure and move into camera_qcom2.cc (#24391)
* camerad: cleanup DM exposure and move into camera_qcom2.cc

* remove include
old-commit-hash: 6e0c25d654771ad13cd276481fc652989f681c2c
2022-05-02 12:04:23 +02:00
Willem Melching 02c6540945 bump cereal
old-commit-hash: b361632cc23d059023614d665376a4706986299b
2022-05-02 10:24:33 +02:00
Joost Wooning 3783eb811f UI: remove unused lock and fence (#24355)
old-commit-hash: 7ac92938d246030095c2928d24d55d74b57565db
2022-05-01 18:57:39 -07:00
Adeeb Shihadeh badb143cc7 lines for mypy report
old-commit-hash: 39cf8624355ae30c3b90b4c8d56ba44b665dda10
2022-05-01 18:52:32 -07:00
Keyvan Fatehi 3faf33147e body: add fuelGauge to body carState (#24386)
old-commit-hash: 0bbfc63c9c11bab25767ef10cea5b70b520cba7f
2022-05-01 18:41:50 -07:00
Comma Device 027d0729ce bump cereal
old-commit-hash: ec7cd74dc37caad9a281f70fa1bfcb12535efeb9
2022-04-30 09:31:31 -07:00
George Hotz 7119a98414 loggerd: switch to v4l encoder try 2 (#24380)
* start v4l encoder

* v4l encoder starts

* start and stop

* fill in proper controls

* it dequeued a buffer

* getting bytes

* it made a video

* it does make files

* getting close

* ahh, so that's how dequeue works

* qcam works (no remuxing)

* remuxing works

* we just need to make shutdown and rollover graceful

* graceful destruction

* switch to polling

* should work now

* fix pc build

* refactors, stop properly

* touchups, remove a copy

* add v4l encoder to release

* inlcude file

* move writing to it's own thread

* fix minor memory leak

* block instead of dropping frames

* add counter, fix tests maybe

* better debugging and test print

* print file path in assert

* format string in test

* no more oversized qlogs

* match qcam

* touchups, remove omx encoder

* remove omx include files

* checked ioctl, better debugging, open by name

* unused import

* move linux includes to third_party/linux/include

* simple encoderd

* full packet

* encoderd should be complete

* lagging print

* updates

* name dq thread

* subset idx

* video file writing works

* debug

* potential bugfix

* rotation works

* iframe

* keep writing support

* ci should pass

* loggerd, not encoderd

* remote encoder code

* support remote encoder

* cereal to master, add encoderd

* header no longer required

* put that back there

* realtime

* lower decoder latency

* don't use queue for VisionIpcBufExtra, disable realtime again

* assert all written

* hmm simpler

* only push to to_write if we are writing

* assert timestamp is right

* use at and remove assert

* revert to queue

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 0baa4c3e2ad9ee6f8daba8267db44c2cd44caa62
2022-04-30 09:22:52 -07:00
Keyvan Fatehi 576ae03e43 Fix spelling in dump.py help output (#24381)
old-commit-hash: 7b394510cb9e564803b70139eed0e6a07103d0c7
2022-04-29 20:13:44 -07:00
Shane Smiskol 17d33f9d65 Subaru: Add fwdCamera FW for 2018 Crosstrek (#24377)
old-commit-hash: 24b5164ce610fdfe8d6d7a9ea83edf960a25a6d8
2022-04-29 18:23:47 -07:00
Shane Smiskol 047b05065f Toyota: Add FW versions for RAV4 Hybrid 2022 (#24374)
old-commit-hash: 41f62f7604f70ff77742d70f4089a38112b71a70
2022-04-29 14:40:29 -07:00
Adeeb Shihadeh 247c153a35 controlsd: better alert precedence for system malfunctions (#24366)
* controlsd: better alert precedence for system malfunctions

* down to 20

* move that

* check can flags

* update refs

* update refs
old-commit-hash: be748c0d6a1a931a26b4ec741bbba71d4269b821
2022-04-29 13:36:25 -07:00
Lukas Petersson 2d6ae65ea7 Latency logger bad data robustness (#24343)
* robustness against bad data

* sort by time logreader

* loop until last frameid
old-commit-hash: 1439867d16295a289af753c581617e55e684188e
2022-04-29 13:32:21 -07:00
Adeeb Shihadeh d2e7af9fe5 power draw test improvements (#24368)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c971061859e5f9ff571afb5b6ae7d8e9f2b0ef63
2022-04-29 10:56:39 -07:00
Willem Melching 2a5eae5a56 ui: combine OnroadHud into NvgWindow (#24369)
* ui: combine OnroadHUD and NVGWindow

* draw hud first

* cleanup

* removed commented line

* fix text rendering

* increase cpu usage
old-commit-hash: a3cfa444d37bacdac5278335ac7a49b6cb5b81f0
2022-04-29 10:55:44 -07:00
Jason Young 95fcd5a4ee VW MQB: Add FW for 2019 Volkswagen Tiguan (#24373)
old-commit-hash: 1810909195c3b49467fb158cf972c054ac2bc42c
2022-04-29 10:25:34 -07:00
George Hotz 3a6a5485f2 camerad: less ioctls try 2 (#24371)
* premap the buffers

* memory manager

* free buffers properly, alignment seems okay

* update camerad CPU usage

* cam_sync_fd

* useless line, and use the define

* cheap prereqs for multistream

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b7ddce8bacde6de2f708af0b70ea8a20d61396f2
2022-04-29 18:09:12 +02:00
George Hotz e7aac92b21 Revert "camerad: don't remap everything every time (#24334)" (#24370)
This reverts commit 30e9a8aab8337d6b5661f4acdb0f2cf8c1421504.
old-commit-hash: 5ddd2000b23ca3fc3c67a5a29331a28cffaa2a9e
2022-04-29 07:59:03 -07:00
Gijs Koning d0fc9afa48 Simulator: Fix CI and set low_quality default (#24354)
* Change low_quality argument and fix closing carla bridge

* Some fixes

* Change carla process in test

* Change fov to 120, higher doesn't look good

* Update readme and remove redundant test

* update

* Add folder description
old-commit-hash: ee433dfa57a60364423a222a7f18dc137b77f532
2022-04-29 07:15:05 -07:00
Shane Smiskol effe065577 Add no disengage on accelerator to release notes (#24365)
* add ndog to releases

* aligns with latActive

* note to split it up and describe what it does

* Update RELEASES.md

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 7b7fc92aba522a6bdb7684bc32b3b663372f20a5
2022-04-28 23:08:49 -07:00
Shane Smiskol 754b93997a Support RAV4 Hybrid 2022 with stock longitudinal (#23969)
* add panda flag for toyota stock long with camera

* clean up

* Add 2022 RAV4 Hybrid from Philly

* fix wrong fw in interface, did this ever work?

* Must be a hybrid

* no radar parsing

* fix can error

* move to own platform

* generate docs

* fix

* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)

* Update values.py

Add 2022 Rav4 XSE Australia

* add commas

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

* bump panda

* wait, the camera doesn't even send 0x343, right?

* use a set instead, more obvious

* don't test without a parser

* bump panda

* flip panda flag

* bump panda

* add commas

* regen and update refs

* set to none by default

* revert parenthesis

* update comment

* bump panda

* regen and update refs

* add test models and update readme

* bump to master

Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
old-commit-hash: c1caca104f8553d485334e33446bd7b8ec1fb8ca
2022-04-28 22:37:46 -07:00
Adeeb Shihadeh 009a62912e jenkins: reduce timeout to 20 minutes
old-commit-hash: ef7ece408a932ae724cadd108e523d0e4a7cef94
2022-04-28 22:02:32 -07:00
Adeeb Shihadeh fdf13d565b controlsd: add lagging alert (#24360)
* controlsd: add lagging alert

* move those

* just this for now

* no camera malfunction
old-commit-hash: 3abbe827deac4954a2af97a191171c8b7d08d0c1
2022-04-28 19:51:42 -07:00
Shane Smiskol 32075d4681 safety param: make uint16_t (#24362)
* only use half of the available bytes

* move to set_safety_model

* regen and update refs

* last two

* bump to master
old-commit-hash: 66dd8f934cc84cdbd3e48e7b49836ec95f82c23a
2022-04-28 17:56:34 -07:00
Jason Young d82f65a1b7 Accept resumeCruise for resuming prior speed setpoint (#24348)
* accept two button types for resume

* retry CI

* Update selfdrive/controls/lib/drive_helpers.py

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 45f131e0e7d1df168295f180195a3b06aba87736
2022-04-28 17:46:58 -07:00
Shane Smiskol 66454c000e Fix can replay Jungle warning (#24364)
old-commit-hash: 2fa5a59e3faf30c2d4bb45056f20ec2408dcb3f4
2022-04-28 17:43:26 -07:00
George Hotz 0c2a527b3e camerad: don't remap everything every time (#24334)
* premap the buffers

* memory manager

* free buffers properly, alignment seems okay

* update camerad CPU usage

* cam_sync_fd

* useless line, and use the define

* cheap prereqs for multistream

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: fb7d84875bc993beaf75645a7e4b311704742f02
2022-04-28 11:32:32 -07:00
Willem Melching 0817a5aaef ui: only open map pane when route is not empty (#24352)
old-commit-hash: bff0db566bfc20a8f2ab936646c67be22b9ade76
2022-04-28 14:51:02 +02:00
Shane Smiskol 12d0a18a05 Clean up controllers (#24340)
* clean up lat controllers

* pass CP once

* sort
old-commit-hash: c9be2f02c3877fe00674ea7fc86912234376a36a
2022-04-28 00:42:52 -07:00
Jason Young 9de3eb63c1 Fix PlotJuggler saved tuning layout (#24347)
old-commit-hash: be0f27ac852fe41a904af1bb05b1438d43938896
2022-04-27 21:57:37 -07:00
Daniel 2201cf91a6 Update can_replay.py (#24346)
Fixed typo from PandaJugnle to PandaJungle
old-commit-hash: c60ce2a770e32a228f5dc234df7a37d2c77c37d1
2022-04-27 21:43:36 -07:00
Adeeb Shihadeh 1d989be3d6 more release notes
old-commit-hash: 0c24465b641dd15a64e2442cab5d30ed1257d276
2022-04-27 17:59:37 -07:00
HaraldSchafer 41d18c678f Update RELEASES.md
old-commit-hash: 2d086998dc0cfbec940d0e56071cee4a2f3be24a
2022-04-27 17:39:04 -07:00
Adeeb Shihadeh 2130eae8b1 fix panda_jungle static analysis
old-commit-hash: bfeaf35d6dd2c29c65b80a70ccafd9948056731a
2022-04-27 15:45:00 -07:00
grekiki 77d6d9a083 mypy: enable --warn-unused-ignores (#24287)
* this is the easy part to check

* Not sure what this fixes, https://github.com/commaai/openpilot/pull/24282/commits/8aaf00c6a41ac4c9c5e56f8a2dfed8591f153b67

* bump laika

* works here

* cleanup

* add types-certifi

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 049b163ea0494a21956d89d4cb2a527dcbd62c0c
2022-04-27 14:26:15 -07:00
Shane Smiskol 846b8fe0bb Toyota: fill stockFcw signal (#24324)
* fill stockFcw

* only TSS2 car for now
old-commit-hash: a05487cdf55d60c9a3e30f2f9b9983078b666116
2022-04-27 14:18:27 -07:00
ZwX1616 957d0c2767 Update RELEASES.md
old-commit-hash: 6a3762e2fcba845f7a430531a5c1b978e8ba7395
2022-04-27 13:37:04 -07:00