mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 22:55:00 +08:00
Fix ASCII 't' command
This commit is contained in:
@@ -170,7 +170,8 @@ void ASCII_protocol_process_line(const uint8_t* buffer, size_t len, StreamSink&
|
||||
} else {
|
||||
Axis* axis = axes[motor_number];
|
||||
axis->controller_.config_.input_mode = Controller::INPUT_MODE_TRAP_TRAJ;
|
||||
axis->controller_.move_to_pos(goal_point);
|
||||
axis->controller_.input_pos_ = goal_point;
|
||||
axis->controller_.input_pos_updated();
|
||||
axis->watchdog_feed();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user