|
simple_planner v1.4.0
|
Namespace for simple_planner package. More...
Classes | |
| struct | ConflictSample |
| struct | is_vector |
| struct | is_vector< std::vector< T, A > > |
| struct | ObjectTrajectory |
| struct | OrientedBox2D |
| struct | SimplePath |
| struct | SimplePathPoint |
| class | SimplePlannerNode |
| struct | TimedBox2D |
| struct | TopicDiagnosticConfig |
| Configuration parameters for topic diagnostics. More... | |
Functions | |
| double | wrap_angle_rad (double angle_rad) |
| Wraps an angle to the range [-pi, pi]. | |
| Eigen::Vector2d | rotate (const Eigen::Vector2d &vec, double yaw) |
| Rotates a 2D vector by the given yaw angle. | |
| double | getStateRelativeTime (const perception_msgs::msg::ObjectState &state, const std_msgs::msg::Header &fallback_header, const rclcpp::Time &planning_stamp) |
| Computes an object state's time relative to the planning stamp. | |
| OrientedBox2D | buildOrientedBox (const Eigen::Vector2d ¢er, double yaw, double length, double width) |
| Builds an oriented 2D bounding box from center pose and dimensions. | |
| OrientedBox2D | expandBoxWithSafetyMargins (const OrientedBox2D &box, double longitudinal_safety_distance, double lateral_safety_distance) |
| Expands a box by the given safety margins. | |
| std::array< Eigen::Vector2d, 4 > | getBoxCorners (const OrientedBox2D &box) |
| Returns the corners of an oriented box. | |
| geometry_msgs::msg::Pose | toPose (const OrientedBox2D &box) |
| Converts an oriented box center and heading to a ROS pose. | |
| TimedBox2D | interpolateTimedBox (const TimedBox2D &lhs, const TimedBox2D &rhs, double t) |
| Interpolates a timed box sample at the requested relative time. | |
| bool | overlaps (const OrientedBox2D &first_box, const OrientedBox2D &second_box) |
| Checks whether two oriented boxes overlap. | |
| TimedBox2D | buildObjectSample (const perception_msgs::msg::ObjectState &state, const std_msgs::msg::Header &fallback_header, const rclcpp::Time &stamp, double length, double width) |
| Builds a timed bounding-box sample for a single object state. | |
Variables | |
| template<typename C > | |
| constexpr bool | is_vector_v = is_vector<C>::value |
Namespace for simple_planner package.
|
inline |
Builds a timed bounding-box sample for a single object state.
| [in] | state | Object state in the vehicle frame. |
| [in] | fallback_header | Header used if the state has no own stamp. |
| [in] | stamp | Planning stamp used as relative time reference. |
| [in] | length | Object length. |
| [in] | width | Object width. |
Definition at line 224 of file object_geometry.hpp.
|
inline |
Builds an oriented 2D bounding box from center pose and dimensions.
| [in] | center | Box center in the target frame. |
| [in] | yaw | Box heading in radians. |
| [in] | length | Box length. |
| [in] | width | Box width. |
Definition at line 110 of file object_geometry.hpp.
|
inline |
Expands a box by the given safety margins.
| [in] | box | Box to expand. |
| [in] | longitudinal_safety_distance | Longitudinal safety margin. |
| [in] | lateral_safety_distance | Lateral safety margin. |
Definition at line 128 of file object_geometry.hpp.
|
inline |
Returns the corners of an oriented box.
| [in] | box | Box whose corners should be returned. |
Definition at line 146 of file object_geometry.hpp.
|
inline |
Computes an object state's time relative to the planning stamp.
| [in] | state | Object state whose stamp should be used if available. |
| [in] | fallback_header | Header used when the state has no own stamp. |
| [in] | planning_stamp | Reference time of the planning cycle. |
Definition at line 93 of file object_geometry.hpp.
|
inline |
Interpolates a timed box sample at the requested relative time.
| [in] | lhs | Earlier or first sample. |
| [in] | rhs | Later or second sample. |
| [in] | t | Relative time to sample. |
Definition at line 178 of file object_geometry.hpp.
|
inline |
Checks whether two oriented boxes overlap.
| [in] | first_box | First bounding box. |
| [in] | second_box | Second bounding box. |
Definition at line 199 of file object_geometry.hpp.
|
inline |
Rotates a 2D vector by the given yaw angle.
| [in] | vec | Vector to rotate. |
| [in] | yaw | Rotation angle in radians. |
Definition at line 79 of file object_geometry.hpp.
|
inline |
Converts an oriented box center and heading to a ROS pose.
| [in] | box | Box to convert. |
Definition at line 159 of file object_geometry.hpp.
|
inline |
Wraps an angle to the range [-pi, pi].
| [in] | angle_rad | Angle in radians. |
Definition at line 65 of file object_geometry.hpp.
|
inlineconstexpr |
Definition at line 49 of file simple_planner.hpp.