Commit Graph

17 Commits

Author SHA1 Message Date
George Hotz
7b664b298d Merge pull request #24 from commaai/redux/runtime_can_loopback
Can loopback now runtime configurable.
2017-07-16 15:41:41 -07:00
Jessy Diamond Exum
247010eb46 Added can forwarding method to python library. 2017-07-14 22:04:38 -07:00
Jessy Diamond Exum
3a415ab870 Can loopback now runtime configurable.
Useful for board tests, customer troubleshooting, and linux driver loopback support.
2017-07-14 20:32:48 -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
6b363e2e92 Change all output safety mode identifier to prevent user mistakes. 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
1712c901d4 Panda library now correctly sends USB direction bit. 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
George Hotz
d6c905d972 add assert 2017-06-25 23:03:08 -07:00
Jessy Diamond Exum
c4c4dbe32d Added setInterfaceAltSetting to python library to ensure correct interface setting.
Renamed private member of panda library to reflect private status.
2017-06-20 17:40:24 -07:00
George Hotz
7c8c1a64d9 bump version and push to pypi with 'python3 setup.py sdist upload' 2017-06-20 15:44:08 -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