TrapezoidalMotionGenerator#
rb::TrapezoidalMotionGenerator provides a local motion-profile generator for
scalar or vector trajectories. It is a utility layer often used in examples and
controller support code rather than through the high-level robot client.
Header
Header |
|
Declaration
Namespace |
|
Kind |
|
Primary role |
Generate trapezoidal motion profiles and evaluate them over time. |
Member Types
Type |
Purpose |
Notes |
|---|---|---|
|
Motion-profile input record. |
Passed into |
|
Sampled output record at a given time. |
Returned by |
|
Internal coefficient record for the profile. |
Mainly useful during inspection or debugging. |
Public Member Functions
Method group |
Purpose |
Notes |
|---|---|---|
|
Load a new motion-profile request. |
Replaces the active profile. |
|
Sample the profile at a given time. |
|
|
Inspect profile duration, cached input, and completion state. |
Useful in time-stepped loops. |
Detailed Reference
-
template<int N>
class TrapezoidalMotionGenerator# Public Functions
-
inline explicit TrapezoidalMotionGenerator(unsigned int max_iter = 30)#
-
inline double GetTotalTime() const#
-
inline bool IsReached(double t)#
-
struct Coeff#
-
struct Input#
-
struct Output#
-
inline explicit TrapezoidalMotionGenerator(unsigned int max_iter = 30)#
Related Types
Examples
trapezoidal_motion_generator.cppis the direct example for this page.