Commit Graph

715 Commits

Author SHA1 Message Date
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
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
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
George Hotz
ea1c1dca48 make wlan interface name generic 2018-04-11 10:38:59 -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
Willem Melching
52b2ac0740 switch from travis to circleci 2018-04-07 19:05:30 +02: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
George Hotz
6a3307c024 no LIN over ELM 2018-04-06 17:32:57 -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
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
f4efd1f29d Merge pull request #101 from adhintz/master
add support for multiple buses to can_unique and can_bit_transition
2018-04-01 13:56:43 -06:00
George Hotz
c02618b031 Merge pull request #102 from quillford/master
added link to wiki for user scripts
2018-04-01 13:56:18 -06:00
George Hotz
31252324d9 bump version 2018-03-17 19:46:10 -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
fe15d3fb0f bump pandacan 2018-03-13 15:22:33 -07:00
Adeeb Shihadeh
1ba5f8a6e3 added link to wiki for user scripts 2018-03-13 09:47:57 -07:00
George Hotz
11c2b08c2f add fault invalid 2018-03-12 19:56:57 -07:00
George Hotz
2c26e454cf add sleep 2018-03-12 18:32:33 -07:00
George Hotz
27c76372e9 forgot the counter 2018-03-12 17:55:24 -07:00
George Hotz
3a6d7db5ca don't hang 2018-03-10 11:31:04 -08: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
7ae7c7961f typo 2018-03-10 10:17:57 -08:00
George Hotz
e85cc4758a forgot the selfs 2018-03-10 10:16:53 -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
adhintz
de2b19eebe add support for multiple buses to can_unique and can_bittransition
output data in sorted order.
2018-03-09 19:36:04 -08:00
George Hotz
f7a0ab09bf pedal usbflash works 2018-03-09 17:47:13 -08:00
George Hotz
585d0f9e6a add way to call isotp 2018-03-09 17:40:03 -08:00
George Hotz
be828991ae despite it being bad code, move isotp 2018-03-09 17:37:47 -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
81e6b0dc98 fix bug 2018-03-08 18:18:35 -08:00
George Hotz
083cd12875 should have bounty to refactor that ish 2018-03-08 15:10:35 -08:00
George Hotz
b65d30cf18 bad asserts 2018-03-08 15:05:19 -08:00