-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tres bootkick #1183
Merged
Merged
tres bootkick #1183
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
budney
added a commit
to budney/panda
that referenced
this pull request
Jan 7, 2023
commit 345147f Author: Shane Smiskol <shane@smiskol.com> Date: Thu Dec 15 15:50:15 2022 -0800 tests: clean up abstract methods (commaai#1196) * don't need to redefine _torque_cmd_msg in abstract subclasses * fix * pylint has a bug? * test pylint * clean up commit eed75e7 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Dec 15 15:30:21 2022 -0800 Bump opendbc ref and update pylint (commaai#1197) * Update opendbc ref * fix linting * fix linting * bump opendbc ref and pylint to fix import error bug * ignore unspecified-encoding (openpilot does this) * this will fail until openpilot is bumped * bump openpilot * wait... this works now?! * bump opendbc to master commit 6ba9afc Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Dec 14 16:12:09 2022 +0100 H7 clock source (commaai#1194) it's literally the same everything Co-authored-by: Comma Device <device@comma.ai> commit 1d732d4 Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Dec 14 15:30:04 2022 +0100 F4: Cleanup clock src, second try (commaai#1193) * F4: cleanup clock source * little more * void * restore the timer setup Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: Comma Device <device@comma.ai> commit d1d1f8a Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Dec 14 11:25:54 2022 +0100 Fake siren (commaai#1192) * DAC POC * change freq * some cleanup * wip: cleaning up and trying to use DMA * no clue why this doesn't work * this works * wip multi-master i2c for fake siren * cleanup and some more i2c stuff * seems more stable * retry disabling and cleanup force siren * fix misra violations * not needed * messed up rebase Co-authored-by: Comma Device <device@comma.ai> commit 9e5c28e Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Dec 13 20:21:04 2022 -0800 safety replay updates for CAN-FD commit d375ce6 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Dec 8 16:14:22 2022 -0800 jenkins updates for new master commit 93ecd31 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Dec 7 22:23:41 2022 -0800 don't clog up jenkins build queue commit 4edd1a6 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Dec 2 23:34:06 2022 -0800 Hyundai: alt steering limits (commaai#1186) * Hyundai: alt steering limits * parans commit a6d0765 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Dec 2 16:45:23 2022 -0800 safety: common angle checks (commaai#1182) * common angle checks * clean up * clean up check and add comments * readable * ints * tests draft * clean up * comment * pylint exception * clean up * duplicate commit 6e8a4fc Author: Shane Smiskol <shane@smiskol.com> Date: Fri Dec 2 16:05:35 2022 -0800 safety tests: common angle tests (commaai#1185) * basic formatting * common tests * assert truthfulness * ignore single pylint exception * wya too many lines commit 616450c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Dec 1 20:04:30 2022 -0800 tres bootkick (commaai#1183) * tres: bootkick * replace usb enum Co-authored-by: Comma Device <device@comma.ai> commit 288e14c Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Dec 1 08:38:00 2022 +0100 Simple CAN chunking (commaai#1011) * simple chunking * make pylint happy * misra happy? * good practice anyways since we cast to a uint32_t later * fix bug dropping packets * minor fixes + prepare for shared lib testing * working library now * first queue test * can send test * fix running in github actions? * add big rx test and fix it * don't complain about empty buffers * disable for now * comment * test runs * some cleanup * merge those * test works * rm that * comment * proper logging * makes things too slow Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 88b30e1 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Nov 30 22:12:28 2022 -0800 CAN comms test (commaai#1181) * CAN comms test * remove those * cleanup * little more commit b238d41 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Nov 30 22:09:13 2022 -0800 safety: clean up passing in longitudinal_allowed (commaai#1176) * clean up * clean up * and fix that * interceptor func * fix * draft * fix that commit 9c50939 Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Date: Thu Dec 1 00:23:55 2022 -0500 HKG CAN-FD radar-SCC: fix controls mismatch (commaai#1173) * Need to check on bus 4 as well * Fix 0x1a0 check race condition * Update board/safety/safety_hyundai_canfd.h Co-authored-by: Shane Smiskol <shane@smiskol.com> Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 2ae7b9a Author: Shane Smiskol <shane@smiskol.com> Date: Wed Nov 30 20:22:09 2022 -0800 scons: put targets in global SConscript (commaai#1180) * Revert "remove unused scons argument (commaai#1169)" This reverts commit 702e528. * try this * clean up * default true * default true * already built commit a0b1d64 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Nov 30 18:56:05 2022 -0800 Honda Nidec: max gas safety and common speed cmd checks (commaai#1179) * limit gas and speed * gas safety test commit 1f73c70 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Nov 30 17:41:24 2022 -0800 generic libpanda for tests (commaai#1177) * generic libpanda for tests * move safety helpers * fix ci build * fix running * opendbc is in the image * make can packet * rename commit cb8fc6b Author: Shane Smiskol <shane@smiskol.com> Date: Wed Nov 30 17:22:42 2022 -0800 safety: common interceptor checks (commaai#1178) * interceptor checks * only one line needed for now * whoops * misra * misread as | commit b19a74f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Nov 30 15:56:15 2022 -0800 CI: fix mounting in GITHUB_WORKSPACE (commaai#1175) commit 2750463 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Nov 30 14:15:09 2022 -0800 cleanup + prep for more tests! (commaai#1172) * panda for pc! * little more * fake panda * move some more stuff * increase timeout * move that * print helpers * cleanup * just move it for now * revert jenkins changes commit e8bd1df Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 29 23:45:55 2022 -0800 safety: common gas & brake safety checks (commaai#1168) * do toyota, hyundai, gm * comments * honda draft * Revert "honda draft" This reverts commit a1f466a. * do tesla * vw draft * finish vw * fix safety * clean up * fix function names * do honda and fix safety test not checking pos accel for bosch * clean that up commit e6f62a6 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Nov 29 22:55:10 2022 -0800 rename puts to avoid conflict with stdio.h (commaai#1174) * rename puts to avoid conflict with stdio.h * better name commit 2baa0ff Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 29 16:46:32 2022 -0800 Safety: common acceleration cmd checks (commaai#1171) * do toyota, hyundai, gm * comments * honda draft * Revert "honda draft" This reverts commit a1f466a. * do tesla * vw draft * finish vw * fix safety * only accel * only accel * some clean up * fix mqb tests * rename commit 80dac4c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Nov 29 15:56:43 2022 -0800 cleanup CAN definitions (commaai#1170) commit 702e528 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 29 01:28:46 2022 -0800 remove unused scons argument (commaai#1169) * clean * also here commit 8accca1 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Nov 28 22:37:59 2022 -0800 VW: explicitly test for inactive accel (commaai#1167) * explicitely test for inactive accel * fix the safety * and catch the mistake * revert commit ba6b371 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Nov 28 22:30:23 2022 -0800 GM: use common steering safety test (commaai#1166) gm is the last commit 360f8e6 Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Nov 24 16:09:39 2022 +0100 reconnecting debug console commit e4c4253 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Tue Nov 22 17:27:52 2022 -0500 VW MQB: Redundant brake pressed signals (commaai#1137) * VW MQB: Redundant brake pressed signals * bump timer for safety tests in CI * use nicer f-string syntax * don't need that commit c075050 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Nov 21 20:31:01 2022 -0800 Revert "F4: cleanup clock source (commaai#1160)" This reverts commit f0f67cc. commit 2e90b6f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Nov 21 16:59:21 2022 -0800 cleanup python lib imports commit 15a945d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 17 21:23:35 2022 -0800 tres: IR LEDs (commaai#1163) commit ae66bbc Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 17 21:02:37 2022 -0800 tres fan (commaai#1162) * fan on * little cleanup * move to main commit e5e34b1 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 17 17:06:28 2022 -0800 som debug script commit 3df9099 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 17 11:46:43 2022 -0800 Misc cleanup (commaai#1161) * unused python stuff * green led * docs cleanup * little more commit 5aa5f85 Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Nov 17 17:59:11 2022 +0100 setup UART for SOM debugging (commaai#1151) * cleanup external debug serial * wip: bring up uart7 * more wip * this does something * this works * increase fifo size * fix misra * cleanup * fix misra again * add SOM debug enum * reduce SOM buffer on F4 Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit f0f67cc Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 17 07:49:26 2022 -0800 F4: cleanup clock source (commaai#1160) * F4: cleanup clock source * little more * void commit 5dc5cd8 Author: hoomoose <94947902+hoomoose@users.noreply.github.com> Date: Tue Nov 15 15:48:45 2022 -0700 Hyundai: longitudinal support for all CAN-FD EV + Hybrid (commaai#1128) * Update safety_hyundai_canfd.h * Update safety_hyundai_canfd.h * Update safety_hyundai_canfd.h * cleanup * add test Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit e7131fc Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Nov 14 13:52:52 2022 -0800 H7 SPI comms (commaai#1158) * getting health packets * start cleanup * pull state machine out * cleanup commit 9db0ae7 Author: Robbe Derks <robbe.derks@gmail.com> Date: Mon Nov 14 11:46:04 2022 +0100 Remove external debug UART support (commaai#1159) cleanup external debug serial commit c75c276 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Nov 13 19:57:20 2022 -0800 add has_spi board property (commaai#1153) * always spi for h7 * disable for now commit c0632cd Author: Shane Smiskol <shane@smiskol.com> Date: Sun Nov 13 19:10:45 2022 -0800 GM: enable on rising edge of resume (commaai#1157) * rising edge of resume * fix test * comment * todo fix tests * fix test * we want to test the transition from btn prev to btn cur, not unpressed to x to y * range commit 0096d0c Author: Shane Smiskol <shane@smiskol.com> Date: Sat Nov 12 01:55:41 2022 -0800 GM: handle run-away set speed (commaai#1156) * Revert "GM: enable on rising edge of resume (commaai#1155)" This reverts commit 5aa33e1. * allow set/resume to any other button (except cancel) * explicit test * This is a test of both PRs combined * Revert "This is a test of both PRs combined" This reverts commit c7fdc3b. * fix test commit ff48ecc Author: Shane Smiskol <shane@smiskol.com> Date: Sat Nov 12 01:47:13 2022 -0800 Revert "GM: enable on rising edge of resume (commaai#1155)" This reverts commit 5aa33e1. commit 5aa33e1 Author: Shane Smiskol <shane@smiskol.com> Date: Sat Nov 12 00:01:15 2022 -0800 GM: enable on rising edge of resume (commaai#1155) * rising edge of resume * fix test * comment commit cc3b7d9 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Fri Nov 11 15:30:37 2022 -0800 H7: add comments on buses clocks (commaai#1154) comment commit d573111 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Nov 11 14:43:35 2022 -0800 Hyundai: fix button enable controls mismatch (commaai#1152) * fix hyundai long button controls mismatch * test * comment commit 966f7e0 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 10 21:34:43 2022 -0800 SPI: fixes + fake bulk transfers (commaai#1150) * check spi checkusm * ugh, fix control handler * fake bulk xfer * cleanup * one more * unused * fix linter * some typing Co-authored-by: Comma Device <device@comma.ai> commit a9e0357 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Thu Nov 10 19:29:44 2022 -0800 H7: enable USB LDO and fix RGB LED gpios (commaai#1148) * enable USB LDO * open drain for RGB LED gpios * naming * comment commit eae58b3 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Thu Nov 10 19:29:22 2022 -0800 F4 CAN: fix SCE IRQ double fire (commaai#1149) fix commit 72fd777 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Nov 10 17:14:32 2022 -0800 safety replay: fix gm segments (commaai#1147) get torque on gm for safety replay commit d574f4a Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Nov 10 03:46:20 2022 +0100 STM32F4: SPI communications (commaai#998) * cleanup is_enumerated, rename comms and init spi * big comms refactor, building now * misra fixes * more fixes * misra try 3 * cleanup * this belongs in a separate PR * remove unneccesary file * revert llspi changes * llspi misra fix * enable SPI on F4 and setup gpio * duh * wip: spi comms * more spi wip * dynamic sector erasing * Revert "dynamic sector erasing" This reverts commit fce1215. * more sectors to be erased * debugging * woah, this works * cleanup on the panda side * add sync and checksum checks, and fix recovery on errors * this seems relatively stable * add retrying * this is stabler * some endianness and endpoint fixes * builds * revert that * add that back * checksum start * start splitting up driver * spi behind flag * cleanup test * bump up timeout Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 281eb77 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 8 20:17:02 2022 -0800 GM Camera: use ECM brake pressed bit (commaai#1138) * GM camera: use ECM brake pressed bit * back to ECMEngineStatus * length 8 * common gmcamera class * move to longitudinal base * Revert "move to longitudinal base" This reverts commit 67abe4c. * fix commit 8f7befa Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 8 19:50:11 2022 -0800 GM: clean up safety classes (commaai#1143) * add PCM_CRUISE flag to GM safety tests (like safety code) * pcm_status_msg * rm 2 commit a01513d Author: Shane Smiskol <shane@smiskol.com> Date: Tue Nov 8 13:37:02 2022 -0800 safety replay: fix hyundai segments (commaai#1140) * fix hyundai safety replay * clean up commit 1ccdff9 Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Date: Tue Nov 8 01:44:13 2022 -0500 HKG CAN-FD: support radar ACC cars (commaai#1134) * HKG: Car Port for Genesis GV70 2023 * Revert "HKG: Car Port for Genesis GV70 2023" This reverts commit 01bfda6. * 0x1a0 rx check * Wrong one oops * Check 0x1a0 based on param * no need * getting a bit messy, clean up soon! * clean up * clean up Co-authored-by: Shane Smiskol <shane@smiskol.com> commit ca681ff Author: Shane Smiskol <shane@smiskol.com> Date: Mon Nov 7 22:13:17 2022 -0800 Hyundai: CAMERA_SCC works on both safety modes (commaai#1139) * Make camera SCC work on both safety modes * update in safety * move to common commit f3fc343 Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Date: Fri Nov 4 19:43:33 2022 -0400 Hyundai CAN-FD: support for ICE cars (commaai#1031) * Hyundai: Car Port for Santa Cruz 2022 New struct and params for CAN-FD ICE models fixup! New struct and params for CAN-FD ICE models * Longitudinal Control: ICE CAN-FD models * fixup! Longitudinal Control: ICE CAN-FD models * fixup! Longitudinal Control: ICE CAN-FD models * fixup! Longitudinal Control: ICE CAN-FD models * fixup! Longitudinal Control: ICE CAN-FD models * Gate radar disable behind HDA2 only * Remove unnecessary HDA2 checks * Fix MISRA violation * not needed, in HYUNDAI_CANFD_HDA2_LONG_TX_MSGS * revert longitudinal changes * fix addr check logic, clean up * revert more long stuff * fix addr check * temp * tests * work? Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 34cfc43 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Nov 4 15:34:16 2022 -0700 Hyundai CAN-FD: more complete tests (commaai#1133) * more complete tests * use parameterized_class * make clear this only tests EV right now * fix python linter * rename reference * clean up and fix python linter again commit 0b86dfa Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Nov 4 11:35:40 2022 -0700 python lib: only import spidev as necessary commit c8d108e Author: Shane Smiskol <shane@smiskol.com> Date: Fri Nov 4 00:54:54 2022 -0700 Hyundai CAN-FD long: fix brake address check (commaai#1132) * we don't check 0x65 any more * fix * that too commit a42b104 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 3 22:18:12 2022 -0700 SPI handle in python lib (commaai#1131) * SPI handle in python lib * add spidev * unify those * clean up connect * clean that up Co-authored-by: Robbe Derks <robbe.derks@gmail.com> commit 2e0cba0 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 3 20:50:42 2022 -0700 bump timeout for full HITL tests commit b3e9292 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 3 17:24:28 2022 -0700 HITL test fixups (commaai#1117) * automated -> hitl * simplify * jenkinsfile cleanup * cleanup * fix new linter errors * fix ws cleanup * some retry * more cleaning up after ourselves * unpin scons * bump opendbc * fix quotes * enable flaky * debug print Co-authored-by: Bruce Wayne <batman@comma.ai> commit 49e2034 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 3 16:34:18 2022 -0700 tres (commaai#1130) * tres * pull out chiplet * add to python lib commit bfce4c7 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Nov 3 14:36:09 2022 -0700 Hyundai: update tests with new DBC names (commaai#1129) * Hyundai: update tests with new DBC names * fixed commit 73a4099 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Nov 3 00:23:42 2022 -0700 safety replay: fix setting desired torque (commaai#1127) * . * Update tests/safety_replay/helpers.py commit 9147cba Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Wed Nov 2 16:57:14 2022 -0700 F4: more RAM (commaai#1126) * F4 more ram * more flash commit f7c74e0 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Wed Nov 2 14:28:23 2022 -0700 bugfix: D2 SRAM clocks and CRun CPU state (commaai#1125) D2 SRAM clocks commit 0ca6d9d Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Tue Nov 1 11:13:58 2022 -0400 VW MQB: Longitudinal safety (commaai#920) * VW MQB: Longitudinal safety * disregard ACC_13 for now * abstraction cleanup * fix long control flag name * quick hack * VW MQB: Cleanup message counter handling * various cleanup * try without ACC_04 * follow DBC updates * bump Docker opendbc ref * additional main switch and cancel handling/testing * pacify linter * style * handle the overlap tests like HKG CANFD * update replay route * commonize elements between MQB and PQ * Apply suggestions from code review Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * proper use of globals/conventions * make these global * this is better for now * better comment on accel boundary scaling * spelling error * reset on init * try bumping openpilot Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit cf4aa6b Author: Jason Shuler <jshuler@gmail.com> Date: Tue Nov 1 03:58:18 2022 -0400 GM: longitudinal support for camera-integrated cars (commaai#1014) * Allow brake TX on PT bus * Initial Panda GM cam harness support * Complete rewrite / simplification * Add param for cam harness (default is OBD2) - Forward btw 0 and 2 - Filter LKAS and optionally ACC from cam * Add param for stock ACC - Allows ACC on PT bus when set, not otherwise - Allows ACC from cam when set, not otherwise * Add temporary WIP EPS timing workaround in ifdef * Remove keepalive; regen == braking * Fix MISRA violations * EPS timing opt-in by param * Minor clean up * remove timing code for readability fix and formatting * we only need to send one message if cam harness and stock long * Simplify params * Removed dup brake msg * revised params, split 3-ways * add test * clean up a bit, no need to send ACC yet like this * split out button enable and pcm enable into seperate tests * some formatting some formatting * GM CAM uses PCM cruise for controls_allowed * fix gas safety tests * misra * fix static analysis comment * fix brake pressed * Add OP VOACC override stock cam * Add VOACC safetyparam to init.py * openpilot long safety * do this in another PR * add back * add safety tests * rename * struct for safety * not used * temporary fault fix * adjust max gas * allow PSCMStatus in long mode * stash * fix max gas * fix and clean up tests * clean up longitudinal tests into a common class * fix pylint * subclass * clean that up * rm * blocking * comment * comment * lower case * brake bus Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 997e328 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Oct 31 19:40:44 2022 -0700 Nissan: check two wheel speeds for standstill (commaai#1124) * safety * use already parsed wheel speed commit 494c5a4 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Oct 27 21:23:36 2022 -0700 GM Cam: pass on useless tests (commaai#1122) * pass * Caps commit 187fdee Author: Shane Smiskol <shane@smiskol.com> Date: Thu Oct 27 17:51:20 2022 -0700 safety: remove pre-enable state (commaai#1121) * current_controls_allowed is now unused * reduce diff * remove from honda * these test nothing * fix commit 609a8e0 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Oct 27 13:58:19 2022 -0700 fan: reset error integral when disabled (commaai#1119) commit bd8d248 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Tue Oct 25 21:15:46 2022 -0700 H7: free up 29120 bytes of RAM (commaai#1120) free up some RAM commit 2db69bc Author: Shane Smiskol <shane@smiskol.com> Date: Fri Oct 21 18:11:31 2022 -0700 Revert "GM: different brake thresholds by platform (commaai#1104)" (commaai#1116) This reverts commit 5962bcd. commit d51dd49 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Oct 21 00:20:01 2022 -0700 GM: more longitudinal safety (commaai#1115) * seems cleaner * abort struct * fix * add variable in test_gm (TODO: add tests) * fix test for new safety * cmt * && -> || commit fcb1a5a Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Oct 20 19:52:06 2022 -0700 Hyundai CAN-FD: common brake pressed signal (commaai#1113) * Hyundai CAN-FD: common brake pressed signal * change bit Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 54f9390 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Oct 19 23:25:22 2022 -0700 GM: allow TX PSCMStatus message (commaai#1111) * forwarding * add to tx msgs * don't block * Revert "don't block" This reverts commit b1ca52f. * fix forwarding tests * comment * add comment commit 723e60c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Oct 19 22:58:52 2022 -0700 Hyundai CAN-FD: fix SCC bus for HDA1 commit 24ccc34 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Oct 19 22:26:22 2022 -0700 Hyundai CAN-FD: use cruise signals from SCC ECU (commaai#1112) * Hyundai CAN-FD: use cruise signals from SCC ECU * cleanup commit dd75186 Author: hoomoose <94947902+hoomoose@users.noreply.github.com> Date: Wed Oct 19 16:17:23 2022 -0600 Hyundai: support button resume on CAN-FD HDA1 (commaai#1102) * Update safety_hyundai_canfd.h * run tx checks * fix tests Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit b95a65d Author: Shane Smiskol <shane@smiskol.com> Date: Tue Oct 18 11:22:04 2022 -0700 GM: match ECM standstill check (commaai#1105) * match ECM check * fix * needs to be <= 10 to avoid a fault, fix for safety tests * fix commit 9ed3f75 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Oct 17 20:53:03 2022 -0700 Fix MISRA violation (commaai#1109) commit 842cf65 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Oct 17 20:27:30 2022 -0700 Hyundai CAN-FD: support 90deg angle limit bypass (commaai#1098) * h90d CAN-FD * torque * one liner * adjust safety * Revert "adjust safety" This reverts commit e3539ed. commit bce6f48 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Oct 16 16:37:58 2022 -0700 CI speedup (commaai#1108) * use docker buildkit * enable push * try this caching * no regressions * don't copy into the image * move that * getting there * debug * little smaller * debug * configure safe dir * no sudo * cleanup * another timeout commit 62868c3 Author: Jason Wen <47793918+sunnyhaibin@users.noreply.github.com> Date: Sat Oct 15 15:26:01 2022 -0400 Hyundai: CAN-FD Hybrid gas pressed signal (commaai#1106) * Hyundai: Gate 0x105 behind hybrid CAN-FD only * update tests Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 5962bcd Author: Shane Smiskol <shane@smiskol.com> Date: Fri Oct 14 16:51:53 2022 -0700 GM: different brake thresholds by platform (commaai#1104) * Different brake pressed thresholds * Update board/safety/safety_gm.h commit eabebfe Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Oct 13 07:52:59 2022 -0700 Hyundai CAN-FD: ignore LKAS steering on HDA2 long mode (commaai#1101) commit c39528d Author: Shane Smiskol <shane@smiskol.com> Date: Wed Oct 12 21:48:04 2022 -0700 Hyundai tests: fix counter in FCA message (commaai#1092) * tests: fix counter in FCA message * Update tests/safety/test_hyundai.py Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit de38096 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Oct 12 21:00:24 2022 -0700 Hyundai: support non-HDA2 EV gas signals (commaai#1100) * Hyundai: support non-HDA2 EV gas signals * update tests commit 622ce92 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Oct 12 20:29:15 2022 -0700 Hyundai: share flags with CAN-FD platform (commaai#1099) * Hyundai: share flags with CAN-FD platform * update flags there commit 2f3e282 Author: Greg Hogan <gregjhogan@gmail.com> Date: Wed Oct 12 15:28:20 2022 -0700 CAN-FD non-ISO support (commaai#1082) CAN FD non-ISO support commit ffb3109 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Oct 11 20:50:23 2022 -0700 Hyundai: HDA2 longitudinal control support (commaai#1096) * ev6 long * update steering commit d68b1b0 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Oct 11 17:57:03 2022 -0700 Hyundai: support 90deg angle limit bypass (commaai#1091) * h90d safety * quicker rate * update comment * support multi frames? * stash * stash * might work? * stash * clean up * revert that * add test * fixup tests * clean up * remove test * try to combine tests * Revert "try to combine tests" This reverts commit f147955. * seems simpler * more explicit * shouldn't be needed * comment * fix that test commit aa0be4d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Oct 11 17:38:34 2022 -0700 Hyundai: move shared definitions to a separate file (commaai#1097) * Hyundai: move shared definitions to a separate header file * same with tests * cleanup commit 0a819ad Author: Shane Smiskol <shane@smiskol.com> Date: Tue Oct 11 13:20:24 2022 -0700 Torque request bit: support multiple invalid frames (commaai#1094) * h90d safety * quicker rate * update comment * support multi frames? * stash * stash * might work? * stash * clean up * revert that * add test * fixup tests * clean up * remove test * try to combine tests * Revert "try to combine tests" This reverts commit f147955. * seems simpler * more explicit * shouldn't be needed * no hyundai stuff * no line * consecutively * comment * comment * comment * revert * comment * check earlier check earlier * ensure we don't set a negative value * add todo comments * for loop commit 3644d94 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Oct 11 11:25:41 2022 -0700 Revert "Hyundai: steering fault bit safety (commaai#1095)" This reverts commit 2334a41. commit 2334a41 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Oct 10 21:56:22 2022 -0700 Hyundai: steering fault bit safety (commaai#1095) comment smaller comment simpler test check controls allowed more classical more like the buttons revert flip commit aaa70b1 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Oct 10 17:01:49 2022 -0700 Toyota: remove redundant test (commaai#1093) already test this commit ca11326 Author: Shane Smiskol <shane@smiskol.com> Date: Sun Oct 9 12:39:48 2022 -0700 GM: abstract PCM-related hw check (commaai#1090) abstract hw check to if pcm_cruise or not commit 1303af2 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Oct 7 16:10:09 2022 -0700 GM: change brake pressed signal (commaai#1089) * Match openpilot brake check * comment * simple * Update test * doesn't take an int * msg varies in size by platform * 2 extra bytes of zeros on Escalade * label platforms * space commit c09a1cd Author: Cameron Clough <cameronjclough@gmail.com> Date: Fri Oct 7 10:47:04 2022 -0700 Ford: allow sending buttons msg to camera (commaai#1085) * allow sending steering buttons msg to camera The DBC lists both the IPMA and PCM as receiving modules for the `CcAslButtnCnclPress` and `CcAsllButtnResPress` signals used to cancel/resume ACC. Sending resume to both buses is confirmed to work by three testers, now it's just down to tweaking openpilot to get high reliability. * add test for both buses * only send TJA to bus 2 commit 3334dc2 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Oct 5 16:35:28 2022 -0700 IsoTpMessage: parameterize separation time (commaai#1088) * parameterize separation time * take in seconds and convert * fix * define once commit cffc41e Author: Shane Smiskol <shane@smiskol.com> Date: Wed Oct 5 16:22:53 2022 -0700 Specify IsoTpMessage keywords commit 7d19626 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Oct 5 16:12:24 2022 -0700 IsoTpMessage: param for single frame flow control (commaai#1079) * iso-tp: request a single frame at a time * behind param * this might be more clear * like this better * fit the theme * revert this change commit 9bcd9b9 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Oct 4 00:20:31 2022 -0700 GM: update max brake (commaai#1087) update max brake commit e987e6c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Oct 3 16:05:16 2022 -0700 add pandaState.safetyRxChecksInvalid field (commaai#1083) * add fault for invalid safety RX checks * fix test build * debug * fix debug * fix test * just a bool in health commit 4248085 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Oct 2 17:48:22 2022 -0700 Hyundai: fix addr check race condition (commaai#1084) commit 1910db8 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Sep 30 14:29:41 2022 -0700 IsoTpMessage.send: setup_only argument (commaai#1081) * some fixes * some fixes * revert to tx not done * this should work * correct debug prints * not true * revert this * setup_only commit 51f023b Author: Shane Smiskol <shane@smiskol.com> Date: Tue Sep 27 18:08:09 2022 -0700 IsoTpMessage: return if message updated (commaai#1078) * extend timeout for each message/frame (not multi-frame full response) * linter commit 10c0991 Author: Robbe Derks <robbe.derks@gmail.com> Date: Fri Sep 23 11:17:15 2022 +0200 Add the 0x600 range for UDS messages (commaai#1077) add the 0x600 range for UDS messages Co-authored-by: Comma Device <device@comma.ai> commit 11ea112 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Sep 19 20:47:12 2022 -0700 IsoTpMessage: add separation time to flow control msg (commaai#1074) * one frame at a time, 20 ms delay * send one at a time * update separation time to 10ms * comment commit b861992 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Mon Sep 19 16:11:49 2022 -0700 merge health.h and can_health.h (commaai#1075) init commit a19f125 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Fri Sep 16 23:51:55 2022 -0700 check if set CAN speed is valid (commaai#1073) * check * MISRA commit fd226de Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Fri Sep 16 21:56:48 2022 -0700 board struct: add has_canfd (commaai#1072) * add * gate this * and this * forgot white commit 59ede3f Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Fri Sep 16 20:39:18 2022 -0700 CAN health packet: add speed and canfd info (commaai#1071) in commit 046fd58 Author: Igor Biletksyy <bs@privacy.im> Date: Thu Sep 15 14:54:38 2022 -0700 python lib: check get_packets_versions length commit f029c99 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Thu Sep 15 13:08:46 2022 -0700 health packet: fix confusing variable names (commaai#1068) * fix naming * different buffer overflows * naming commit 0eef8cf Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Thu Sep 15 13:04:10 2022 -0700 CAN: health message for each CAN module (commaai#1067) * initial can health pkt * MISRA: variable scope * MISRA 10.4 * typo * add total_fwd_cnt * check size of can_health_t * improve * comment * that's better * move * add health check to tests * why? * ... * revert later * meh * Revert "meh" This reverts commit 0eb8432. * Revert "revert later" This reverts commit 2d98957. * adjust test commit 38257a9 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Sep 15 11:22:21 2022 -0700 Hyundai: lower CAN FD torque rate limits (commaai#1066) commit 93c0f55 Author: HaraldSchafer <harald.the.engineer@gmail.com> Date: Thu Sep 15 10:25:00 2022 +0200 Update README.md commit f2ac118 Author: HaraldSchafer <harald.the.engineer@gmail.com> Date: Thu Sep 15 10:24:36 2022 +0200 Update README.md commit f120999 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Sep 14 18:42:16 2022 -0700 Subaru: match openpilot standstill (commaai#1070) match openpilot standstill commit 19983f1 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Sep 13 13:52:44 2022 -0700 Chrysler: match openpilot standstill check (commaai#1065) * match openpilot standstill, and fix ram standstill parsing * misra * cmt commit 788e0b5 Author: Shane Smiskol <shane@smiskol.com> Date: Mon Sep 12 21:32:06 2022 -0700 GM: same regen check as openpilot (commaai#1026) * it was only checking a specific bit * same check as openpilot * reset on init * unsigned * should fix conflicts * common * comment * Add missing function * Tests * the alternative is a mess typo typo * draft * finish common * works but you need RegenSafetyTest before all other classes * Revert "works but you need RegenSafetyTest before all other classes" This reverts commit 256f3be. * This works too * need parameterized, subtests nor super() calls correctly reset state * Fix test and comment * comment * another fix... * subclass * ABC * order * fix static analysis * can do this * Revert "can do this" This reverts commit 6bc63a3. * this is nicer, no pylint errors * Update tests/safety/common.py * underscore * dynamically detect and add tests * simpler * only for safety modes with a regen message * check attr * Revert "check attr" This reverts commit bc37a7e. * need to check at test time not class init time commit 15eda6a Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Mon Sep 12 14:31:22 2022 -0700 CAN bus: adjust SJW and time quanta to SAE 2284-3 (commaai#1061) * adjust clocks and tq * debug console keyboard interrupt * MISRA commit ac21dbe Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Fri Sep 9 20:13:06 2022 -0700 H7: add chiplet panda support (RPv2) (commaai#1049) * temporarily disable Jenkins * firmware * python lib * tests * .. * usb load switch to high * it is still red * usb power mode remove * Revert "temporarily disable Jenkins" This reverts commit a911cfa. * forgot this * common periph * change name * board tick * add V2 to CI * update known bootstub commit 1b210a8 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Fri Sep 9 15:24:19 2022 -0700 H7: remove manual bus off handling (commaai#1062) remove this commit 8f13ca3 Author: Cameron Clough <cameronjclough@gmail.com> Date: Thu Sep 8 15:35:10 2022 -0700 Ford safety updates (commaai#1052) * allow resume button press while controls allowed * add ACCDATA_3 msg * change msg name style to match DBC * fix * wrong msg * chmod +x * always allow other acc buttons e.g. tja toggle commit c4c9744 Author: Comma Device <device@comma.ai> Date: Wed Sep 7 21:43:52 2022 -0700 fix dos siren commit 0ca23b6 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Sep 6 19:12:06 2022 -0700 Toyota: generic steer fault workaround safety (commaai#939) * toyota steer fault safety * fix * alternative safety * no comment * should be good * same behavior, a bit simpler * better tests * fix comment * update safety comment * const is actual number of messages * Fix bug * misra * Fix test * clean up logic a bit clean up logic a bit fix * fix fix * clean up tests * unsigned * forgot to rename message when merged * Comments Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * Update names Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * rename rest of variables * real time checks * clean up safety tests * revert * add this * clean up * better name * use common steering checks * reverse order * make common * re-organize the safety * clean up safety_toyota * more clean up * add comment back * 19 * recover * some variable name clean up * rename and reset `valid_steering_msg_count`, another recover message * move comment * remove reset_toyota_timer, minor test clean up * common test * use init_tests * threshold used to be: frame you can cut steer on, now it's min num of valid frames (next frame you can cut, 18+1) * Update tests/safety/test_toyota.py Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * fix realtime * Update board/safety/safety_toyota.h * Apply suggestions from code review * Update board/safety/safety_toyota.h Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 671b5ae Author: kyle zunich <zunichky@msu.edu> Date: Fri Sep 2 13:45:43 2022 -0400 Update example scripts to support canfd (commaai#1059) commit 60f366c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Sep 1 21:11:06 2022 -0700 fan: don't fully reset integral when recovering from stall (commaai#1058) * fan: don't fully reset integral when recovering from stall * clip to [0, 70] * 50% commit 13d64d4 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Aug 31 20:46:07 2022 -0700 USB power mode + bootkick cleanup (commaai#1051) * remove tick * remove more * delete more * board tick * update health * dos bootkicking * cleanup commit f040d8b Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Wed Aug 31 12:15:36 2022 -0700 CI: add USB hub reset (commaai#1053) USB hub reset commit 6d2e2bd Author: Igor Biletksyy <bs@privacy.im> Date: Wed Aug 31 10:39:05 2022 -0700 put is_internal() back for openpilot pandad.py commit 77cfc32 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Aug 30 23:24:37 2022 -0700 Toyota: match openpilot standstill check (commaai#1045) * Match openpilot * check against zero value * formatting * use intermediary variable * comment * hmm... this works now?? * fix misra commit b81dfba Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Tue Aug 30 10:46:12 2022 -0700 python lib: cleanup hw type check (commaai#1050) cleanup
mlocoteta
pushed a commit
to mlocoteta/panda
that referenced
this pull request
Apr 29, 2023
* tres: bootkick * replace usb enum Co-authored-by: Comma Device <device@comma.ai>
budney
added a commit
to budney/panda
that referenced
this pull request
May 5, 2023
commit f225c1122743b1bdb0a17e48d05b2bd99676b462 Author: ClockeNessMnstr <locke.dftc@gmail.com> Date: Wed Feb 9 21:56:36 2022 -0500 3071 panda commit cedb5fd1a6c0823703280b1941edfed9602a287d Author: Shane Smiskol <shane@smiskol.com> Date: Thu May 4 06:08:10 2023 +0000 Ford: remove safety mode from debug flag (#1400) remove from debug commit 94cd9a0788070e4e802e8a6a1c1cc7dae95e8f70 Author: Shane Smiskol <shane@smiskol.com> Date: Thu May 4 04:59:35 2023 +0000 Ford: curvature rate limits (#1258) * ford curvature rate limits draft * make common angle tests work with curvature * comment * no need for this * extra line * fix test * generic curvature test class * more reasonable limits * adjust limits * draft * works * works * clean up * add vehicle speed * works * clean up * clean up * more clean up * more clean up * lower * double * add updated bp * remove * can clean that up * draft * this works! * think that's the correct placement * try this * closer * use min * add/sub one to not falsely trip * remove old angle error safety * i'm not sure if clamp is more readable * fix that * fix * stash * fix these tests * ternary * floats are a pain * draft, works kinda * even better * round that * need tolerance * this should work (adding tol=1 wouldn't let us have multiple rate limits) * test works * clamp breaks if low is higher than high :((( down from 150 blocked msgs to 7! * no blocked msgs!!! * test a whole bunch * stash * stash * clean up test * clean up test to be more like torque (+ speeds) * clean up * cmt * test up * up and down are good * rename and remove * this is tested * uncomment * this is tested by ensuring we move towards error at a minimum rate * not used any more * revert common * clean up test_ford a bit more * some clean up (combine variables where it makes sense) * yeah can't use clamp since min isn't always < max, min(max(.. handles this * clean up * revert that * comments * cmt * another * that's old * misra! * Update board/safety/safety_ford.h * Update board/safety/safety_ford.h * add todo, fix test case * more clear, matches panda * add comment * Update tests/safety/test_ford.py * more fine speed increments * rm comment * better names * this is expected behavior (tested by common checks) * CURVATURE_ERROR_LIMIT_SPEED * better name? * pretty clean! * same for up * only used in one place now * these are now clear * common term * make vehicle_speed a sample_t * need to use values[0] * speed is a float * Revert "speed is a float" This reverts commit 01af02f1d35026d983cc2ba6d9ba364c87c800ee. * Revert "need to use values[0]" This reverts commit 8f6d68345a92f7285d07ca071285e903ed7871bb. * Revert "make vehicle_speed a sample_t" This reverts commit ecd8dc86b6b97cc8bff7da697353a8d90c358b12. * safety fixes for new speed sample * test fixes for new speed sample * fix misra and make intermediate variable * this isn't needed commit b44df8151a15fa3afe8a8943e332eb63605a2245 Author: Shane Smiskol <shane@smiskol.com> Date: Thu May 4 04:09:09 2023 +0000 safety tests: use rx/tx helpers (#1399) use rx/tx helpers commit 3a64b6ccb51301a9f1c7e8f9fd121940d50d01d8 Author: Shane Smiskol <shane@smiskol.com> Date: Thu May 4 03:37:56 2023 +0000 safety: make vehicle_speed a sample (#1391) * convert vehicle_speed into sample_t, change no behavior * draft * round * test * clean up * round * round all * use min * remove round macro from this PR * reset speed measurement * debug * bbd * rm * revert * test above and below * need this now * misra pt 1 * misra pt 2 * misra pt 3 * i don't understand this one, not different from other cases * fix test * test * revert that * draft * test the sample_t works properly for safety modes that use it (angle only) * can combine these tests * test decimals * global * misra comment * suggestions * fix * use new helper commit 5a9603600ec247ac01ffe818efd7cc363af8ec9b Author: Shane Smiskol <shane@smiskol.com> Date: Thu May 4 02:51:08 2023 +0000 safety tests: reset safety helper (#1398) * reset safety * use it * clean it up * two lines * fix python linting commit 776bb69945e2ab5bf4cfb993b18fcc3f543e95b4 Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 21:37:04 2023 +0000 Ford: test angle measurement (#1396) * test angle meas readback (ensures speed and yaw rate are used properly) * revert * rm * tuple * temp * clean up * stash * Revert "stash" This reverts commit cab96b3e2b46d7b43ef539b96e0f6d3918d21e55. * use global * test negative * name commit 4b0427551412fd1ac4ca31d8aa376b090afb0435 Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 21:19:52 2023 +0000 Ford: test angle error speed in steering signal test (#1395) * test above and below limit speed * need this now commit ba5c2948e4ed23a1ec61e96d2197571fb599d8e4 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed May 3 14:15:34 2023 -0700 python: default to 60s timeout for recover() (#1394) commit 810df6b5c18619a048aaf296f332a627fa8f517d Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 05:01:44 2023 +0000 safety replay: safety tick (#1364) * make explicit, there was no bug only because the if statement is identical to above * debug * Revert "debug" This reverts commit 2ec83677c3749f805681c4874b746696767f7634. * Revert "make explicit, there was no bug only because the if statement is identical to above" This reverts commit fcb2a106b9694727ca4b5a9acf4eda3312fc4271. * fixes * remove * allow 1 second * remove * clean up * call every can msg * safety_tick_rx_invalid like test_models * order * skip end * try that commit 3a3e117d01cf8c02a3bb84ba7b3b6e4034c72302 Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 04:35:00 2023 +0000 Ford: remove unused function (#1393) we can just round this now commit aa30b15de5a128faafd8a1c4809d502c2a894609 Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 03:45:33 2023 +0000 Ford safety: more clear variable names (#1392) * that's a better name * that too commit 22b245372852c002c06bd272fdcfe5d5e4db828b Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 00:34:24 2023 +0000 angle safety: consistent rate limit variable names (#1390) consistent names commit 69ad3dd8e885b61931ad65aa0cd014d694a2efe5 Author: Shane Smiskol <shane@smiskol.com> Date: Wed May 3 00:07:23 2023 +0000 angle safety: add comment about rate limits at 0 (#1389) * up when 0 * Revert "up when 0" This reverts commit fc9b459651826e5ca8d597920d4fea49eedb15d5. * add comment * whoops commit 14cfb78ab2d6d8a11d30bbcd504b8b6391311d31 Author: Shane Smiskol <shane@smiskol.com> Date: Tue May 2 13:45:21 2023 -0700 Subaru: add gen 2 Outback route (#1386) gen2 outback route commit 1d1284e863e32bdbe6b6f9db5a011cdcbdeeb4c5 Author: Shane Smiskol <shane@smiskol.com> Date: Tue May 2 13:18:26 2023 -0700 Revert "Subaru: add gen 2 Outback route (#1385)" This reverts commit c43f33191cd205966a275cec2b2afda6c9a6c7b6. commit c43f33191cd205966a275cec2b2afda6c9a6c7b6 Author: Shane Smiskol <shane@smiskol.com> Date: Tue May 2 13:07:50 2023 -0700 Subaru: add gen 2 Outback route (#1385) gen2 outback route commit 2fb25c4a0bfe7d2294522cf13d1f1def5080e2e2 Author: Shane Smiskol <shane@smiskol.com> Date: Tue May 2 01:21:33 2023 -0700 Subaru: fix Impreza replay route (#1384) * fix * impreza route commit 641d9c4f3a47f2a95dfca643082f83b10b2b102f Author: Robbe Derks <robbe.derks@gmail.com> Date: Tue May 2 09:55:00 2023 +0200 Tesla: DAS_control is on bus 2 (#1374) these are on bus 2 commit 8e1ca608b0fc3de389d637a1bfb930369220ac96 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon May 1 20:18:23 2023 -0700 H7: remove busy wait on TXC (#1381) * works * cleanup * less irq * less diff --------- Co-authored-by: Comma Device <device@comma.ai> commit f9485c8d5d716d3429a0a24288fb83256d6a9d9e Author: Shane Smiskol <shane@smiskol.com> Date: Mon May 1 20:01:03 2023 -0700 Ford: more clear steering safety check (#1383) one line commit a5718ce5dd9d3ca568a6b023b2aec5b2bfda5b2d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon May 1 19:31:13 2023 -0700 spi: different ack dummy bytes for debugging (#1382) different ack vals Co-authored-by: Comma Device <device@comma.ai> commit dbe941004a03ebfcf82bac61b0b94999a7e12abe Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 28 17:45:02 2023 -0700 safety: reset torque_meas on init properly (#1250) * reset min torque meas too * add test that fails * cmt * cmt * clean up test * don't be random * above test tests this pretty much * test angle too * fix * also test driver torque * whoops * whoops commit 63db708491aef4fc8d278368d99c0e4fdf86f1dd Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 28 17:36:35 2023 -0700 driver torque limit: make driver torque message abstract (#1377) * abs * uncomment * fixy commit 99809f7071c783cd16547771e2dea3c34d669aa4 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 28 15:02:57 2023 -0700 angle safety tests: more clear helper function name here too commit 001f9917ef50660a03f01feeabc73b42babc2e24 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 28 14:25:35 2023 -0700 ford: disable counter check for second speed (#1375) add comment and disable counter for second speed commit 4160d8d71cbb5cd40107834ad4756c4dbffc63b0 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Apr 27 23:33:54 2023 -0700 safety: common angle safety function (#1369) * draft clean up * always check * add angle to name * ford sends curvature when not steering and bit is 0. it's not torque, curvature of 0 will still apply torque * need this to be generic * formatting * rm * test that we can send curvature=0 if enabled=False while control_allowed=True (let's say EPS faults, OP doesn't want to actuate) * revert ford tests to master * this <i>should</i> preserve behavior * this is fine to remove * and this should also be covered * yeet * change opt name, combine checks, much better! * one more * modes * Add comment * misra has a bug :( * ugh * make this clear * ? * order * fix * comments commit 69a0b6ed34118ca5a92c2e70e2d231dbb98e19d5 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Apr 27 23:19:26 2023 -0700 safety: use max_limit_check helper in angle safety (#1373) * better * ? * ? * Revert "?" This reverts commit ae70c7ff3b41e49ccc149b7b202fdcde0a120e8d. * Revert "?" This reverts commit db7fd644a9cedfc46583651fe7581e4862b0f77e. commit aac46a2ef29edadd8798eb8997a931bf165fa0ae Author: Shane Smiskol <shane@smiskol.com> Date: Thu Apr 27 21:41:38 2023 -0700 angle safety: enforce disabled angle when not steering (#1372) * enforce disabled angle when bit not set, below we enforce bit to be 0 when not controls allowed * test * other test * combine tests * comment commit 240370cdd1df17ae13a9f24b8ebf72c3a45c551b Author: Shane Smiskol <shane@smiskol.com> Date: Thu Apr 27 17:44:32 2023 -0700 ford: allow 0 curvature when controls are allowed if not steering (#1370) * test that we can send curvature=0 if enabled=False while control_allowed=True (let's say EPS faults, OP doesn't want to actuate) * draft * only check error if apply bit is 1 * subtest * no subtest * fix safety and tests * tests say this works * clean up * subtests are sloww * Revert "subtests are sloww" This reverts commit 560c6745c8dddfcce87113e36e3661274fbb239b. * fix test from merge * add comment * add comment * add another comment * spacing commit 07680692d99c2856e5fff6e01f5bf0d3d49c88f6 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Apr 27 17:27:18 2023 -0700 Ford: add subtests (#1371) * subtest here * and here * bit faster commit c9c3cb38f6102ed3f72cee9720293be6c581e7ee Author: Shane Smiskol <shane@smiskol.com> Date: Thu Apr 27 00:40:29 2023 -0700 Ford safety: curvature error limit (#1353) * set ford vehicle speed * parse yaw rate signals * misra * misra * misra * misra * draft * update module * already checked * and set it properly * some stuff * draft * clean up (will fail tests because we don't send yaw rate yet) * could do something like this * this is better and less prone to bugs * match simple op limiting, debugging * set checksum for messages in tests * clean up * fix that * one m/s fudge * fix sign of yaw rate * interpolate detects size * forgot OP flips the curvature sign. it matches yaw on can * all my debugging crap * make replay work for ford * fix panda blocking messages (array is fixed size so size-1 is 0 rate at high speed) * uncomment safety test limits * revert * round for zero blocked msgs * fix limits * meas safety checks that down rate is >=, not < * test pass * lots of comments and draft what one meas torque check would look like * fix that * add curvature meas * add debugging stuff * Revert "add debugging stuff" This reverts commit 449783fc625954868a1cfca48a655cac7b074cc1. * messy but at least one test passes now * draft * add max_steer * some safety clean up * and that * start with a test that works * another test that works (sort of, we need more strict panda safety without false positives) * no max curvature check (not safety related), allow any rate limits * add new function * also need to consider max val here, since OP will send up to that * and now use the function * lower to 10 * compilation fixes * clean up (no rate limiting) * remove that too * curvature diff test * more clean up * debug * ? * better names * more official * use _curvature_meas_msg_array here * bit faster * no i don't * revert that * why not just use angle_meas? * bb ll * bb deb * clean up debug vals * more * revert replay drive debugging changes * Update board/safety.h * rm line * only need to round the final thing * not needed, under 10 ms * make a class variable * fix a misra? * another misra? better * ? * 12.1 * need to explicitly convert * add one to not false trigger the violation (float rounding) * not really needed * rm line * cmt * use clamp * rename * in struct * comment * use max_limit_check * draft clean up * Revert "draft clean up" This reverts commit d1a0e8acd1d0eb2bd7b75618c7df14e15c16e134. * make a global make a global * this is fine commit 4269b74a8488bc88c5e3e9c355b623751bd2656b Author: Shane Smiskol <shane@smiskol.com> Date: Wed Apr 26 23:55:04 2023 -0700 safety: use max_limit_check (#1368) use max_limit_check commit 1e8c5d59c7aed45aaca580c99197a1248abd0209 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Apr 26 23:15:28 2023 -0700 CI: run tests with UBSan (#1363) * CI: run tests with UBSan * try this commit 7aef934d4cd740dc5f25a64cf2675b2ecf7f7525 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Apr 26 22:59:58 2023 -0700 Fix undefined behavior in GET_BYTES macro (#1367) commit f444f1554f7c076244aa00ec30531716522eb017 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Apr 26 22:37:36 2023 -0700 Ford: check second speed for mismatches (#1358) * Add second speed * 2.5 m/s is 9 kph, 4 kph is the max in the field * add quality signal * qf signal name * comment * checksum matches except it goes to zero when turning the car off despite counter still active * update comments * now test it * spacing * Update board/safety/safety_ford.h * zzzz * not needed * whoops * test vehicle state mismatch * add to safety_helpers * probably misra * we might want to check it in both speed signals in case one doesn't exist on a car * Revert "we might want to check it in both speed signals in case one doesn't exist on a car" This reverts commit 3338931409327f9c0eaa6fbd0daa9a57ef229b46. * fix formatting * 2 m/s (7 kph) * set controls_allowed directly like other safety models remove vehicle_state_mismatch * obv commit 5c21b140495ef72f36f90d26a6c740c101012752 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Apr 26 21:49:39 2023 -0700 Ford: check 2nd speed message (#1365) * Add second speed * 2.5 m/s is 9 kph, 4 kph is the max in the field * add quality signal * qf signal name * comment * checksum matches except it goes to zero when turning the car off despite counter still active * update comments * now test it * spacing * Update board/safety/safety_ford.h * zzzz * not needed * whoops * test vehicle state mismatch * add to safety_helpers * probably misra * we might want to check it in both speed signals in case one doesn't exist on a car * Revert "we might want to check it in both speed signals in case one doesn't exist on a car" This reverts commit 3338931409327f9c0eaa6fbd0daa9a57ef229b46. * fix formatting * 2 m/s (7 kph) * revert mismatch stuff commit 048ddeea4a87b8f20f7cef69ee75de7df5b71f40 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Apr 26 21:15:55 2023 -0700 safety: make addr index getter more explicit (#1361) make this explicit commit f3d6d613c0b1015fb90e51023cf67abe9ae4726f Author: Shane Smiskol <shane@smiskol.com> Date: Wed Apr 26 19:43:30 2023 -0700 safety: don't check out of bounds array item (#1360) * safety: don't check out of bounds array item * better name * cleanup --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 23b5130de9d95fa049712da9230f3ce5e076593a Author: Shane Smiskol <shane@smiskol.com> Date: Wed Apr 26 17:45:04 2023 -0700 replay drive: fixes (#1362) * make explicit, there was no bug only because the if statement is identical to above * debug * Revert "debug" This reverts commit 2ec83677c3749f805681c4874b746696767f7634. * Revert "make explicit, there was no bug only because the if statement is identical to above" This reverts commit fcb2a106b9694727ca4b5a9acf4eda3312fc4271. * fixes * clean that up * and this commit b342c2d724125b3d12b88a53c2f87ba01c8043d0 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Apr 21 15:41:26 2023 -0700 fan: add stall threshold backoff (#1357) * fan: add stall threshold backoff * Update board/config.h * cleanup --------- Co-authored-by: Comma Device <device@comma.ai> commit 08ed853bf9d3dccc0263f7bb0d0d6d3f7872f015 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Apr 21 13:47:13 2023 -0700 log total stall count in fan tuning script commit 272b81e97b89dd10d8e9e3b01d1854fb1b742feb Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Apr 20 15:44:12 2023 -0700 fan: fix stall detection (#1351) * cleanup and fix * dos must stall * clean those up * fix misra * more test * fix import * cleanup --------- Co-authored-by: Comma Device <device@comma.ai> commit 6093301bc9ad150e50a5d5391a3ec100d86602c2 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Apr 20 14:34:11 2023 -0700 add CLAMP macro (#1356) * add CLAMP macro * fix commit 3c75a8bc00f503f59a32fead3098afa88139ba07 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Apr 20 13:30:56 2023 -0700 add fan stall count to health (#1355) * add fan stall count to health * fix misra --------- Co-authored-by: Comma Device <device@comma.ai> commit 0e2eb9c0f5b33a6650ec6e5638af6f33bb5b1d63 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Apr 20 13:00:40 2023 -0700 fan debugging script (#1354) * fan debugging script * merge those * disable * better print --------- Co-authored-by: Comma Device <device@comma.ai> commit e6cad019554a7bd87d5a30ef648bd20fa91af510 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Apr 19 17:34:31 2023 -0700 H7: fix CAN FD IRQ rate (#1332) commit cf307348af6eb5d7bf4dc3f5a11e2d1f3feadfad Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Apr 18 22:17:11 2023 -0700 CI: run HITL tests on tres (#1326) * run on tres * disable those for now --------- Co-authored-by: Comma Device <device@comma.ai> commit 0b03ef5468aa737247965c3717ccc248465cdc4f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Apr 18 16:15:27 2023 -0700 HITL tests: skip internal tests on uno (#1350) Co-authored-by: Bruce Wayne <batman@comma.ai> commit d3904a9f751248cd2e887e89d0db2f6b6239f4b6 Author: Robbe Derks <robbe.derks@gmail.com> Date: Tue Apr 18 14:47:22 2023 -0700 HITL fan test (#1330) * hitl fan test * enable cooldown on dos as well * small cleanup * get expected RPM from panda class * fix * overshoot test * fix max RPM getting * fix percentage * revert cooldown fix --------- Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 237ffedcb31f8eb786aceac9b22e5224aed89b61 Author: Robbe Derks <robbe.derks@gmail.com> Date: Tue Apr 18 14:15:06 2023 -0700 Dos fan fix (#1335) * hitl fan test * enable cooldown on dos as well * small cleanup * get expected RPM from panda class * fix * overshoot test * fix max RPM getting * fix percentage * revert cooldown fix * add cooldown for dos fan as well * remove feedforward from the fan controller to eliminate overshoot * update clip * cleanup * add that back --------- Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 1f8b03666d8f8ed377e9af89cffc5b1bdd70e922 Author: Justin Newberry <jnewberry0502@gmail.com> Date: Mon Apr 17 21:47:51 2023 -0400 Subaru: add ability to send infotainment status message (#1333) * added infotainment status to panda * dont fwd infotainment status * revert placeholder and add test case * Fix test case * gen2 only * fix test case * Revert "fix test case" This reverts commit 8cc7579620100edec7ed89bf3277667a2124cd0a. * Revert "gen2 only" This reverts commit 6a511a997660010ea01658cfdb8e852b4f131855. --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 2f7962189329ce5da5d68cb3261982aaa84b0deb Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Apr 16 15:08:46 2023 -0700 improve flash and recover scripts (#1349) * improve flash and recover scripts * update references * cleanup * less spaces --------- Co-authored-by: Comma Device <device@comma.ai> commit 9cd01ac26371571432c42b901fe1ac54f393ee17 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Apr 16 14:43:58 2023 -0700 PandaDFU: retry SPI comms (#1348) * retry * set exc --------- Co-authored-by: Comma Device <device@comma.ai> commit 862b03b5c53b33a6143608bedbf53eb4a6b8c6eb Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 15 17:56:25 2023 -0700 CI: add job to update pre-commit hooks (#1346) * CI: add job to update pre-commit hooks * rm push trigger commit 6ec078db5a1bc5e34caf0e28df202a3f76617d40 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Sat Apr 15 14:34:42 2023 -0400 VW MQB: Cleanup HCA control message (#1310) * VW MQB: Cleanup HCA control message * update opendbc ref * revert this before merging * MISRA * revert Dockerfile to comma master * reverted a little too much commit ada8b49cb5940d306c529156622022be2d7fdaa2 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Apr 14 01:51:19 2023 -0700 Honda Bosch Radarless: allow alt brake (#1341) * radarless can use this * fix addr check * update opendbc ref commit 0117ff9d131eb22c0737e0758ab9178acec19744 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Thu Apr 13 17:37:48 2023 -0700 H7: Rx FIFO lost counter (#1345) * fifo rx lost counter * add comment commit fddca54fd6f9830ebbfb8efa287f902331b35f88 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Thu Apr 13 20:28:33 2023 -0400 VW: Allow inactive accel values at all times (#1247) * allow inactive accel values at all times * cleaner * unnecessary, done by default * better comments * move test to common class * fix * flip * comment * append 0 and INACTIVE_ACCEL to test accels + check acc_07 sends if inactive only * cleanup * fix that * copy testing convention of VW and Honda --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 22b8e5df7f6a5241c417775e9fec545d94889dfd Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Apr 12 16:28:45 2023 -0700 add extra fault assert in HITL tests for context commit 9e03d10857e456a4f0119f09de5a2bb76c9504f6 Author: royjr <royjr96@gmail.com> Date: Wed Apr 12 19:22:19 2023 -0400 README: better setup order (#1337) commit 0832d65347619439137900599d92cdd2b8d8d194 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Wed Apr 12 11:07:58 2023 -0700 Fix CAN message corruption on H7 under high load (#1342) * fix RX FIFO corruption * Add checksum to CANFD test data * cleaner and MISRA * nah * oops * fix test commit 6d86f546c0214448d4d339f9f85625cf08c494e9 Author: royjr <royjr96@gmail.com> Date: Tue Apr 11 22:38:02 2023 -0400 README: fix git error while trying to build (#1344) Update README.md commit 85cc70d4aa3797d0b30e22064b755b7dd472767f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 8 16:45:59 2023 -0700 safety: only pass addr to fwd hook (#1339) commit 2a567674dc2a8925ab270b6de720f2ae0e16241a Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 8 16:20:38 2023 -0700 Tesla: move reading AEB state to RX hook (#1340) commit a1390647fc650d7a52347579d15e9cf44c54bf67 Author: royjr <royjr96@gmail.com> Date: Fri Apr 7 21:05:00 2023 -0400 README: fix error while installing requirements (#1336) fixes error while installing requirements commit 878e0077ac077c5325b37710b8df856468d85674 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Apr 6 20:52:09 2023 -0700 add tres to internal devices commit 6f852b44a9ef1ee119fabf6aa2a9c477ed594a46 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Apr 5 22:05:14 2023 -0700 SPI: log checksum errors in health (#1334) * SPI: log checksum errors in health * actually send it * check in hitl teardown * check that * fix misra commit 2e8f27486f1522db6d442fb9e9c261a0a2eee1d2 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Apr 5 09:15:31 2023 -0700 spi: bump up to 50MHz commit e516a5752b56d9b95229042c5cca8c74b6a9feb0 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Apr 4 18:51:35 2023 -0700 watchdog to log fault on heartbeat loop (#1328) Co-authored-by: Comma Device <device@comma.ai> commit 0400ac28af22e63721c940e160c622b97d0c8b6b Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Apr 3 20:48:26 2023 -0700 fake siren: fix false positive fault (#1327) commit eef3d026e37e64a1ba42f70b6a9e83b2f58dad55 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Apr 3 20:21:10 2023 -0700 CI: run HITL tests on dos (#1304) * run on dos * skip voltage on dos * run these * revert that --------- Co-authored-by: Comma Device <device@comma.ai> commit 79708f912dc1681c99569b59624de74fa9341a31 Author: Robbe Derks <robbe.derks@gmail.com> Date: Mon Apr 3 17:13:02 2023 +0200 USB enumeration based on frame numbers (#1324) * use frame numbers to detect host connection * fix weird formatting --------- Co-authored-by: Comma Device <device@comma.ai> commit b6c378ad02cd7902ba8a13572b08e9c9d4ed3070 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Apr 2 09:33:35 2023 -0700 CI: set PYTHONWARNINGS=error (#1323) * CI: set PYTHONWARNINGS=error * update resetter * fix build warnings * bump jungle * fix one more * fix linter --------- Co-authored-by: Bruce Wayne <batman@comma.ai> commit 3e89b7127ad6162ccbed29ad4af10a54528ed058 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 1 23:09:12 2023 -0700 python: fix libusb deprecation warning (#1302) * update list * this one too * update dfu commit 416981d1f73aee8ffc4e936ecd79f47b35294a7b Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 1 19:28:54 2023 -0700 CI: setup tres (#1322) commit 6a8ed7f1477057144f6a9cd6e1003e76afcf2b9f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Apr 1 18:52:32 2023 -0700 CI: setup dos (#1321) * CI: setup dos * just build and flash for now * fix new device setup commit 8efbcf041c1b6da1764bb56f822609fd4bb0758f Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 31 20:11:53 2023 -0700 IsoTpMessage: return if consecutive frame last received (#1314) * what about * actually this is what we want * more explicit about this condition * frame type * add enum * use in func commit a12c0a795678373d946b644b43d9402b72e502a9 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 31 19:44:46 2023 -0700 IsoTpMessage: don't skip a byte when sending consecutive frames to subaddress (#1320) handle commit 189f0436ba3625b938015fc59e68a53a5bdba143 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 31 19:22:16 2023 -0700 IsoTpMessage: check CAN frame length (#1315) * Revert "Revert "IsoTpMessage: check CAN frame length (#1312)"" This reverts commit 09fee3e7ead96a6a9613430c81bb2d3e095aa0fe. * need to pad for the check to work * pass rx_offset up from can client * detect from internal can_client and just use it for the checks * move * revert this for another PR * fix commit c92f8ecfde847edea7778f75c25f05047b770c77 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 31 19:17:16 2023 -0700 IsoTpMessage: fix rx_len sanity checks (#1319) fix a bug commit cb3530916064b147cb7b8539035c7c0689d6ee47 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Mar 31 14:39:30 2023 -0700 spi tx timeout print commit 02eb84936b62cc37d7e3f1753cb501ebe547bf27 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 31 13:59:02 2023 -0700 UdsClient: support sub addresses (#1317) * UdsClient: support sub addresses * Update python/uds.py * Update python/uds.py commit 09fee3e7ead96a6a9613430c81bb2d3e095aa0fe Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 31 12:11:13 2023 -0700 Revert "IsoTpMessage: check CAN frame length (#1312)" This reverts commit 9349337ebb7cad601ef881265af1d27a2115d1b9. commit 7933635b54b68eda3f8a906d5e2c3ca30dbed279 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Mar 30 23:23:42 2023 -0700 IsoTpMessage: rx_len sanity checks (#1311) * add some more sanity checks for _isotp_rx_next * another PR * Update python/uds.py * cannot be bigger than 0xfff commit 23563cec7c03a5a3718b29ec206fed1c8cee8edd Author: Shane Smiskol <shane@smiskol.com> Date: Thu Mar 30 22:35:02 2023 -0700 IsoTpMessage: check not reserved frame (#1313) * add some more sanity checks for _isotp_rx_next * another PR * rever * can remove return * add back the space here tho :( * raise commit 9349337ebb7cad601ef881265af1d27a2115d1b9 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Mar 30 22:14:35 2023 -0700 IsoTpMessage: check CAN frame length (#1312) * add some more sanity checks for _isotp_rx_next * another PR * revert commit 12b9b65985edf7207a1dfd48de0b714192e6e55d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Mar 29 15:07:12 2023 -0700 fake_siren: add fault on codec enable failure (#1308) * fake_siren: add fault on codec enable failure * little shorter --------- Co-authored-by: Comma Device <device@comma.ai> commit a1e1451d1c2f23b953d82eea7691a657c9a8a75a Author: Vivek Aithal <vivekaithal44@gmail.com> Date: Wed Mar 29 10:39:25 2023 -0700 GM: Reduce steer down limit and increase driver allowance (#1281) reduce steer down limit and increase driver allowance commit 7392f24868ec018fb83b27cf7953761b0904d2bf Author: Shane Smiskol <shane@smiskol.com> Date: Tue Mar 28 00:05:35 2023 -0700 Honda tests: check endswith Base to skip test (#1305) check endswith base commit db6c50cd09f773c231f962fc0e31b4612c572b08 Author: royjr <royjr96@gmail.com> Date: Tue Mar 28 02:10:25 2023 -0400 Honda Bosch Radarless longitudinal safety (#1008) * civic22_long use long flag * maybe? * Update safety_honda.h * revert the 0x1c8 addition * init radarless safety check * correct accel parsing * add test class (WIP) * remove current_controls_allowed * Fix ACC_HUD * patch * Add missing safety to test name * Pass irrelevant test * move comment * remove unused comments * add comment to TestHondaBoschRadarlessSafety * Fix message overlap The "exceptions for common msgs across different hondas" fix does not seem to be working. Created another exception for TestHondaBoschRadarless based on the HondaNidec exception above * Fix base * remove comment * remove buttons from LONG TX * make a base Radarless test class * can't remove them, since safety doesn't check bosch * test accel limits * test accel limits * we can do the clean up in another pr --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: sshane <shane@smiskol.com> commit 01ea26e342a2b84059ee6361ee0124d7e39b036b Author: Igor Biletksyy <bs@privacy.im> Date: Mon Mar 27 10:38:04 2023 -0700 prevent host from setting wrong returned flag commit 6cb3561f1687efdc4bb04d812ab15e269b7626e8 Author: AlexandreSato <66435071+AlexandreSato@users.noreply.github.com> Date: Sat Mar 25 23:02:34 2023 -0300 safety replay: update Honda steer value getter (#1292) * safety replay: update Honda steer value getter I think now it´s right! ``` BO_ 228 STEERING_CONTROL: 5 EON SG_ STEER_TORQUE : 7|16@0- (1,0) [-4096|4096] "" EPS ``` * ops commit f29125f6ade6f0f5a5ecb5b23c1f3169fe1d80a0 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Mar 22 21:57:18 2023 -0700 DriverTorqueSteeringSafetyTest: remove useless function (#1275) Update common.py commit 7aaca348c22089abcbd695afc0430da7f28a609c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Mar 22 21:38:37 2023 -0700 HITL tests: nose -> pytest (#1301) * HITL tests: nose -> pytest * run all * add back partial tests * big speed up * fix skipping * enable all * that's expected * clean up after ourselves * jungle is fixture * fix --------- Co-authored-by: Bruce Wayne <batman@comma.ai> commit c5cd0a0232039807ab95b68babb91c91f3a5319d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 21 18:49:58 2023 -0700 Enable siren for multi-panda setups (#1300) commit ba7d21805a0a0d6770a522ef6c39bca537361e61 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 21 18:49:47 2023 -0700 ci: lower safety test timeout commit ba50c2ffee990ca3cbfdcebd1cf750c9046a11a7 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Mar 21 12:42:02 2023 -0700 safety tests: fix for common longitudinal accel class (#1299) * fix * fix * something that would catch this commit 2136e2e45bf083d36b6cfc451fce6bff40dc48da Author: Shane Smiskol <shane@smiskol.com> Date: Tue Mar 21 12:24:33 2023 -0700 safety tests: add common longitudinal accel class (#1298) * add longitudinal safety test class * rename to accel_cmd_msg * line * do hyundai * set default min and max accel * revert * thanks pylint commit d70fa4e1200ad47c66587c78fd90030a3be1cc43 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 21 11:19:12 2023 -0700 tres: fix fan spin on startup (#1297) * tres: fix fan spin on startup * new init commit f658ecdd75649441179928eafcaff64001f147c0 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Mar 18 20:35:55 2023 -0700 ci: speedup safety tests commit e4cc97d8826dc95a7833b859c36948302445a499 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Mar 16 22:56:25 2023 -0700 Toyota: check SETME_X64 signal for LTA (#1296) * check SETME_X64 * use itertools.product for better coverage * fine commit c83d6894ef273424cb1b388dac9bc037f862692d Author: Shane Smiskol <shane@smiskol.com> Date: Thu Mar 16 22:32:56 2023 -0700 Toyota: base LTA safety (#1295) * part 1 of clean up * make it work and pass * remove lta stuff * remove commented lta tests * more * move test back to where it was * rm line * rename that * fix that * start to add LTA * angle test * fix tests and add base stock longitudinal class * formatting * clean that up * convention * add ALLOW_DEBUG commit 7fdc66b95778feda476a81ec14e57b98e5dda508 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Mar 16 21:58:38 2023 -0700 Toyota: more modular safety tests (#1294) * part 1 of clean up * make it work and pass * remove lta stuff * remove commented lta tests * more * move test back to where it was * rm line * rename that * fix that * we always want to enforce LTA disallowed actually * not sure if these are helpful * endswith("Base") commit c0aea3273a82a91f10554b1b3317727da99f4564 Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Mar 16 14:15:43 2023 +0100 Tres: fan cooldown + no stall recovery (#1287) * add fan cooldown * refactor to be inside the fan driver * fix rebase --------- Co-authored-by: Comma Device <device@comma.ai> commit 56fae8a2833d251c9180365ca1323a2dc11824c9 Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Mar 16 11:24:57 2023 +0100 pin SCons to fix safety tests commit 6585cae978cf738d0077ac6bf1d3d4e61ca813b1 Author: AlexandreSato <66435071+AlexandreSato@users.noreply.github.com> Date: Thu Mar 16 01:19:05 2023 -0300 safety replay: update steer value getter (#1273) * toyota torque on toyota for safety replay * Honda torque on Honda for safety replay * Chrysler torque on Chrysler for safety replay * Subaru torque on Subaru for safety replay * fix * Honda is Big Endian! * Update helpers.py * we already do this every where * Update tests/safety_replay/helpers.py * Update tests/safety_replay/helpers.py * Update tests/safety_replay/helpers.py --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 09ad59489e6e342bd8f042c0076219a0d7ab33b6 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 14 21:48:42 2023 -0700 tres: adjust siren volume (#1290) Co-authored-by: Comma Device <device@comma.ai> commit 75792fb25591f55b04a4ab4c87d305dac4f37d2c Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Tue Mar 14 14:49:39 2023 -0700 Fix different ADC scales (#1288) * different ADC scales * add HITL * we had it, remove commit 0afee2e0ff5c8c07b27e7c1d554574e4f701d46b Author: Vincent Wright <vincentw@kmwperformance.com> Date: Mon Mar 13 20:24:02 2023 -0400 Raise max steer limits for Ram DT (#1284) * Raise max steer limits for Ram DT * Update test_chrysler.py --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit f674084db5c10e09c22deda53be0d54a126a47d3 Author: martinl <martin@mlp.ee> Date: Tue Mar 14 01:21:43 2023 +0200 MacOS: use gcc-12 for building tests (#1241) * MacOS: use gcc-12 for building tests * Update README.md --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 3a5bbc6f201714e3fabda9629cedebc279282b15 Author: Jason Young <46612682+jyoung8607@users.noreply.github.com> Date: Mon Mar 13 16:36:41 2023 -0400 VW PQ: Corrected message name for ACC_GRA_Anzeige (#1286) commit b231281c8b2c79c46892576dee4c8a56d5e0b2d2 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 7 20:12:23 2023 -0800 python: check SPI response length (#1280) * python: check SPI response length * fix read bytes --------- Co-authored-by: Comma Device <device@comma.ai> commit 79210e8c2b8dbddda474cafd68d7ee0c8d0e4a40 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 7 15:18:11 2023 -0800 faster timeout for initial connect commit 2de714011715618255972135f4ea5aab585a16f4 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 7 14:55:15 2023 -0800 SPI support in bootstub (#1227) * always build spi * no dos for now * spi gpio init * detect bootstub * cleanup * revert that * move fx stuff * fix linter * set erase timeout * fix types * cleanup --------- Co-authored-by: Comma Device <device@comma.ai> commit deaad254d9ae75c1b9c0b28ced14d2c4bfc903ca Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 7 14:44:10 2023 -0800 python: non-zero default timeout (#1279) * non-zero default timeout * respect timeout in spi commit df7952ec136f1a54ed83fe62d3d44bed6c93d202 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Mar 7 13:47:55 2023 -0800 python: add helper to check if up to date (#1269) * python: add helper to check if up to date * current * handle is always basehandle * update that * Update __init__.py --------- Co-authored-by: Bruce Wayne <batman@workstation-production.internal> commit 544cf2ba825f7658a57c022137dab1fbf320a2f4 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Mar 6 22:26:56 2023 -0800 bootstub: add hw type endpoint (#1278) commit efb36197bb5a39b516f9ffd85daea5037b7d0c0f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Mar 6 21:52:08 2023 -0800 PandaDFU: SPI support (#1270) * PandaDFU: SPI support * get mcu type * program bootstub * little cleanup * more cleanup * connect by dfu serial * time to remove that * none * fix linter * little more * catch --------- Co-authored-by: Comma Device <device@comma.ai> commit 18230831f311a553ef64e55c1f418cb155eb3d7d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Mar 6 09:24:00 2023 -0800 PandaDFU: abstract out USB comms (#1274) * wip * revert that * split list + connect * some more * mypy fix * add clear status back * rename * cleanup * cleaner mypy fix --------- Co-authored-by: Comma Device <device@comma.ai> commit 946f952aa7fd84b5fad7608486efa84ff70e7b5b Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Mar 5 20:19:27 2023 -0800 DFU HITL tests (#1276) * DFU HITL tests * fix + types * fix * clear first commit e0e754de2c7fdbf943dd02db203b7bb40bf3e9b5 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Mar 3 20:48:04 2023 -0800 safety replay: make Ford work (#1272) * make replay work for ford * revert debugging stuff * clean that up commit f7ba061279e2232648cd49c755001686061e2a60 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Mar 1 19:17:40 2023 -0800 Ford: test quality flags (#1266) * adeeb Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * check checksum * think pylint won't like this * complete test * do this * no need --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit cb0cbf10d7bb157073d597e5c6bebbb72ddaeba5 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 24 23:03:21 2023 -0800 Ford: set quality flags, checksum in safety tests (#1265) set quality flags, checksum commit 8bb62cf2268d95190750848aa173f38c7063a2be Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 24 22:54:51 2023 -0800 Ford: check quality flag (#1264) * quality flag support * add NULL to other safety modes * add to safety helpers debug print * comment * rename to quality_flag and add comment commit a5ddde5d20c72edb0770f237ff4198e82d902cf4 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 24 19:44:37 2023 -0800 Ford: check checksums (#1263) * add signal names * add checksum for BrakeSysFeatures * add yaw data * order * misra commit 384211eb130c8e6e6bd0b01c7d5b2b6c63caca88 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 24 17:10:42 2023 -0800 Ford: check counter for yaw rate (#1262) add yaw rate commit f07309f74bf1bc7643d7f96459d9ff54564e5e46 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Feb 24 16:51:10 2023 -0800 Ford: set vehicle speed and check counter (#1261) * set vehicle speed and check counter * organize * fix * and test it properly * fix horrible bug :( test_models now passes! commit 1923b1418933e464ff7460a3e0a05d63aad0d53b Author: Robbe Derks <robbe.derks@gmail.com> Date: Fri Feb 24 16:59:58 2023 +0100 RTC: increase LSE drive strength on H7 (#1252) * higher LSE drive strength * split out init per chip type --------- Co-authored-by: Comma Device <device@comma.ai> commit 26ae1599bad265e4cb672b136897b5b72b6817e7 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Feb 23 21:09:48 2023 -0800 safety tests: refactor for cars with standstill bits (#1259) * need this * clean up * pass on _speed_msg commit ff39bc472dba46df92ddf75e8bf9a262f393bf31 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Feb 22 20:05:33 2023 -0800 Angle control safety: match openpilot limits (#1254) * make limits match OP * make tesla match too * fudge speed * we reason * needs to be negative commit a99f85dc8cf2223cb5c20113e7fab2e882c6c54f Author: Shane Smiskol <shane@smiskol.com> Date: Wed Feb 22 19:46:07 2023 -0800 Nissan: use averaged left and right wheel speeds (#1255) * average left and right for a more accurate speed * fix * fix (again) commit d076e9fb75501632b11fe50ca0787811db6aa715 Author: Comma Device <device@comma.ai> Date: Wed Feb 22 15:49:11 2023 +0000 fix register divergent commit 9fe24bd3683377146b04c68ab94d0935f0bd9d78 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Feb 21 15:34:09 2023 -0800 Revert "GM: update steering limits (#1239)" (#1248) This reverts commit 0d2ee009218009173f26c73a16aefa12dd169de8. commit d2c2d5f926537a132a253277998ef350fe866d27 Author: Robbe Derks <robbe.derks@gmail.com> Date: Mon Feb 20 13:47:35 2023 +0100 Fix short pulse of relay drive after reset (#1244) fix order of gpio init Co-authored-by: Comma Device <device@comma.ai> commit 0d2ee009218009173f26c73a16aefa12dd169de8 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Feb 14 12:55:26 2023 -0800 GM: update steering limits (#1239) * lower steer down val, increase allowance * fix test fail --------- Co-authored-by: nuwandavek <vivekaithal44@gmail.com> commit d6af117c6297c9594e0ce0a747a3de2f271b3368 Author: Robbe Derks <robbe.derks@gmail.com> Date: Tue Feb 14 12:16:15 2023 +0100 Microsecond timer fix (#1236) * add microsecond timer readout * add CI test * fix commit 14051f9ce3c9cbaf7044c81c9902dd0f1cea3980 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Feb 13 14:13:40 2023 -0800 Chrysler: revert rate limit increase (#1240) * Revert "Chrysler: add flag for alternate steer limits (#1238)" This reverts commit d15250cb1454292c6f1217c79642b9ffd93e7595. * Revert "Chrysler: increase torque rate limits (#985)" This reverts commit ae051c94a393550ab8d70c594fc9dfb49bc9aed8. commit 17450b277dadde7c53b7100601f7c9db40ee5fc3 Author: Shane Smiskol <shane@smiskol.com> Date: Sat Feb 11 12:25:13 2023 -0800 Same mypy checks as openpilot (#1233) * no specific revision for mypy * bump to ~OP version * same warnings as openpilot * ignore * fix * rm that * switch to ignore so mypy lets us know when it's fixed --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit d15250cb1454292c6f1217c79642b9ffd93e7595 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Feb 10 22:20:50 2023 -0800 Chrysler: add flag for alternate steer limits (#1238) commit 796d771912ef84a5f245d32b7dcfa9aa303061a3 Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Feb 8 16:01:14 2023 +0100 Enable control over the fan on C3 while still in the bootloader (#720) * GPIO control over the fan from ABL * fixes * leave this todo --------- Co-authored-by: Comma Device <device@comma.ai> commit 7d27eb10fb32095e73f60c59a123cae08cc53719 Author: Shane Smiskol <shane@smiskol.com> Date: Tue Feb 7 23:33:51 2023 -0800 GM: adjust steering rate limits for slower message rate (#1235) * Adjust GM steering limits for 50Hz -> 33Hz change * fix test commit 82151aaffefbb460887d09f4f5e29092d3b669ba Author: Shane Smiskol <shane@smiskol.com> Date: Tue Feb 7 20:02:06 2023 -0800 usb handle: ignore types (#1234) ignore types commit 0f964c6db3a0c1d30b8fd3ccc3fe4a91a48477e1 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Feb 2 23:02:03 2023 -0800 Ford: lateral motion control safety (#1228) * assert the other signals are zeroed * add to tja function * fix misra * test * should tx * ? * rm line * up here * Update tests/safety/test_ford.py * faster * adjust round commit 6ec0c80754cffab078001c4b73b313abbaf38629 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Jan 28 16:01:54 2023 -0800 python: common base handle for SPI + USB (#1231) * base handle * usb handle * rm * more types commit e7f36a2992b353d7d66fbb697d166d4de8718c99 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Jan 28 14:41:52 2023 -0800 python: assume F4 MCU for bootstubs without bcdDevice set (#1229) * python: assume F4 MCU for bootstubs without bcdDevice set * cleanup commit 6ae5212d6a796f87ef612996f8f98a8b8aa4222f Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Jan 28 00:32:07 2023 -0800 python lib: add SPI bootloader support (#1224) * talk to spi bootloader * flashing bootstub * reset * get mcu type * little more * pull out low level panda comms * lint * program app --------- Co-authored-by: Comma Device <device@comma.ai> commit 76d0459182d544d17c86d8b352e9cc1c26035f4d Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Jan 26 20:54:11 2023 -0800 cleanup MCU definitions (#1226) * cleanup MCU definitions * rename * enum * enum * fix that commit 33e576214d4fa437b6a4b0f87ac36fa9d87e63ea Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Jan 26 18:06:02 2023 +0100 Tres: enable IR power irregardless of fan state (#1225) * enable IR power irregardless of fan * fix misra Co-authored-by: Comma Device <device@comma.ai> commit ae051c94a393550ab8d70c594fc9dfb49bc9aed8 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Jan 25 18:51:36 2023 -0800 Chrysler: increase torque rate limits (#985) commit 687676be4025d9caf9520be89cb328d6a3cc3e10 Author: Robbe Derks <robbe.derks@gmail.com> Date: Tue Jan 24 13:50:51 2023 +0100 Add timeout to spi driver (#1223) add timeout to spi driver Co-authored-by: Comma Device <device@comma.ai> commit 9b23622e91a2cc39a2218c387ed9fe4d1adb80d0 Author: Igor Biletksyy <bs@privacy.im> Date: Mon Jan 23 17:23:33 2023 -0800 RP: pull USB_EN up commit 0535f5f779ff6e989737d6384d3200a333426ad1 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Mon Jan 23 15:05:16 2023 -0800 small HITL test speedup (#1222) * small speedup * cleanup * parallel connect * little more * less flaky * update number of pandas Co-authored-by: Bruce Wayne <batman@comma.ai> commit 20365336705b33e914e53373e4e043340569deef Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 22 21:49:14 2023 -0800 python: show SPI pandas in list (#1216) * refactor connect * spi list * add back bcd * couple fixes * fix Co-authored-by: Comma Device <device@comma.ai> commit bf3791bdf255a6a0df44772ac4918eea53012766 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 22 16:47:59 2023 -0800 CI: speedup CAN FD tests (#1221) speedup canfd Co-authored-by: Bruce Wayne <batman@comma.ai> commit 97ad63b58640ff02277c6f7122f1d593a23e285a Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 22 16:20:35 2023 -0800 CI: faster and more reliable HW reset (#1220) * CI: faster and more reliable HW reset * little more speed * cleanup Co-authored-by: Bruce Wayne <batman@comma.ai> commit 4750449f3cc41e2dc8141b4818025c5c538dad17 Author: Igor Biletskyy <briskspirit@users.noreply.github.com> Date: Thu Jan 19 17:07:50 2023 -0800 RP: obsolete USB load switch (#1219) commit 3743b2de5136debc384409b09d06a761a62ee086 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Jan 18 16:31:51 2023 -0800 chiplet: move OBD_SBU_RELAY2 to PA3 (#1217) Co-authored-by: Igor Biletksyy <bs@privacy.im> commit 60cf9e9d224f6f0fcf680e7984952bd80afd2ec4 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Jan 18 14:32:25 2023 -0800 Revert "chiplet: move OBD_SBU_RELAY2 to PA3" This reverts commit a0bd6bb21adcf848d47501bdb37714032ccca966. commit a0bd6bb21adcf848d47501bdb37714032ccca966 Author: Igor Biletksyy <bs@privacy.im> Date: Tue Jan 17 16:27:00 2023 -0800 chiplet: move OBD_SBU_RELAY2 to PA3 commit 0e5a2a47da6250e7a805eb31cce065f03c660352 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 15 23:51:25 2023 -0800 python lib: print() -> logging (#1215) * python lib: print() -> logging * fstrings are fine commit 3048760737a7b806d34e096e2111bb34b5af1393 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 15 23:30:24 2023 -0800 SPI: connect by serial/UID (#1213) * SPI: connect by serial/UID * cleanup * not everyone can have spi * fix that * move that * mypy fix Co-authored-by: Comma Device <device@comma.ai> commit b8693da342c87da9f5b925726f296a2c7ab57c91 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sun Jan 15 20:13:26 2023 -0800 add comms handler to get MCU UID (#1212) * cleanup first * get uid * add to bootstub and test * fix pedal * match that Co-authored-by: Comma Device <device@comma.ai> commit fa678e28fca7e017f8233ffc8b53096e3f7d8514 Author: Willem Melching <willem.melching@gmail.com> Date: Sun Jan 15 21:51:22 2023 +0100 MacOS: no spidev package (#1211) commit e83b2189c148499b8ba430433886791217f3389a Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Sat Jan 14 23:32:17 2023 -0800 lock spi device during transfers (#1207) commit bdf39a451ed983417a73724e40b9aca944a1f629 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jan 13 16:17:20 2023 -0800 Panda: context manager support (#1209) * add __enter__ & __exit__ to Panda * some examples * another example * even more * use it here too commit 520b9f1a8ee06789abaf10742633e34033af9ee6 Author: Cameron Clough <cameronjclough@gmail.com> Date: Fri Jan 13 15:24:25 2023 -0800 examples: choose panda for fw query (#1076) * examples: choose panda for fw query * add type names * add types and names to lists * cleanup * better output * exit code * dict * delete * get_type returns a bytearray * simplify (okay to rely on Panda for this error catching) * finish up * not required for our use case * clean up * revert Co-authored-by: Shane Smiskol <shane@smiskol.com> commit 6f26866245cbe733130110fce93c26c81e8ef331 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Jan 13 15:20:42 2023 -0800 query_fw_versions: add arg to not multiplex bus 1 to OBD-II port (#1210) * add arg to not multiplex (useful for auxpanda) * formatting * consistent quotes commit 11d90f9e78b1c070e44e02d5d8c2b18790617324 Author: Robbe Derks <robbe.derks@gmail.com> Date: Fri Jan 13 10:59:58 2023 -0800 No more magic for the can chunks (#1191) * no more magic * bump version * no need for this * comment cleanup * add comms_can_reset tests * we can't ensure this for compatibility reasons * add CANPacket_t checksum commit 0b3b9060365739eeeddb1528cfe4018fec4efe7a Author: Shane Smiskol <shane@smiskol.com> Date: Tue Jan 10 22:00:20 2023 -0800 VW: match openpilot standstill check (#1064) * VW: match openpilot standstill check * fixes * check > 0 * fix comments * misra * better commit 744b21ef697b1716a03458801c08d5b5d1f3e2af Author: Robbe Derks <robbe.derks@gmail.com> Date: Tue Jan 10 15:09:51 2023 -0800 Bring back green led mode + fix small python lib bug (#1206) bring back green led mode Co-authored-by: Panda Provisioning <panda@comma.ai> commit 8b513970c38138ef638fd78e07e686f76ba0c5ec Author: Willem Melching <willem.melching@gmail.com> Date: Tue Jan 10 02:27:46 2023 +0100 fix debug uart buffer size (#1204) commit 3034180753f09987e5cf410d33ca3279873da33d Author: Robbe Derks <robbe.derks@gmail.com> Date: Mon Jan 9 14:27:18 2023 -0800 Reset CAN ign when the specific message is not seen anymore (#1200) commit 0b58cb9e3c4cb2a056d279dc4c508d8d3f9bbea7 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Dec 20 23:05:04 2022 -0800 lower spi ack timeout commit 5486eb38458faa3df6b8c4f5d4f0ca35f8c63048 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Dec 20 22:07:24 2022 -0800 python lib: add SPI ACK timeout (#1199) * python lib: add SPI ACK timeout * fix that Co-authored-by: Comma Device <device@comma.ai> commit 345147fe2bc3a06c44709426f9fcd298588b9fe4 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Dec 15 15:50:15 2022 -0800 tests: clean up abstract methods (#1196) * don't need to redefine _torque_cmd_msg in abstract subclasses * fix * pylint has a bug? * test pylint * clean up commit eed75e72328438ddc4e7afe52067f48259f183c2 Author: Shane Smiskol <shane@smiskol.com> Date: Thu Dec 15 15:30:21 2022 -0800 Bump opendbc ref and update pylint (#1197) * Update opendbc ref * fix linting * fix linting * bump opendbc ref and pylint to fix import error bug * ignore unspecified-encoding (openpilot does this) * this will fail until openpilot is bumped * bump openpilot * wait... this works now?! * bump opendbc to master commit 6ba9afc33edc92c943509c266fb81c8cddf61202 Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Dec 14 16:12:09 2022 +0100 H7 clock source (#1194) it's literally the same everything Co-authored-by: Comma Device <device@comma.ai> commit 1d732d4747ea81c199906e9f1fc620911fb8add0 Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Dec 14 15:30:04 2022 +0100 F4: Cleanup clock src, second try (#1193) * F4: cleanup clock source * little more * void * restore the timer setup Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: Comma Device <device@comma.ai> commit d1d1f8a22d0bd8174e9a7710ca9d91d2a92830ce Author: Robbe Derks <robbe.derks@gmail.com> Date: Wed Dec 14 11:25:54 2022 +0100 Fake siren (#1192) * DAC POC * change freq * some cleanup * wip: cleaning up and trying to use DMA * no clue why this doesn't work * this works * wip multi-master i2c for fake siren * cleanup and some more i2c stuff * seems more stable * retry disabling and cleanup force siren * fix misra violations * not needed * messed up rebase Co-authored-by: Comma Device <device@comma.ai> commit 9e5c28e568a1efe4bac340b48b3c16aafc82e84c Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Tue Dec 13 20:21:04 2022 -0800 safety replay updates for CAN-FD commit d375ce64217a9cc489ae28fac0f8123111c18497 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Dec 8 16:14:22 2022 -0800 jenkins updates for new master commit 93ecd31d3d5f94d03fd314e2765f45c467bba731 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Dec 7 22:23:41 2022 -0800 don't clog up jenkins build queue commit 4edd1a602131ec2f09a604a4bd28e7d00e334458 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Fri Dec 2 23:34:06 2022 -0800 Hyundai: alt steering limits (#1186) * Hyundai: alt steering limits * parans commit a6d0765b698e37e223616d21b59599aef0a67588 Author: Shane Smiskol <shane@smiskol.com> Date: Fri Dec 2 16:45:23 2022 -0800 safety: common angle checks (#1182) * common angle checks * clean up * clean up check and add comments * readable * ints * tests draft * clean up * comment * pylint exception * clean up * duplicate commit 6e8a4fcc380de539be94b5da7a7d344ea05dca1d Author: Shane Smiskol <shane@smiskol.com> Date: Fri Dec 2 16:05:35 2022 -0800 safety tests: common angle tests (#1185) * basic formatting * common tests * assert truthfulness * ignore single pylint exception * wya too many lines commit 616450c525a7c1ef508f70f30e29547a606139aa Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Thu Dec 1 20:04:30 2022 -0800 tres bootkick (#1183) * tres: bootkick * replace usb enum Co-authored-by: Comma Device <device@comma.ai> commit 288e14cde904a5755ebb32b0853631ac7fbf5968 Author: Robbe Derks <robbe.derks@gmail.com> Date: Thu Dec 1 08:38:00 2022 +0100 Simple CAN chunking (#1011) * simple chunking * make pylint happy * misra happy? * good practice anyways since we cast to a uint32_t later * fix bug dropping packets * minor fixes + prepare for shared lib testing * working library now * first queue test * can send test * fix running in github actions? * add big rx test and fix it * don't complain about empty buffers * disable for now * comment * test runs * some cleanup * merge those * test works * rm that * comment * proper logging * makes things too slow Co-authored-by: Comma Device <device@comma.ai> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> commit 88b30e1a8487381b171b9e8f04900d088c3ac5a1 Author: Adeeb Shihadeh <adeebshihadeh@gmail.com> Date: Wed Nov 30 22:12:28 2022 -0800 CAN comms test (#1181) * CAN comms test * remove those * cleanup * little more commit b238d41979970b52f9a2edb07489989f926311d1 Author: Shane Smiskol <shane@smiskol.com> Date: Wed Nov 30 22:09:13 2022 -0800 safet…
Edison-CBS
pushed a commit
to Edison-CBS/panda
that referenced
this pull request
Jul 20, 2023
* tres: bootkick * replace usb enum Co-authored-by: Comma Device <device@comma.ai>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.