|
libstp
Robotics library for Botball
|
#include <turn_motion.hpp>
Public Attributes | |
| double | target_angle_rad {0.0} |
| double | speed_scale {1.0} |
| double | kS {0.0} |
| bool | has_angle_target {true} |
Configuration for an in-place turn.
Definition at line 9 of file turn_motion.hpp.
| bool libstp::motion::TurnConfig::has_angle_target {true} |
True (default) when target_angle_rad is a real angular goal. Set to false when the caller drives the turn purely via an external until-condition (sensor / timeout) so SpeedMode is still admissible. With SpeedMode active and this flag true, start() raises std::logic_error.
Definition at line 20 of file turn_motion.hpp.
| double libstp::motion::TurnConfig::kS {0.0} |
Definition at line 13 of file turn_motion.hpp.
| double libstp::motion::TurnConfig::speed_scale {1.0} |
Definition at line 12 of file turn_motion.hpp.
| double libstp::motion::TurnConfig::target_angle_rad {0.0} |
Definition at line 11 of file turn_motion.hpp.