Go to the documentation of this file.
60 #ifndef __DUBINS_STATE_SPACE_HPP_
61 #define __DUBINS_STATE_SPACE_HPP_
106 double p = std::numeric_limits<double>::max(),
double q = 0.)
136 assert(
kappa > 0.0 && discretization > 0.0);
158 const State &state2)
const;
161 std::vector<State>
integrate(
const State &state,
const std::vector<Control> &controls)
const;
165 const std::vector<Control> &controls)
const;
Dubins_State_Space(double kappa, double discretization=0.1, bool forwards=true)
Constructor of the Dubins_State_Space.
EKF ekf_
Extended Kalman Filter for uncertainty propagation.
std::vector< State > get_path(const State &state1, const State &state2) const
Returns shortest path from state1 to state2 with curvature = kappa_.
Description of a kinematic car's state.
static const Dubins_Path_Segment_Type dubins_path_type[6][3]
Dubins path types.
An SE(2) state space where distance is measured by the length of Dubins curves. Note that this Dubins...
Dubins_Path dubins(const State &state1, const State &state2) const
Returns type and length of segments of path from state1 to state2 with curvature = 1....
const Dubins_Path_Segment_Type * type_
State interpolate(const State &state, const std::vector< Control > &controls, double t) const
Returns interpolated state at distance t in [0,1] (percent of total path length with curvature = kapp...
void set_filter_parameters(const Motion_Noise &motion_noise, const Measurement_Noise &measurement_noise, const Controller &controller)
Sets the parameters required by the filter.
std::vector< Control > get_controls(const State &state1, const State &state2) const
Returns controls of the shortest path from state1 to state2 with curvature = kappa_.
Dubins_Path(const Dubins_Path_Segment_Type *type=dubins_path_type[0], double t=0., double p=std::numeric_limits< double >::max(), double q=0.)
Constructor of the Dubins_Path.
double kappa_inv_
Inverse of curvature.
Description of a path segment with its corresponding control inputs.
State integrate_ODE(const State &state, const Control &control, double integration_step) const
Returns integrated state given a start state, a control, and an integration step.
Complete description of a Dubins path.
Parameters of the motion noise model according to the book: Probabilistic Robotics,...
std::vector< State_With_Covariance > integrate_with_covariance(const State_With_Covariance &state, const std::vector< Control > &controls) const
Returns integrated states including covariance given a start state and controls with curvature = kapp...
bool forwards_
Driving direction.
std::vector< State_With_Covariance > get_path_with_covariance(const State_With_Covariance &state1, const State &state2) const
Returns shortest path including covariances from state1 to state2 with curvature = kappa_.
double discretization_
Discretization of path.
Description of a kinematic car's state with covariance.
Parameters of the feedback controller.
std::vector< State > integrate(const State &state, const std::vector< Control > &controls) const
Returns integrated states given a start state and controls with curvature = kappa_.
geometry_msgs::TransformStamped t
Parameters of the measurement noise.
double get_distance(const State &state1, const State &state2) const
Returns shortest path length from state1 to state2 with curvature = kappa_.
Dubins_Path_Segment_Type
The Dubins path segment type.