mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-21 23:44:48 +08:00
add feedback command to ascii docs
This commit is contained in:
@@ -86,6 +86,29 @@ c motor current
|
||||
* `motor` is the motor number, `0` or `1`.
|
||||
* `current` is the desired current in A.
|
||||
|
||||
This command updates the watchdog timer for the motor.
|
||||
|
||||
#### Request feedback
|
||||
```
|
||||
f motor
|
||||
|
||||
response:
|
||||
pos vel
|
||||
```
|
||||
* `f` for feedback
|
||||
* `pos` is the encoder position in counts (float)
|
||||
* `vel` is the encoder velocity in counts/s (float)
|
||||
|
||||
#### Update motor watchdog
|
||||
```
|
||||
u motor
|
||||
```
|
||||
* `u` for /u/pdate.
|
||||
* `motor` is the motor number, `0` or `1`.
|
||||
|
||||
This command updates the watchdog timer for the motor, without changing any
|
||||
setpoints.
|
||||
|
||||
#### Parameter reading/writing
|
||||
|
||||
Not all parameters can be accessed via the ASCII protocol but at least all parameters with float and integer type are supported.
|
||||
|
||||
Reference in New Issue
Block a user