Samuel Sadok
cc7bbd47f8
add back subcomponent error flags
...
These flags were previously removed in 5661a3b5ed
2022-04-05 13:10:17 +02:00
Paul Guenette
48148d8765
Remove extraneous constants from Arduino lib
2021-09-12 22:56:54 -04: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
Aaron de los Santos
e59ee5cda1
Replaced old inline enum with autogenerated enum header
...
Deleted the manually added enum in the ODriveArduino class. Removed the scope resolution operator from the ODriveArduinoTest.ino file to access enums as it can be accessed from the global namespace.
2021-06-13 17:28:10 -07: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
Aaron de los Santos
ab7ed49e7b
Update ODriveArduino.cpp
...
Added top empty line back.
2021-06-08 21:02:47 -07:00
Aaron de los Santos
8302de1129
Added position getter function for arduino
...
Added GetPosition function in ODriveArduino file to accompany the existing GetVelocity function. Changed arduino example file to demonstrate usage over previous verbose implementation.
2021-06-08 15:55:36 -07:00
PAJohnson
ed8705071f
Fix ::run_state method (wait_for_idle instead of idle) and better vel_limit setting in .ino sketch example
...
Pull changes from arduino-improvements branch into master
2020-10-14 19:32:39 -04:00
Oskar Weigl
573aa96ba5
Revert "fix return value of ODriveArduino::run_state()"
...
This reverts commit 392781c33d .
2020-10-09 16:38:55 -07:00
Samuel Sadok
392781c33d
fix return value of ODriveArduino::run_state()
...
Previously, the function would return false in most cases even on
success.
2020-05-26 12:13:16 +02:00
Lukas Kaul
db5fc4e02b
added GetVelocity()
...
reads estimated motor velocity from Arduino
2019-05-22 23:05:03 +02:00
Lukas Kaul
835de97e45
added GetVelocity()
...
reads estimated motor velocity from Arduino
2019-05-22 23:04:09 +02:00
Lukas Kaul
3c181e9b05
removed control mode setters
2019-05-22 23:02:14 +02:00
Lukas Kaul
609222db5b
removed control mode setters
2019-05-22 23:01:37 +02:00
Lukas
9b894a9bb1
added control mode setters (current and velocity)
2019-03-10 19:55:38 +01:00
Paul Guenette
a253da299f
Add TrapezoidalMove to Arduino library ("t" ASCII command)
2019-02-24 22:42:03 +01:00
Oskar Weigl
3eea1b2a90
Merge branch 'master' into devel
2019-01-29 19:34:44 -08:00
Oskar Weigl
aeb8d6abb8
Update ODriveArduinoTest.ino
2019-01-16 15:05:02 -08:00
Unknown
9b669ad623
Fix Arduino 'c' command
2019-01-14 20:04:31 -05:00
Oskar Weigl
5cd64f2d4f
add current command to Arduino code
2019-01-03 18:17:12 -08:00
Oskar Weigl
e364fc1e94
fix char to int conversion
2018-08-18 21:14:21 -07:00
Oskar Weigl
5ae1a48c4c
Update README.md
2018-06-11 02:56:05 -07:00
Oskar Weigl
bdbd0409ed
update Arduino lib to new ascii protocol
2018-06-09 18:24:34 -07:00
Oskar Weigl
59549e9855
absorb Arduino lib
2018-06-09 13:23:10 -07:00