Commit Graph

328 Commits (9311f0de3b51870ed17fbd0f07cdad60c5257313)

Author SHA1 Message Date
rbiasini ace4a224c8
Ford safety (#115)
* added initial ford safety header

* added ford ok safety. Missing brake check

* added force cancel check in ford safety

* added brake check to fusion

* fixed nomenclature
2018-05-02 22:45:23 -07:00
George Hotz 988fbf5e32 disable autobaud by default 2018-04-26 09:38:52 -07:00
George Hotz 2253dd3c48 fix volt ign detect 2018-04-13 20:11:01 +00:00
George Hotz 3b299d79c7 add ignition and refactor 2018-04-12 12:01:36 -07:00
George Hotz af9af6d13e
Merge pull request #110 from Jamezz/volt
Add safety hook for ignition state for car platforms that don't support GPIO pin
2018-04-12 12:00:26 -07:00
George Hotz 13e850e18e more correct 2018-04-12 09:09:14 -07:00
George Hotz fec975889d gate that with debug 2018-04-11 21:55:47 -07:00
George Hotz 5516ebf3ce one more ifdef 2018-04-11 21:14:37 -07:00
George Hotz cac7b318f0 only panda has float 2018-04-11 20:47:29 -07:00
George Hotz 938d474723 fpu enable 2018-04-11 19:52:42 -07:00
George Hotz ffbf0c789a cleaner 2018-04-11 19:42:14 -07:00
George Hotz de30f27349 Revert "need f to not be double"
This reverts commit 4142acf2f9.
2018-04-11 19:41:44 -07:00
George Hotz 4142acf2f9 need f to not be double 2018-04-11 19:39:41 -07:00
George Hotz 3eb15c8502 refactor to share code 2018-04-11 19:24:03 -07:00
George Hotz a4c8b64678 change to O2 to fix make recover 2018-04-11 19:12:58 -07:00
Chris Vickery 711fd112b7 Enable compiler optimizations, fix things it breaks 2018-04-11 16:15:38 -07:00
George Hotz 2e6f774856 block IPAS in main toyota safety mode 2018-04-11 14:45:52 -07:00
George Hotz 367c9ad242 add safety toyota ipas 2018-04-11 14:31:58 -07:00
Greg Hogan 95919b932d Bounty: panda high quality CAN autobaud (#96)
* CAN auto-baud

* Disable autobaud when exiting silent mode
2018-04-11 14:31:48 -07:00
Riccardo 6557cd258a Toyota Safety: allow controls only on rising edge of cruise_engaged 2018-04-11 14:07:05 -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
Thomas Helms 9f925ba9d2 Fix the merge mess 2018-04-11 13:13:05 -07:00
Jamezz 23d3833d77 Merge from comma upstream 2018-04-11 13:04:16 -07:00
Jamezz a0cc51af15 Undo safety mode override
We don't need to force safety to GM for testing, fingerprinting should work.
2018-04-11 12:54:16 -07:00
Chris Vickery 6dbd8c972b
Implement WebUSB and upgrade WinUSB to 2.0 (#107)
* Implement webusb and winusb 2.0 specs

* Add missing constants

* Refactor string system, add support for USB2.1

* Uncapitalize the panda

* Add USB 2.0 extension descriptor and device qualifier getter

* Sleep during reconnect process to be more reliable

* Disable compiler optimizations because they break SPI coms
2018-04-11 10:08:56 -07:00
Thomas Helms 4fc83a5f5c Add safety hook for ignition and have GM use gear selector to determine ignition 2018-04-10 17:55:55 -07: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
George Hotz 703c0b4ec1 Gas Interceptor: another fix to gas pressed logic 2018-03-17 15:50:42 -07:00
George Hotz 196d383d8e Interceptor: fixed gas pressed logic 2018-03-17 15:20:20 -07:00
George Hotz 67d52089a1 fix signedness issue in toyota safety 2018-03-13 20:33:47 -07:00
George Hotz 11c2b08c2f add fault invalid 2018-03-12 19:56:57 -07:00
George Hotz 27c76372e9 forgot the counter 2018-03-12 17:55:24 -07:00
George Hotz bfa7d2eb3d canloader works 2018-03-10 11:28:32 -08:00
George Hotz b259e2ae91 can flasher is close to working 2018-03-10 11:22:22 -08:00
George Hotz 83f2edfb78 isotp can support in softloader 2018-03-10 11:06:40 -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 ae3457f477 usbflash is reliable 2018-03-10 09:28:53 -08:00
George Hotz f7a0ab09bf pedal usbflash works 2018-03-09 17:47:13 -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
George Hotz 3662d1e66a redundant check 2018-03-09 13:33:20 -08:00
George Hotz 30fd66a74a
Merge pull request #93 from vntarasov/volt
Tweak Volt's brake pedal stickiness
2018-03-08 08:37:08 -08:00
George Hotz c7d098c2f4
Merge pull request #95 from gregjhogan/setup-script
get_sdk scripts missing packages
2018-03-08 08:36:29 -08:00
Greg Hogan c6acac872b added checking pedal interceptor message length 2018-03-06 16:37:06 -06:00
Greg Hogan f7226ff215 added brake safety checks 2018-03-06 13:56:01 -06:00
Greg Hogan d0c2634ebf added gas safety checks 2018-03-05 22:18:43 -06:00
Greg Hogan d378e4a4f4 removed bosch safety forwarding restriction on 29 bit addresses 2018-03-05 18:17:30 -06:00
gregjhogan 5c7ef9ee43 added bosch safety hooks and forwarding 2018-03-05 18:17:30 -06:00
George Hotz 90c64b6c51 add note 2018-03-05 11:55:41 -08:00