Commit Graph

145 Commits

Author SHA1 Message Date
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