Struct Constraints

Struct Documentation

struct squiggles::Constraints

Public Functions

Constraints(double imax_vel, double imax_accel = std::numeric_limits<double>::max(), double imax_jerk = std::numeric_limits<double>::max(), double imin_accel = std::nan(""))

Defines the motion constraints for a path.

Parameters
  • imax_vel: The maximum allowable velocity for the robot in meters per second.

  • imax_accel: The maximum allowable acceleration for the robot in meters per second per second.

  • imax_jerk: The maximum allowable jerk for the robot in meters per second per second per second (m/s^3).

  • imin_accel: The minimum allowable acceleration for the robot in meters per second per second.

std::string to_string() const

Serializes the Constraints data for debugging.

Return

The Constraints data.

Public Members

double max_vel
double max_accel
double max_jerk
double min_accel