Commit Graph

385 Commits

Author SHA1 Message Date
Riccardo 133269a1a4 Added fwd test coverage for Toyota, Hyundai and Chrysler too. Removed replay tools for Chrysler, as a generic replay tool has been recently added 2019-06-11 19:24:08 -07:00
Riccardo a4653e2d7f Added fwd hook coverage to safety regression tests 2019-06-11 18:16:48 -07:00
quillford cd20d123c4 refactor tests/safety to use generic hooks (#208)
* refactor tests/safety to use generic hooks

* cleanup refactor

* removed dead code
2019-06-11 01:31:00 -07:00
Riccardo 38f4288f1e running misra also specifically for safety code 2019-06-10 21:58:01 -07:00
quillford c381a470b1
replay test (#205)
replay drives to test for safety violations. fails if any messages are blocked while controls are allowed
2019-06-07 17:12:02 -07:00
Riccardo 274f9ce06d Misra: separately save the cppcheck output in its own artifact 2019-06-07 15:39:30 -07:00
Riccardo 20171596f7 update cppcheck ref to have more comprehensive misra checks 2019-06-06 16:00:53 -07:00
Riccardo 7f8babb8ad Much more thorough limit safety tests on Honda, also switching long_controls_allowed 2019-06-05 16:14:10 -07:00
Riccardo 71099efaba AddedToyota safety test around long_controls_allowed logic and fixed a bug 2019-06-05 15:29:09 -07:00
Riccardo 07fd31e921 added long_controls_allowed tests in GM 2019-06-05 14:52:48 -07:00
Riccardo 6ce580a062 added function to get/set long_controls_allowed 2019-06-05 14:40:07 -07:00
rbiasini 09714e3a44
Toyota gas cancellation (#200)
* cancel on pedal press for toyota.
2019-06-05 13:38:59 -07:00
Riccardo 436b203e0b Honda safety: fixed bug and properly abstracted gas_interceptor_detected variable 2019-06-04 13:36:46 -07:00
Riccardo 220cc8f4b5 Honda safety: this concludes the proper re-naming 2019-06-04 12:43:50 -07:00
Riccardo a00a50c622 Honda safety: better naming 2019-06-04 12:21:52 -07:00
Riccardo 95b010943f Toyota: fixed regression safety tests 2019-06-03 16:53:03 -07:00
George Hotz b35f6ff566 legacy build is no longer supported 2019-05-23 13:23:21 -07:00
George Hotz 3810452a02 WTF WHY WAS THIS SHIT PUT EVERYWHERE 2019-05-23 12:39:54 -07:00
Willem Melching 4396fb9e8e
Update jenkinsfile (#193)
* updat jenkinsfile

* skip wifi flash tests

* flah esp

* Revert "skip wifi flash tests"

This reverts commit 530ccb780d.

* dont build release ESP code
2019-05-21 09:09:30 -07:00
rbiasini 1aa00c95ee
Misra c2012 (#192)
* Started making panda misra compliant: this fixes some of 12.1 warnings

* Also added a regression test for strict compiler warning
2019-05-20 22:13:45 -07:00
Nigel Armstrong f8ab74a1cc L-line relay (#166)
* Initial version of L-Line Relay

* lline relay fix build, add to health

* Add lline relay to safety

* Lline relay fix build

* Fix tests

* Add lline safety init. Dont fwd with relay closed

* Turn on relay with CAN

* relay hook

* More reliable lline relay

* Longer LLine timeout

* Only turn on wifi if not eon

* Dont disable ESP in early

* Allow CAN to be turned off

 - CAN is turned off via USB.
 - CAN is turned on when either try to transmit or can is received
 - If only transmit is asleep, all messages should send okay
 - If receive is alseep, will miss first message while waking up
 - Sometimes will report error on second message while CAN perif wakes up
 - Saves 130mW!

* Power Saver Mode

 - Gray Panda power consumption 650mw -> 325mW
 - Turns off CAN, GMLAN, LIN, GPS when no activity for 10s
 - No acitvity is no CAN send, CAN Recv, Write to GPS

* Fix power_saving to better turn off can

 - On some cars when the can is turned off, it triggers a wakeup.
 Delaying the automatic wakeup seems to fix this

* Don't save power in pedal

* Fix relay clicking on startup

* Fix duplicate include

* consistent relay setting

* relay_status can be added when needed, as it's started_alt was consumed in other places

* need to skip forwarding only if relay control is claimed

* unneded change

* make lline_relay.h not depending on can.h

* less spaghetti I guess

* less lines

* reset pedal changes

* no unused input

* update version
2019-04-11 21:03:15 -07:00
Nigel Armstrong 1d2f8f0abf
Jenkins (#179)
* Improve panda automated testing

 * begin testing both white and grey panda
 * Improve wifi reliability

* First commit for docker

* Fix usb devices not showing up on reconnect

* Add tests for two pandas, latency and throughput

* Add Jenkinsfile

* Allow flashing release on wifi

* Fix Jenkins stuck in DFU mode and docker container running

* Add pandaextra from xx to docker

* Need more time for ST to restart, sometimes

* Add xml output to tests

* Try making wifi more reliable

* Fix infinite loop in ping

* Check connected after flash

* Cleanup two panda tests

* Try fixing failing test with check after udp

* Try to fix with sleep

* Temporarily run just 5 and 6

* Cleanup

* Desperate times call for desperate measurse

* BUGFIX: power saving when rx only

* Fix failing when white panda is first after udp

* Test both Dev and EON build

* Jenkins test results for both builds

* Better test case naming
2019-04-09 14:09:18 -07:00
quillford 62d4219762 debug_console.py: exit when no pandas found (#175) 2019-04-01 15:01:20 -07:00
Riccardo c6eeaad667 Subaru: added last engage/disengage regression test 2019-03-13 20:17:19 -07:00
Riccardo Biasini 37d46e0c78 Subaru: added subaru safety tests 2019-03-13 11:52:50 -07:00
Riccardo Biasini e437b9b4b1 Subaru: fixed bug and added safety tests 2019-03-11 02:12:22 -07:00
Riccardo Biasini 4f73cb48b8 Toyota pedal: checking for no pedal being commanded when openpilot is off 2019-03-02 15:22:09 -08:00
Drew Hintz 7b504d2f88 panda safety test that replays drives of saved CAN messages (#151)
* panda safety test that replays drives of saved CAN messages

* utility to trim Cabana CSV logs to just messages relevant for panda safety testing

* when trimming, only output the same line once even if it matches both criteria
2019-02-21 13:35:04 -08:00
Riccardo 93266a9fa7 Hyundai: allow the same max steer torque as stock 2019-01-28 21:46:13 -08:00
Riccardo be0061dccb Chrysler: safety now based on motor torque 2019-01-02 21:53:07 -08:00
Riccardo Biasini 039d1834b6 Chrysler: fixed regression test 2019-01-01 20:00:11 -08:00
Riccardo cf3ecd629d Chrysler safety: re-using hyundai framework 2018-12-28 19:20:57 -08:00
Drew Hintz 799c33868d Chrysler safety controls (#130)
* Chrysler safety model and tests.

* fix comments

* when ACC is canceled, disallow controls

* update SAFETY_CHRYSLER value in Python API and add other SAFETY values
2018-11-06 12:28:33 -08:00
Riccardo 8291971d9a Toyota: using a more generalized CRUISE_ACTIVE bit that works on all cars 2018-11-04 13:57:25 -08:00
Robert Cotran 6385551f29 Added Tesla safety changes. (#132)
* Added Tesla safety changes.

* Use generic interpolate function from safety.h

* Moved Tesla safety include to within IFDEF PANDA as legacy neo boards don't support floats used in Tesla safety code

* Remove double-pull code and time tracking from CAN message.

Better enclose Tesla-relevant code in ifdef PANDA due to use of floats

* Changes as per requests by @rbiasini from conversations in https://github.com/commaai/panda/pull/132

* Removed unused variable

Do interpolation check at every step (not every 25)

Change tesla safety constant number to 8, not 7

* Add the HYUNDAI safety number

* Remove unused struct and function (fsample)

* fix build

* Add stub gmlan implementations in safety tests
2018-10-04 19:22:10 +02:00
Riccardo 627713948a GM Volt: allowing 300 max steer 2018-09-20 16:42:11 -07:00
Riccardo 63b7926364 Hyundai safety: temporarily disabled button spam check to avoid camera faults 2018-09-07 20:43:13 -07:00
Riccardo f2292e420b Hyundai: added safety check for button spam 2018-08-31 22:47:50 -07:00
Riccardo 5398abff5f Hyundai safety: added tests for cruise enable/disable too 2018-08-30 00:16:58 -07:00
Riccardo a91d7efad7 added hyundai regression test 2018-08-30 00:04:05 -07:00
Riccardo ba8762d5a3 Toyota safety: vars and consts need 'toyota_' prefix 2018-07-17 19:43:06 -07:00
George Hotz 9ab6a56260 gmlan recv test 2018-06-15 16:56:11 -07:00
George Hotz a1a2d979f0 gmlan test 2018-06-15 16:55:31 -07:00
George Hotz bb41ff753d test 2018-06-15 16:28:14 -07:00
Riccardo 813218deae GM: allowing higher brakes in Volt, so decel can reach between 3 and 3.5 m/s2 2018-06-14 14:12:16 -07:00
rbiasini 38a9ea9ad9
added gm safety for steering (#123)
* added gm safety for steering
* safety tests done for safety_gm
2018-06-13 23:13:59 -07:00
George Hotz e21447765e use timer for can bitbanging 2018-06-11 10:06:10 -07:00
George Hotz ed2920cf8a support extended addressing in canbitbang 2018-06-11 09:02:11 -07:00
George Hotz 223a1fb68f cleanin it up 2018-06-10 23:40:58 -07:00
George Hotz 1ba79077bd that space tho 2018-06-10 23:30:52 -07:00
George Hotz d917386bf8 bitbanging works 2018-06-10 23:29:20 -07:00
George Hotz 74af4417db can crc 2018-06-10 23:11:29 -07:00
George Hotz 932d727867 bit stuffing support 2018-06-10 22:52:53 -07:00
George Hotz be22522714 bros ok match bros 2018-06-10 16:48:53 -07:00
George Hotz 55da0b654f rigol yea, dj pauly d yea 2018-06-10 16:33:34 -07:00
George Hotz a577583530 working on gmbitbang 2018-06-10 16:23:54 -07:00
Ted Slesinski 7caba241d0 Addition to Bosch safety to support Hatchback (#111)
* Addition to Bosch safety to support Hatchback

The computer brake is shown on 0x17c sensor on Accord and CR-V. We assumed all Bosch Hondas had the new 0x1be message which reports manual brake, but Civic Hatchback is not like this- It doesn't have this message and 0x17c works like the other Hondas so we are are passing a parameter from Openpilot for this.

* Renamed variable

* Make comment more descriptive

* Added safety check for cancel-only spamming

* Add regression test for brake on accord and crv

Init with bosch safety variables

Some more testing changes (still broken)

Make second test work

* Adds one more ttest

* Cannot implicitly convert type 'int' to 'bool '

* ok to spam resume if controls_allowed==true

* need to use current_controls_allowed. Still need to fix the message blocking

* checking for bus 0 on button spam

* better to use the car name in front of global vars

* even better name and fixed safety tests
2018-06-06 14:20:07 -07:00
Commaremote bf70f51596 Safety: increase buffer for sampled signals. TBD a violation feedback from board to prevent car faults 2018-06-03 17:39:57 -07:00
Commaremote b0541a8316 Cadillac: monitoring the 4 torque messages independently 2018-06-03 01:53:06 -07:00
Riccardo cd1dba9ff8 Cadillac: fixed bug in regression safety 2018-06-02 23:30:30 -07:00
rbiasini c7e2c2d696
Cadillac (#119)
* added some steer safety to Cadillac

* bug fixes

* added cadillac full steering safety. To be tested

* RT checks and max checks working. Need to test driver torque based limits

* cadillac steer safety should be done

* unneded lines
2018-06-01 19:45:29 -07:00
George Hotz 13e850e18e more correct 2018-04-12 09:09:14 -07:00
Willem Melching f295063d16 add new define to tests 2018-04-12 13:45:27 +02:00
George Hotz e7a2b3a209 add ipas tests 2018-04-11 14:42:56 -07:00
George Hotz 894572c843 fix tests 2018-04-11 14:34:17 -07:00
Riccardo 02c1ddf5fc Revert "added steer override check when IPAS is in control (#106)"
This reverts commit 7d21acbccc.
2018-04-11 14:00:25 -07:00
George Hotz ea1c1dca48 make wlan interface name generic 2018-04-11 10:38:59 -07:00
Willem Melching 48e2374958 build panda esp image 2018-04-07 18:37:22 +02:00
Willem Melching 065572a4ae circleci build stm image 2018-04-07 16:54:35 +02:00
Willem Melching 7a1f3197e2 add panda python package test and fix safety test 2018-04-07 16:46:26 +02:00
Willem Melching 021dde7ce6 move saftey test helper files into safety folder 2018-04-07 16:34:36 +02:00
Willem Melching ce0545ffe5 add ci files 2018-04-07 16:22:24 +02:00
rbiasini 7d21acbccc
added steer override check when IPAS is in control (#106)
* added steer override check when IPAS is in control

* same override threshold as carController

* added initial safety tests for angle control

* cleaned up safety tests and added ipas state override check

* ipas_override is an unnecessary global variable

* bump panda version
2018-04-05 13:30:44 -07:00
Willem Melching 1c88caf917
Safety code testing (#104)
* inital infrastructure for panda safety testing

* add test for toyota acceleration

* test for non real time torque rate limits and refactoring

* add test for cruise disable

* fix toyota limit down

* add tests for realtime limits

* test for torque measurements

* fix toyota test setup

* honda button logic

* test for brake logic

* tests for gas logic

* test steer, gas and brake message contents

* add test script

* fix hardcoded limits
2018-04-02 20:41:52 +02:00
George Hotz 2c26e454cf add sleep 2018-03-12 18:32:33 -07:00
George Hotz 3a6d7db5ca don't hang 2018-03-10 11:31:04 -08:00
George Hotz b259e2ae91 can flasher is close to working 2018-03-10 11:22:22 -08:00
George Hotz 190b4f6841 start work on canflasher 2018-03-10 10:13:30 -08:00
George Hotz 5c655c992b add recover support 2018-03-10 09:34:48 -08:00
George Hotz 000715b51d start work on pedal canloader 2018-03-09 14:30:28 -08:00
George Hotz 626e3123c6 pedal has a bootstub now 2018-03-09 14:02:00 -08:00
Greg Hogan b92b235ced fix bytearray encode issue 2018-03-04 14:00:18 -06:00
Firmware Batman 8a6f44bb07 pedal is sending messages 2018-03-01 10:55:02 -08:00
Greg Hogan 85807735f2 fix sending WinUSB Extended Properties Feature Descriptor 2018-02-24 20:33:52 -06:00
George Hotz d70f43bfea hack to fix thinkpad 2018-02-22 13:30:35 -08:00
Firmware Batman e946a5459c add insecure_okay flag 2018-02-14 15:34:42 -08:00
George Hotz 4363b3e5ef check webpage 2018-02-14 15:27:10 -08:00
George Hotz 6b11fb525f add autosecuring to tests 2018-02-13 10:13:30 -08:00
George Hotz 4b53b42ac6 elm wifi isn't an automated test 2018-02-13 10:01:02 -08:00
George Hotz 743d244513 high baud rate works 2018-01-28 02:10:52 -08:00
George Hotz d4c052a73a make that work 2018-01-19 12:45:23 -08:00
George Hotz aa0cfadb6b fix UART hang 2018-01-08 14:53:38 -08:00
George Hotz 40a1883b65 fix up baud rate 2018-01-07 12:31:46 -08:00
George Hotz 65997ffcf5 add PandaSerial and location panda (aka pigeon) test 2018-01-07 11:31:54 -08:00
Firmware Batman 5f8835ca50 add baud setting to debug_console 2017-10-15 18:13:52 -07:00
Firmware Batman 435decee22 fix standalone tests 2017-10-15 17:17:55 -07:00
Firmware Batman 1b3ef70df4 add init to tests 2017-09-01 12:49:16 -07:00
Firmware Batman c15f7132ed 10 tries, not 100 2017-08-29 16:13:02 -07:00
Firmware Batman f7264fcf5d pw can have slash, and fix all wifi test 2017-08-29 12:08:53 -07:00
Firmware Batman ac6e0e67d5 add all wifi test 2017-08-29 11:34:59 -07:00
Firmware Batman 5b9485637e bump version, add all wifi test 2017-08-29 11:34:47 -07:00
Firmware Batman 203f06575f tests are passing 2017-08-29 11:05:53 -07:00
Firmware Batman 87e41b102f fix up wifi code 2017-08-29 11:01:24 -07:00
Firmware Batman 8b6c441d1d update tests and gpio usage 2017-08-29 10:46:08 -07:00
George Hotz 22a00b1043 add st updater 2017-08-28 10:42:23 -07:00
George Hotz 6886be926d add ABOM, fix bug in tests 2017-08-24 17:52:54 -07:00
George Hotz 5f7ad9cab6 add get version 2017-08-24 16:53:46 -07:00
Firmware Batman 1ea061a713 test 5 doesn't fail anymore 2017-08-21 16:40:38 -07:00
Jessy Diamond Exum 124d0a882f ELM327: Added LIN keep alive messages. Tests as well. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 069f388eed ELM327: Stable very long multiline message support with tests. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum ad79b7f4d2 ELM327: Safety code for LIN transmissions. Tests as well. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 63af60c1b0 ELM327: Added ISO 14230-4 (KWP FAST) wakeup pulse. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 98d455701d ELM327: Base ISO 14230-4 support. No keepalive yet. Bugfixes 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 47bcf40f7e ELM327: Tests for ISO 14230-4 (KWP FAST). 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 47d5627836 ELM327: Car simulator now simulates LIN ISO 14230-4 (KWP FAST). 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 09ee296550 ELM327: Panda safety mode for ELM327 (passes ISO 15765-4 11&29 bit messages) 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 53963c9025 ELM327: Added ISO 15765-4 29 bit CAN support.
4 protocols now supported in Torque.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum a70d0a722d ELM327: Minor fix for canceled messages contaimnating future messages. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum dd8d0ff27b ELM327: Two protocols work with torque, speed dial moves.
Auto protocol negotiation implemented.
Bug fixes with wifi connection monitoring.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 7dc3e2568c ELM327: Ignore received messages not related to sent command. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 1859525594 ELM327: Enforce 8 byte CAN messages. More time for clearing old CAN messages. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum ee9268f8c3 ELM327: CAN Speed can be changed (when changing protocols). 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 3c57ebe5a4 ELM327: Fixed crash. Support for arbitrary length replies
Added limited throughput test.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 740e2beac3 ELM327: OBD CAN multi message support 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum cfbfea6b11 ELM: Tests for CLI, common operasions, and Basic OBD CAN messages.
ELM tests pass on 3rd party reference dongle as well.
2017-08-19 00:31:11 -07:00
Jessy Diamond Exum f05e638461 ELM: Car simulator supports sending multiline CAN messages. 2017-08-19 00:31:11 -07:00
Jessy Diamond Exum 6de3ab75d6 ELM: Simple car simulator to make dials move on Torque. 2017-08-19 00:31:11 -07:00
Firmware Batman 1c14b8bed8 test is passing sometime 2017-08-13 02:55:43 +01:00
Firmware Batman 7a6e6e9176 adding delay made it much better 2017-08-13 02:42:24 +01:00
Firmware Batman 0b6012545d test 5 is failing 2017-08-13 02:03:45 +01:00
Firmware Batman c536a8333c begin to address UDP reliability issues 2017-08-13 02:01:56 +01:00
Firmware Batman f832f34413 fix GMLAN bad toggle issue 2017-08-13 01:28:23 +01:00
Firmware Batman 790e820819 hack around gmlan brokenness 2017-08-13 01:17:22 +01:00
Firmware Batman 3ae0b2719f fixing loopback 2017-08-13 00:47:07 +01:00
Firmware Batman d7f47cc4c0 Should fix loopback test 2017-08-13 00:33:19 +01:00
Null Man c8432f0378 Should fix loopback test 2017-08-13 00:32:36 +01:00
Firmware Batman 3902720851 don't chdir in global context 2017-08-01 03:08:34 +02:00
Firmware Batman 798f942346 fix legacy build issue, add build test, fix warnings 2017-08-01 03:00:53 +02:00
Firmware Batman 50357ad03c fix st flashing over wifi, all tests pass 2017-07-30 09:09:30 -07:00
Firmware Batman 8c4005ffdb st wifi flash is failing 2017-07-30 08:49:53 -07:00
Firmware Batman 991ad5be20 add wifi tests 2017-07-30 08:26:48 -07:00
Firmware Batman 4b0b82cd14 break tests into two files 2017-07-30 07:59:14 -07:00
Firmware Batman 0d11b01cce debugging SPI 2017-07-29 19:04:58 -07:00
Firmware Batman 6b9ba40089 remove some dumb prints 2017-07-29 18:16:08 -07:00
Firmware Batman 7d97564796 add flashing loop test 2017-07-20 16:01:47 -07:00
Firmware Batman bf57cf25cb make the st ota flasher reliable 2017-07-20 15:34:45 -07:00
Firmware Batman 64495a0018 all tests passing, clean up usb power 2017-07-18 23:07:19 -07:00
Firmware Batman 4d879f7e47 tests work on legacy board 2017-07-18 21:14:38 -07:00
Firmware Batman 639ea617b8 cleanly put GMLAN on bus 3, love tests 2017-07-18 21:05:09 -07:00
Firmware Batman 4bc935e5d1 remove dumb comments 2017-07-18 12:29:37 -07:00
Firmware Batman 9ed2524be3 add debug mode, more locks, fix test 2017-07-18 12:29:16 -07:00
Firmware Batman 56786dac17 serial echo test is failing 2017-07-18 12:15:19 -07:00
Firmware Batman 6a56dd1ad2 clean up interrupts more 2017-07-18 10:19:42 -07:00
Firmware Batman b737d987cb clean up can interrupts, still failing 2017-07-17 22:44:02 -07:00
Firmware Batman e8b38fc426 hmm, reliability test fails... 2017-07-17 21:26:37 -07:00
Firmware Batman 85c0940cf9 support can speed, and test it 2017-07-17 19:43:30 -07:00
Firmware Batman 7f63a23de7 update honda safety to block bad messages from being sent 2017-07-17 18:54:50 -07:00
Firmware Batman c7a9263361 refactor safety and enable tests 2017-07-17 15:29:31 -07:00
Jessy Diamond Exum c98739b66e Can bus numbers now sequential (0,1,2 not 0,1,4).
Can bus numbers are 7 bit numbers with the 8th bit marking receipt busses (0x80,0x81,0x82 not 2,3,6).
2017-07-14 13:55:38 -07:00
George Hotz 7733b09288 Revert commits that broke USB for openpilot.
Revert "fix openpilot board flashing"

This reverts commit 8ff93ad5da.

Revert "Fixed output_enabled led not turning off when mode changed to no output."

This reverts commit 27a8af1107.

Revert "Fixed loopback test for new GMLAN 'can4' behavior."

This reverts commit 59592f599a.

Revert "GMLAN is now always mapped through CAN4 (index 3)"

This reverts commit 329c091024.

Revert "Removed compile time config for CAN loopback, implemented as usb message."

This reverts commit e1a4c32985.

Revert "Change all output safety mode identifier to prevent user mistakes."

This reverts commit 6b363e2e92.

Revert "untabify"

This reverts commit 191f67b083.

Revert "Refactor of safety to support more modular additions of safety policies."

This reverts commit e5b524eddc.

Revert "Split up some more header files into compilation units."

This reverts commit e2a78912f5.

Revert "Enabled emulated control writes over USB."

This reverts commit 133cfe9703.

Revert "Moved CAN and USART code out of main.c and into more appropriate files."

This reverts commit daad2dc062.

Revert "Large Panda CAN cleanup. Restrict GMLAN to valid baud rates."

This reverts commit a0616a2bc2.

Revert "Panda library now correctly sends USB direction bit."

This reverts commit 1712c901d4.

Revert "Board makefile now automatically calculates header file dependencies."

This reverts commit 4a8d4e597b.

Revert "Loopback test works over wifi. (Disable trying to send over wifi)"

This reverts commit dae636968a.

Revert "Fix legacy board build"

This reverts commit 62bf4e5756.

Revert "Style cop"

This reverts commit c439f43726.

Revert "Untabify"

This reverts commit 41e5eec621.

Revert "Fixed disabling gmlan."

This reverts commit 5e1e45a4af.

Revert "Removed dead code, standardized canid in more commands, better erroring behavior."

This reverts commit b59aeb6d87.

Revert "loopback test works with new CAN bus ids."

This reverts commit 75970861cf.

Revert "Large reorganization of code and early integration of can bitrate setting."

This reverts commit a1ed7b62ee.
2017-07-12 11:27:16 -07:00
Jessy Diamond Exum 59592f599a Fixed loopback test for new GMLAN 'can4' behavior. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum e5b524eddc Refactor of safety to support more modular additions of safety policies. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 133cfe9703 Enabled emulated control writes over USB. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum dae636968a Loopback test works over wifi. (Disable trying to send over wifi) 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 5e1e45a4af Fixed disabling gmlan. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 75970861cf loopback test works with new CAN bus ids. 2017-07-11 16:55:36 -07:00
Jessy Diamond Exum 9acf24c9fd Repairing panda tests. 2017-06-28 14:50:00 -07:00
Jessy Diamond Exum 001c5a7477 Fix some tests to not explode on python3. 2017-06-27 19:47:53 -07:00
Jessy Diamond Exum 6a25791fea Created python package and implemented industry best practices.
Supports python 2 and 3 (to the best of my testing ability at the time)
2017-06-14 12:00:04 -07:00
Firmware Batman 2fd475d365 support GMLAN multiplexing with CAN3 on rev c panda 2017-06-09 14:11:37 -07:00
George Hotz 17a6c28636 add can printer to panda tests 2017-05-27 12:31:29 -07:00
Firmware Batman ac162e3aa9 increase the size of the can rx fifo 2017-05-16 21:33:28 -07:00
Firmware Batman 657fdb8469 add throughput test, switch 1338 to use UDP 2017-05-16 17:01:29 -07:00
George Hotz 156321e5af test get_serial in flashing mode 2017-05-03 17:34:45 -07:00
George Hotz f075bb5718 added timing to standalone test 2017-05-02 23:25:54 -07:00
Firmware Batman ad0c9b092e multiheaded test + count on command line 2017-05-02 10:20:05 -07:00
George Hotz 8558de68a8 factor out run_test_w_pandas 2017-05-02 09:54:57 -07:00
George Hotz 6cd08d6022 controls not allowed by default 2017-05-01 23:40:49 -07:00
George Hotz 674fa669df flashing over http ugh 2017-04-29 00:09:08 -07:00
George Hotz b3fa6f529f if otp is programmed it works 2017-04-28 17:25:37 -07:00
Firmware Batman f415052659 improve standalone test 2017-04-27 12:08:03 -07:00
Firmware Batman 14e5931da9 interrupt endpoint works 2017-04-27 11:32:14 -07:00
Firmware Batman c1dfed5299 loopback test is working over wifi 2017-04-18 07:34:56 -07:00
Firmware Batman 1b3d3c9b3e fix bug in switch statement refactor, fix serial_write 2017-04-18 01:12:04 -07:00
George Hotz e07f9b111e initial commit 2017-04-06 18:11:36 -07:00