Struct LatticeMotionTable
Defined in File node_lattice.hpp
Struct Documentation
A table of motion primitives and related functions.
Public Functions
A constructor for nav2_smac_planner::LatticeMotionTable.
Initializing state lattice planner’s motion model.
- Parameters:
size_x_in – Size of costmap in X
search_info – Parameters for searching
Get projections of motion models.
- Parameters:
node – Ptr to NodeLattice
- Returns:
A set of motion poses
Get the angular bin to use from a raw orientation.
- Parameters:
theta – Angle in radians
- Returns:
bin index of closest angle to request
Get the raw orientation from an angular bin.
- Parameters:
bin_idx – Index of the bin
- Returns:
Raw orientation in radians
Public Members
Public Static Functions
Get file metadata needed.
- Parameters:
lattice_filepath – Filepath to the lattice file
- Returns:
A set of metadata containing the number of angular bins and the global coordinates minimum turning radius of the primitives for use in analytic expansion and heuristic calculation.