bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::boards::arduino::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

std::string bitsim::boards::arduino::DCArduinoBoardImpl::Config::broker {"tcp://localhost:1883"}

◆ 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

real_t bitsim::boards::arduino::DCArduinoBoardImpl::Config::command_period {0.02}

How often the targets are sent [s].

◆ command_topic

std::string bitsim::boards::arduino::DCArduinoBoardImpl::Config::command_topic {"bitsim/dc_board/command"}

◆ state_topic

std::string bitsim::boards::arduino::DCArduinoBoardImpl::Config::state_topic {"bitsim/dc_board/state"}

◆ timeout

real_t bitsim::boards::arduino::DCArduinoBoardImpl::Config::timeout {0.5}

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

◆ wheel_radius

real_t bitsim::boards::arduino::DCArduinoBoardImpl::Config::wheel_radius {0.1}

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


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