mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
generateTrajectory: default reversed param to false (#1953)
This commit is contained in:
committed by
Peter Johnson
parent
acf960f729
commit
4f034e6c14
@@ -45,7 +45,8 @@ class TrajectoryGenerator {
|
||||
units::meters_per_second_t startVelocity,
|
||||
units::meters_per_second_t endVelocity,
|
||||
units::meters_per_second_t maxVelocity,
|
||||
units::meters_per_second_squared_t maxAcceleration, bool reversed);
|
||||
units::meters_per_second_squared_t maxAcceleration,
|
||||
bool reversed = false);
|
||||
|
||||
/**
|
||||
* Generates a trajectory with the given waypoints and constraints.
|
||||
@@ -72,7 +73,8 @@ class TrajectoryGenerator {
|
||||
units::meters_per_second_t startVelocity,
|
||||
units::meters_per_second_t endVelocity,
|
||||
units::meters_per_second_t maxVelocity,
|
||||
units::meters_per_second_squared_t maxAcceleration, bool reversed);
|
||||
units::meters_per_second_squared_t maxAcceleration,
|
||||
bool reversed = false);
|
||||
|
||||
/**
|
||||
* Generates a trajectory with the given waypoints and differential drive
|
||||
@@ -98,7 +100,8 @@ class TrajectoryGenerator {
|
||||
units::meters_per_second_t startVelocity,
|
||||
units::meters_per_second_t endVelocity,
|
||||
units::meters_per_second_t maxVelocity,
|
||||
units::meters_per_second_squared_t maxAcceleration, bool reversed);
|
||||
units::meters_per_second_squared_t maxAcceleration,
|
||||
bool reversed = false);
|
||||
|
||||
/**
|
||||
* Generates a trajectory with the given waypoints and differential drive
|
||||
@@ -128,7 +131,8 @@ class TrajectoryGenerator {
|
||||
units::meters_per_second_t startVelocity,
|
||||
units::meters_per_second_t endVelocity,
|
||||
units::meters_per_second_t maxVelocity,
|
||||
units::meters_per_second_squared_t maxAcceleration, bool reversed);
|
||||
units::meters_per_second_squared_t maxAcceleration,
|
||||
bool reversed = false);
|
||||
|
||||
/**
|
||||
* Generate spline points from a vector of splines by parameterizing the
|
||||
|
||||
Reference in New Issue
Block a user