Factory that builds circular arc (encircle) trajectories.
More...
#include <EncircleTrajectoryFactory.h>
|
| using | Request = bb_controls_msgs::srv::EncircleTraj::Request |
| |
Factory that builds circular arc (encircle) trajectories.
Parses and validates encircle parameters from an EncircleTraj service request and constructs an EncircleTrajectory. Uses a builder pattern to allow optional configuration after construction.
- See also
- EncircleTrajectory
◆ Request
◆ EncircleTrajectoryFactory()
Constructs the factory from an EncircleTraj service request.
Validates that radius is positive, turn angle is non-zero, and spiral_proportion is in [0, 1].
- Parameters
-
| req | [in] Service request with radius, turn_angle, tangent_offset, and spiral_proportion |
| origin | [in] Starting vehicle state |
| limits | [in] Per-axis velocity and acceleration limits |
◆ build()
| std::unique_ptr< TrajectoryBase > EncircleTrajectoryFactory::build |
( |
| ) |
|
|
overridevirtual |
◆ with_frame_id()
Sets the TF world frame ID embedded in visualisation messages.
- Parameters
-
| frame_id | [in] TF frame ID string |
- Returns
- Reference to this factory for method chaining
◆ with_origin_twist_threshold()
Sets the origin twist norm threshold below which the initial twist is zeroed.
- Parameters
-
| max_norm | [in] Threshold on the L2 norm of the origin twist |
- Returns
- Reference to this factory for method chaining
The documentation for this class was generated from the following files: