Functions
descartes_utilities Namespace Reference

Functions

bool toRosJointPoints (const descartes_core::RobotModel &model, const std::vector< descartes_core::TrajectoryPtPtr > &joint_traj, double default_joint_vel, std::vector< trajectory_msgs::JointTrajectoryPoint > &out)
 Converts a sequence of Descartes joint trajectory points to ROS trajectory points. Copies timing if specified, and sets vel/acc/effort fields to zeros.

Function Documentation

bool descartes_utilities::toRosJointPoints ( const descartes_core::RobotModel model,
const std::vector< descartes_core::TrajectoryPtPtr > &  joint_traj,
double  default_joint_vel,
std::vector< trajectory_msgs::JointTrajectoryPoint > &  out 
)

Converts a sequence of Descartes joint trajectory points to ROS trajectory points. Copies timing if specified, and sets vel/acc/effort fields to zeros.

Parameters:
modelDescartes robot model associated with the Descartes joint trajectory
joint_trajSequence of 'joint trajectory points' as returned by Dense/Sparse planner
default_joint_velIf a point, does not have timing specified, this value (in rads/s) is used to calculate a 'default' time. Must be > 0 & less than 100.
outBuffer in which to store the resulting ROS trajectory. Only overwritten on success.
Returns:
True if the conversion succeeded. False otherwise.

Definition at line 50 of file ros_conversions.cpp.



descartes_utilities
Author(s):
autogenerated on Thu Jun 6 2019 21:36:15