|
libstp
Robotics library for Botball
|
#include <directional_line_follow_motion.hpp>
Public Member Functions | |
| DirectionalLineFollowMotion (MotionContext ctx, DirectionalLineFollowMotionConfig config) | |
| void | start () override |
| void | update (double dt) override |
| bool | isFinished () const override |
| void | setSensorError (double error) |
| const std::vector< DirectionalLineFollowMotionTelemetry > & | getTelemetry () const |
| Public Member Functions inherited from libstp::motion::Motion | |
| Motion (MotionContext ctx) | |
| virtual | ~Motion ()=default |
Additional Inherited Members | |
| Protected Member Functions inherited from libstp::motion::Motion | |
| drive::Drive & | drive () |
| const drive::Drive & | drive () const |
| odometry::IOdometry & | odometry () |
| const odometry::IOdometry & | odometry () const |
| Protected Attributes inherited from libstp::motion::Motion | |
| MotionContext | ctx_ |
| bool | started_ {false} |
Definition at line 61 of file directional_line_follow_motion.hpp.
| libstp::motion::DirectionalLineFollowMotion::DirectionalLineFollowMotion | ( | MotionContext | ctx, |
| DirectionalLineFollowMotionConfig | config ) |
|
inlinenodiscard |
Definition at line 71 of file directional_line_follow_motion.hpp.
|
nodiscardoverridevirtual |
Return true once the primitive has met its completion criteria.
Implements libstp::motion::Motion.
| void libstp::motion::DirectionalLineFollowMotion::setSensorError | ( | double | error | ) |
|
overridevirtual |
Capture initial state and prepare controller internals.
Implements libstp::motion::Motion.
|
overridevirtual |
Advance the controller by one iteration using the loop delta in seconds.
Implements libstp::motion::Motion.