|
libstp
Robotics library for Botball
|
#include <arc_motion.hpp>
Public Attributes | |
| double | radius_m {0.0} |
| double | arc_angle_rad {0.0} |
| double | speed_scale {1.0} |
| bool | lateral {false} |
Configuration for a circular arc motion.
The robot drives forward while simultaneously turning, tracing a circular arc of the given radius. The arc is complete when the heading has changed by arc_angle_rad.
speed_scale carries both magnitude and travel direction:
Definition at line 31 of file arc_motion.hpp.
| double libstp::motion::ArcMotionConfig::arc_angle_rad {0.0} |
Definition at line 34 of file arc_motion.hpp.
| bool libstp::motion::ArcMotionConfig::lateral {false} |
Definition at line 36 of file arc_motion.hpp.
| double libstp::motion::ArcMotionConfig::radius_m {0.0} |
Definition at line 33 of file arc_motion.hpp.
| double libstp::motion::ArcMotionConfig::speed_scale {1.0} |
Definition at line 35 of file arc_motion.hpp.