Namespaces | Functions
utils.h File Reference
#include <vector>
#include <string>
#include <trajectory_msgs/JointTrajectory.h>
#include <trajectory_msgs/JointTrajectoryPoint.h>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  motoman
namespace  motoman::utils

Functions

bool motoman::utils::checkJointNames (const trajectory_msgs::JointTrajectoryConstPtr &trajectory)
 Checks that the joint names match the assumptions made by the motoman controller interface.
bool motoman::utils::checkTrajectory (const trajectory_msgs::JointTrajectoryConstPtr &trajectory)
 Checks that the trajectory meets the assumptions and requirements of the motoman controller interface.
bool motoman::utils::checkTrajectory ()
bool motoman::utils::getVelocityLimits (std::string param_name, trajectory_msgs::JointTrajectoryConstPtr trajectory, std::vector< double > &joint_velocity_limits)
 Queries the URDF parameter server to determine what the velocity limits are for the joint names that are pased in. The order of the velocity limits returned (by reference) matches the joint name order. NOTE: This process is an expensive one. The results of this call should be cached for future needs.
bool motoman::utils::hasSuffix (const std::string &str, const std::string &suffix)
 Checks a string a the suffix.
double motoman::utils::toMotomanVelocity (std::vector< double > &joint_velocity_limits, std::vector< double > &joint_velocities)
 Converts the ROS trajectory velocity (individual joint velocities to the combined motoman velocity which is highest joint velocity required as a fraction of the joint velocity limit.


dx100
Author(s): Shaun Edwards (Southwest Research Institute)
autogenerated on Mon Oct 6 2014 02:25:34