|
DYNAMIXEL Driver 0.1.0
API reference
|
Everything the driver needs to know about the bus. More...
#include <dynamixel_types.hpp>
Public Attributes | |
| Protocol | protocol {Protocol::V2} |
| Packet format of every servo on the bus. | |
| uint32_t | baud |
Bit rate of the UART; applied through SetBaudRate() when the port has it. | |
| uint32_t | reply_timeout_us |
Longest wait for the first byte of a reply (kMinTimeoutUs to kMaxTimeoutUs). | |
| uint32_t | gap_timeout_us {5'000} |
| Longest wait for the next byte inside a packet. | |
| uint32_t | reboot_wait_us {500'000} |
| uint32_t | baud_change_wait_us {10'000} |
| Wait after a servo's baud rate changed. | |
| uint8_t | retries |
Repeats of a ping or read after a bad or missing reply, 0 to kMaxRetries. | |
| EchoMode | echo {EchoMode::None} |
| Single-wire loopback verification. | |
| AlertPolicy | alert_policy |
| What a hardware alert in a reply does to the call. | |
| StatusReturn | status_return |
| How much the servos answer (applies to the whole bus). | |
| uint32_t | broadcast_timeout_us |
| Wait for each reply of a broadcast ping (the servos answer in ID order). | |
| bool | allow_destructive |
| Permit Factory Reset, Backup Restore and writes to the ID with broadcast. | |
Everything the driver needs to know about the bus.
The defaults suit a protocol 2.0 bus at the factory baud rate; the timing fields are driver side (the e-Manual gives no reply deadline: see docs/configuration.md, ambiguities).
| AlertPolicy dynamixel::Config::alert_policy |
What a hardware alert in a reply does to the call.
| bool dynamixel::Config::allow_destructive |
Permit Factory Reset, Backup Restore and writes to the ID with broadcast.
| uint32_t dynamixel::Config::baud |
Bit rate of the UART; applied through SetBaudRate() when the port has it.
| uint32_t dynamixel::Config::broadcast_timeout_us |
Wait for each reply of a broadcast ping (the servos answer in ID order).
| uint32_t dynamixel::Config::reboot_wait_us {500'000} |
Wait after a Reboot, Restore or Factory Reset reply before the next instruction.
| uint32_t dynamixel::Config::reply_timeout_us |
Longest wait for the first byte of a reply (kMinTimeoutUs to kMaxTimeoutUs).
| uint8_t dynamixel::Config::retries |
Repeats of a ping or read after a bad or missing reply, 0 to kMaxRetries.
| StatusReturn dynamixel::Config::status_return |
How much the servos answer (applies to the whole bus).