- 3.0.2 rigid body dynamics module.
|
#include <SimpleArmTrajectoryGenerator.h>
Public Types | |
using | Position = typename ct::rbd::JointState< NJOINTS, SCALAR >::Position |
using | Velocity = typename ct::rbd::JointState< NJOINTS, SCALAR >::Velocity |
using | Acceleration = typename ct::rbd::JointAcceleration< NJOINTS, SCALAR >::Acceleration |
Public Member Functions | |
SimpleArmTrajectoryGenerator (const Velocity &kAbsMaxJointVelocities, const Acceleration &kAbsMaxJointAccelerations) | |
core::StateTrajectory< 2 *NJOINTS > | generateTrajectory (const Position &start, const Position &end, const SCALAR sampling_time=SCALAR(0.02), bool verbose=false) |
Generates basic joint trajectories according to the principle explained in SingleDOFTrajectoryGenerator.h. Not all joints will reach their target at the same time, every joint drives up to its individual max velocity and finishes when arrived. Whole trajectory ends when last joint arrives at it's desired position.
using ct::rbd::SimpleArmTrajectoryGenerator< NJOINTS, SCALAR >::Position = typename ct::rbd::JointState<NJOINTS, SCALAR>::Position |
using ct::rbd::SimpleArmTrajectoryGenerator< NJOINTS, SCALAR >::Velocity = typename ct::rbd::JointState<NJOINTS, SCALAR>::Velocity |
using ct::rbd::SimpleArmTrajectoryGenerator< NJOINTS, SCALAR >::Acceleration = typename ct::rbd::JointAcceleration<NJOINTS, SCALAR>::Acceleration |
|
inline |
References i.
|
inline |
Generate a Trajectory with a default sampling time of 20 ms -> sampling in constant time intervals
References i, n, ct::core::DiscreteTrajectoryBase< T, Alloc, SCALAR >::push_back(), and verbose.
Referenced by main().