Skip to content

Commit beb8109

Browse files
committed
autosync
1 parent b8a9c97 commit beb8109

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# [0.10.6]
2+
- Fixed getEndpoint not updating requested_msg_id_, causing periodic messages to be read as a TxSdo message.
13

24
# [0.10.5]
35
- Fixed SineWaveCAN example vbus request timeout
@@ -8,4 +10,4 @@
810

911
# [0.10.3]
1012

11-
- Fixed CAN awaitMsg timeout; now actually milliseconds instead of seconds
13+
- Fixed CAN awaitMsg timeout; now actually milliseconds instead of seconds

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://arduino.github.io/arduino-cli/0.33/library-specification/
22
name=ODriveArduino
3-
version=0.10.5
3+
version=0.10.6
44
author=ODrive Robotics Inc. <[email protected]>
55
maintainer=ODrive Robotics Inc. <[email protected]>
66
sentence=Library to control ODrive motor controllers

src/ODriveCAN.h

+1
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ class ODriveCAN {
281281
data[1] = (uint8_t)(endpoint_id);
282282
data[2] = (uint8_t)(endpoint_id >> 8);
283283

284+
requested_msg_id_ = 0x005; // Await TxSdo message
284285
can_intf_.sendMsg((node_id_ << ODriveCAN::kNodeIdShift) | 0x004, 8, data);
285286
if (!awaitMsg(timeout_ms)) return T{};
286287

0 commit comments

Comments
 (0)