File tree 4 files changed +14
-5
lines changed
4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change
1
+ # [ 0.10.7]
2
+ - Fixed int overflow issue w/ Arduino Mega example
3
+
1
4
# [ 0.10.6]
2
5
- Fixed getEndpoint not updating requested_msg_id_ , causing periodic messages to be read as a TxSdo message.
3
6
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ unsigned long baudrate = 19200; // Must match what you configure on the ODrive (
27
27
// pin 1: TX - connect to ODrive RX
28
28
// See https://www.pjrc.com/teensy/td_uart.html for other options on Teensy
29
29
// HardwareSerial& odrive_serial = Serial1;
30
- // int baudrate = 115200; // Must match what you configure on the ODrive (see docs for details)
30
+ // unsigned long baudrate = 115200; // Must match what you configure on the ODrive (see docs for details)
31
31
32
32
// Arduino Mega or Due - Serial1
33
33
// pin 19: RX - connect to ODrive TX
34
34
// pin 18: TX - connect to ODrive RX
35
35
// See https://www.arduino.cc/reference/en/language/functions/communication/serial/ for other options
36
36
// HardwareSerial& odrive_serial = Serial1;
37
- // int baudrate = 115200; // Must match what you configure on the ODrive (see docs for details)
37
+ // unsigned long baudrate = 115200; // Must match what you configure on the ODrive (see docs for details)
38
38
39
39
40
40
ODriveUART odrive (odrive_serial);
Original file line number Diff line number Diff line change 1
1
# https://arduino.github.io/arduino-cli/0.33/library-specification/
2
2
name =ODriveArduino
3
- version =0.10.6
3
+ version =0.10.7
4
4
author =
ODrive Robotics Inc. <[email protected] >
5
5
maintainer =
ODrive Robotics Inc. <[email protected] >
6
6
sentence =Library to control ODrive motor controllers
Original file line number Diff line number Diff line change @@ -166,6 +166,12 @@ enum ODriveSpiEncoderMode {
166
166
SPI_ENCODER_MODE_NOVOHALL = 8 ,
167
167
};
168
168
169
+ // ODrive.IncrementalEncoderFilter
170
+ enum ODriveIncrementalEncoderFilter {
171
+ INCREMENTAL_ENCODER_FILTER_SPEED_10M = 0 ,
172
+ INCREMENTAL_ENCODER_FILTER_SPEED_20M = 1 ,
173
+ };
174
+
169
175
// ODrive.Rs485EncoderMode
170
176
enum ODriveRs485EncoderMode {
171
177
RS485_ENCODER_MODE_DISABLED = 0 ,
@@ -190,8 +196,8 @@ enum ODriveInputMode {
190
196
191
197
// ODrive.MotorType
192
198
enum ODriveMotorType {
193
- MOTOR_TYPE_HIGH_CURRENT = 0 ,
194
- MOTOR_TYPE_GIMBAL = 2 ,
199
+ MOTOR_TYPE_PMSM_CURRENT_CONTROL = 0 ,
200
+ MOTOR_TYPE_PMSM_VOLTAGE_CONTROL = 2 ,
195
201
MOTOR_TYPE_ACIM = 3 ,
196
202
};
197
203
You can’t perform that action at this time.
0 commit comments