File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed
Expand file tree Collapse file tree 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+
14# [ 0.10.6]
25- Fixed getEndpoint not updating requested_msg_id_ , causing periodic messages to be read as a TxSdo message.
36
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 (
2727// pin 1: TX - connect to ODrive RX
2828// See https://www.pjrc.com/teensy/td_uart.html for other options on Teensy
2929// 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)
3131
3232// Arduino Mega or Due - Serial1
3333// pin 19: RX - connect to ODrive TX
3434// pin 18: TX - connect to ODrive RX
3535// See https://www.arduino.cc/reference/en/language/functions/communication/serial/ for other options
3636// 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)
3838
3939
4040ODriveUART odrive (odrive_serial);
Original file line number Diff line number Diff line change 11# https://arduino.github.io/arduino-cli/0.33/library-specification/
22name =ODriveArduino
3- version =0.10.6
3+ version =0.10.7
44author =
ODrive Robotics Inc. <[email protected] > 55maintainer =
ODrive Robotics Inc. <[email protected] > 66sentence =Library to control ODrive motor controllers
Original file line number Diff line number Diff line change @@ -166,6 +166,12 @@ enum ODriveSpiEncoderMode {
166166 SPI_ENCODER_MODE_NOVOHALL = 8 ,
167167};
168168
169+ // ODrive.IncrementalEncoderFilter
170+ enum ODriveIncrementalEncoderFilter {
171+ INCREMENTAL_ENCODER_FILTER_SPEED_10M = 0 ,
172+ INCREMENTAL_ENCODER_FILTER_SPEED_20M = 1 ,
173+ };
174+
169175// ODrive.Rs485EncoderMode
170176enum ODriveRs485EncoderMode {
171177 RS485_ENCODER_MODE_DISABLED = 0 ,
@@ -190,8 +196,8 @@ enum ODriveInputMode {
190196
191197// ODrive.MotorType
192198enum 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 ,
195201 MOTOR_TYPE_ACIM = 3 ,
196202};
197203
You can’t perform that action at this time.
0 commit comments