bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::boards::MotorChannelState Struct Reference

What a board last reported about one of its motors. More...

#include <dc_motor_board_base.h>

Public Attributes

real_t angle {0.0}
 The angle of the output shaft [rad], since the board started.
real_t speed {0.0}
 The speed of the output shaft [rad/s].
std::chrono::steady_clock::time_point received_at {}
 When the report arrived.

Detailed Description

What a board last reported about one of its motors.

Member Data Documentation

◆ angle

real_t bitsim::boards::MotorChannelState::angle {0.0}

The angle of the output shaft [rad], since the board started.

◆ received_at

std::chrono::steady_clock::time_point bitsim::boards::MotorChannelState::received_at {}

When the report arrived.

◆ speed

real_t bitsim::boards::MotorChannelState::speed {0.0}

The speed of the output shaft [rad/s].


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