mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-02-07 16:01:52 +08:00
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
This commit is contained in:
@@ -35,7 +35,7 @@ public:
|
||||
int32_t readInt();
|
||||
|
||||
// State helper
|
||||
bool run_state(int axis, int requested_state, bool wait);
|
||||
bool run_state(int axis, int requested_state, bool wait_for_idle, float timeout = 10.0f);
|
||||
private:
|
||||
String readString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user