gazebo-yarp-plugins
Gazebo Plugins exposing YARP interfaces.
Loading...
Searching...
No Matches
MinJerkTrajectoryGenerator Class Reference

#include <ControlBoardDriverTrajectory.h>

Inheritance diagram for MinJerkTrajectoryGenerator:
Collaboration diagram for MinJerkTrajectoryGenerator:

Public Member Functions

 MinJerkTrajectoryGenerator (gazebo::physics::Model *model)
 
virtual ~MinJerkTrajectoryGenerator ()
 
bool initTrajectory (double current_pos, double final_pos, double speed, double acceleration)
 
bool abortTrajectory (double limit)
 
double computeTrajectory ()
 
double computeTrajectoryStep ()
 
yarp::dev::TrajectoryType getTrajectoryType ()
 
bool setLimits (double min, double max)
 
bool isMotionDone ()
 

Protected Attributes

std::mutex m_mutex
 
gazebo::physics::Model * m_robot
 
bool m_trajectory_complete
 
double m_x0
 
double m_xf
 
double m_speed
 
double m_acceleration
 
double m_computed_reference
 
double m_controllerPeriod
 
double m_joint_min
 
double m_joint_max
 

Constructor & Destructor Documentation

◆ MinJerkTrajectoryGenerator()

MinJerkTrajectoryGenerator::MinJerkTrajectoryGenerator ( gazebo::physics::Model * model)

◆ ~MinJerkTrajectoryGenerator()

MinJerkTrajectoryGenerator::~MinJerkTrajectoryGenerator ( )
virtual

Member Function Documentation

◆ initTrajectory()

bool MinJerkTrajectoryGenerator::initTrajectory ( double current_pos,
double final_pos,
double speed,
double acceleration )
virtual

Implements TrajectoryGenerator.

◆ abortTrajectory()

bool MinJerkTrajectoryGenerator::abortTrajectory ( double limit)
virtual

Implements TrajectoryGenerator.

◆ computeTrajectory()

double MinJerkTrajectoryGenerator::computeTrajectory ( )
virtual

Implements TrajectoryGenerator.

◆ computeTrajectoryStep()

double MinJerkTrajectoryGenerator::computeTrajectoryStep ( )
virtual

Implements TrajectoryGenerator.

◆ getTrajectoryType()

yarp::dev::TrajectoryType MinJerkTrajectoryGenerator::getTrajectoryType ( )
virtual

Implements TrajectoryGenerator.

◆ setLimits()

bool TrajectoryGenerator::setLimits ( double min,
double max )
inherited

◆ isMotionDone()

bool TrajectoryGenerator::isMotionDone ( )
inherited

Member Data Documentation

◆ m_mutex

std::mutex TrajectoryGenerator::m_mutex
protectedinherited

◆ m_robot

gazebo::physics::Model* TrajectoryGenerator::m_robot
protectedinherited

◆ m_trajectory_complete

bool TrajectoryGenerator::m_trajectory_complete
protectedinherited

◆ m_x0

double TrajectoryGenerator::m_x0
protectedinherited

◆ m_xf

double TrajectoryGenerator::m_xf
protectedinherited

◆ m_speed

double TrajectoryGenerator::m_speed
protectedinherited

◆ m_acceleration

double TrajectoryGenerator::m_acceleration
protectedinherited

◆ m_computed_reference

double TrajectoryGenerator::m_computed_reference
protectedinherited

◆ m_controllerPeriod

double TrajectoryGenerator::m_controllerPeriod
protectedinherited

◆ m_joint_min

double TrajectoryGenerator::m_joint_min
protectedinherited

◆ m_joint_max

double TrajectoryGenerator::m_joint_max
protectedinherited

The documentation for this class was generated from the following files: