bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
real_dc_motors::DCArduinoBoardImpl::Config Struct Reference

#include <dc_arduino_board_impl.h>

Public Attributes

std::string broker {"tcp://localhost:1883"}
std::string command_topic {"bitsim/dc_board/command"}
std::string state_topic {"bitsim/dc_board/state"}
std::vector< std::string > channels {"left", "right"}
 The names of the motors, in channel order. They prefix the keys of the messages.
real_t wheel_radius {0.1}
 The radius the board uses to turn angles into distances [m].
real_t command_period {0.02}
 How often the targets are sent [s].
real_t timeout {0.5}
 No report for this long means the board is gone [s].

Member Data Documentation

◆ broker

◆ channels

std::vector<std::string> bitsim::boards::arduino::DCArduinoBoardImpl::Config::channels {"left", "right"}

The names of the motors, in channel order. They prefix the keys of the messages.

◆ command_period

◆ command_topic

◆ state_topic

◆ timeout

No report for this long means the board is gone [s].

◆ wheel_radius

The radius the board uses to turn angles into distances [m].


The documentation for this struct was generated from the following file: