579 Commits

Author SHA1 Message Date
Paul Guenette
9a754031b3 Add value tables and units to every signal in .dbc 2022-09-25 19:58:31 -07:00
Paul Guenette
5f9b45e080 Add heartbeat flags to .dbc 2022-09-21 20:01:13 -07:00
Paul Guenette
e85b29a15e Update CAN dbc
Generate messages for 8 axes
Prepend AxisID to message names
Add nodes to bus
Add senders and receivers
2022-09-10 00:47:43 -07:00
Paul Guenette
fba8106ae1 Update vbus_voltage message to match Pro 2022-09-05 22:26:07 -07:00
Paul Guenette
317d09a56e Update .dbc 2022-09-05 19:11:08 -07:00
Paul Guenette
45fee3af5c Add controller error message 2022-09-05 19:10:20 -07:00
Malaphor
398ee3d81d Added docs info 2022-08-30 17:12:49 -07:00
Samuel Sadok
cc7bbd47f8 add back subcomponent error flags
These flags were previously removed in 5661a3b5ed
2022-04-05 13:10:17 +02:00
thatcomputerguy0101
8b37784e8c Fix current_state in can_example.py
The documentation, CAN doc file, and firmware all indicate that the current state is only one byte of the heartbeat message. This file used to read four bytes as the state on line 21, but only one byte on line 49. This PR adjusts line 21 so that it only uses one byte, making this example work. Otherwise, it incorrectly reads the flags that occupy the next three bytes as part of the state, which can cause the idle state to never be recognized.
2022-03-21 21:28:38 -04:00
samuelsadok
bfbf671541 [docs] fix enum values 2022-02-14 11:18:26 +01:00
nick-a-schneider
34a96d7964 porting docs from markdown to reStructuredText 2021-11-30 11:40:00 -05:00
madewhatnow
50562dd563 Update to use axis0.controller.input_pos 2021-10-30 18:45:01 -07:00
Samuel Sadok
d4a2ece943 reenable DFU on Windows with warning 2021-10-15 22:21:44 +02:00
Paul Guenette
b92677db32 Add missing flags to heartbeat message 2021-09-23 00:16:15 -04:00
Paul Guenette
e0aaa04bdf Add pos_gain and vel_gain messages to .dbc file 2021-09-23 00:13:56 -04:00
Samuel Sadok
9f816bb3be Disable DFU support on windows
The DFU device appears to behave differently (returns unexpected packets/stati, fails on control transfers, etc) on Windows compared to Linux for unknown obscure reasons. Thus we have to disable DFU support on Windows.
2021-09-08 07:25:11 -07:00
Samuel Sadok
78758c44e0 fix "device has no langid" during DFU 2021-09-08 14:04:54 +02:00
Samuel Sadok
2e0926e562 fix analog thread stack overflow 2021-09-03 18:30:08 +02:00
Samuel Sadok
bd80d18254 update CAN test 2021-09-03 16:35:21 +02:00
Samuel Sadok
2d06453a46 add message for unsupported devices 2021-09-02 14:00:11 +02:00
Paul Guenette
d383e7704c Replace madcowswe with odriverobotics 2021-08-30 21:28:33 -04:00
Samuel Sadok
a768e8f715 fix step-dir test 2021-07-27 17:22:23 +02:00
Samuel Sadok
a37f6c3ba3 revert CAN protocol enum to flags, remove unused variables 2021-07-27 16:51:53 +02:00
Paul Guenette
f713f5ab5f Change CAN protocols from Flags to Values 2021-07-21 12:28:56 -04:00
Samuel Sadok
a7676ffe15 fix KeyError when dumping analog/PWM mapping configuration 2021-07-19 09:12:44 +02:00
samuelsadok
cedc4c59cf Merge pull request #583 from aarondls/arduino-improvements
Arduino improvements
2021-07-13 15:55:22 +02:00
Samuel Sadok
c17f27c524 remove odrivetool generate-code 2021-07-09 15:17:38 +02:00
Samuel Sadok
6a9bc8357b rewrite find_any() to support multiple calls 2021-07-02 14:00:37 +02:00
Samuel Sadok
7954494481 update setup.py 2021-07-02 14:00:37 +02:00
Samuel Sadok
bb6ae84e9c add warning message 2021-07-02 14:00:27 +02:00
Paul Guenette
9758e4383f Add Set_Linear_Count CAN message to dbc 2021-06-29 15:09:56 -04:00
Paul Guenette
2f8f96e139 Finish CAN DBC Example 2021-06-28 21:29:49 -04:00
Paul Guenette
6255c3438a Create CANSimple DBC Example 2021-06-28 21:29:49 -04:00
Paul Guenette
f323318450 Start Async example 2021-06-28 21:29:49 -04:00
Paul Guenette
7388e87b56 Harmonize axisID 2021-06-28 21:29:49 -04:00
Paul Guenette
f339c6c4e5 Calibrate and enter closed loop in the example 2021-06-28 21:29:49 -04:00
Paul Guenette
675e84bfac Create can send example 2021-06-28 21:29:49 -04:00
Paul Guenette
6450e49ce8 Rename files for creating dbc 2021-06-28 21:29:49 -04:00
Samuel Sadok
b1c10de958 add "odrivetool unlock" feature 2021-06-28 12:38:18 +02:00
samuelsadok
11647d80c0 Merge pull request #584 from clintlombard/fix/dfu-fw-version-prerelease
Update firmware version prerelease status resolution
2021-06-18 09:47:23 +02:00
clintlombard
c5858597d5 Fix python DFU firmware version prerelease status resolution to use correct attribute 2021-06-17 09:05:26 +02:00
Samuel Sadok
e145672b33 update step_dir_test 2021-06-16 12:32:32 +02:00
Aaron de los Santos
b104671642 Follow naming/spacing convention 2021-06-13 17:23:05 -07:00
Aaron de los Santos
319a9df4f6 Renamed enums.h to ODriveEnums.h 2021-06-11 17:32:43 -07:00
Aaron de los Santos
16aad18448 Created jinja template to autogenerate arduino enums header
Created arduino_enums_template.j2 to generate header file containing enums for arduino. Added the header file to Arduino/ODriveArduino/enums.h. This replaces the hardcoded enum defined inside the ODriveArduino class.
2021-06-08 22:54:01 -07:00
Samuel Sadok
4499dc3113 fix "Task pending" error message when closing odrivetool 2021-06-03 13:58:29 +02:00
Samuel Sadok
48433c61c6 fix docs autogeneration 2021-06-02 17:33:32 +02:00
PAJohnson
23c6b07c52 Fixed python package setup.py 2021-05-29 01:05:10 -04:00
PAJohnson
a5f4efe091 Merge branch 'fw-v0.5.2rc1'
Merge v0.5.2rc1 branch into master
2021-05-28 22:23:26 -04:00
PAJohnson
2edc38b77c sensorless docs improvements 2021-05-27 22:51:34 -04:00