ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Francisco's profile - activity

2017-10-24 23:23:38 -0500 commented question Using multiple launch files from universal_robot_package in one launch file

That's strange. I just tried your launch file (adding the missing < at the begging of the file) and it works as expec

2014-07-21 10:49:31 -0500 received badge  Enthusiast
2014-07-15 14:29:09 -0500 answered a question Subscribe to endpoint_state, and save the pose position coordinates for later use

The first thing to do is determine what is the message used in that topic, e.g:

$ rostopic info /robot/limb/left/endpoint_state
Type: baxter_core_msgs/EndpointState

Therefore, your function leftEndpointCallback should look like this:

void leftEndpointCallback(const baxter_core_msgs::EndpointStateConstPtr& _msg) 
{
  // The pose is within the _msg object
  ROS_INFO_STREAM("pose: " << _msg->pose);
  ROS_INFO_STREAM("pose.position.x: " << _msg->pose.position.x);
  ROS_INFO_STREAM("pose.position.y: " << _msg->pose.position.y);
  ROS_INFO_STREAM("pose.position.z: " << _msg->pose.position.z);
}

How to use these values somewhere else is scope of C/C++ callbacks. If you really need to process this data outside the callback you may consider implementing a Class. It seems that most people hate global variables (count me as well)

2014-05-14 09:36:33 -0500 commented answer netft sensor integration with UR5?

Yes, it should work. Just follow the instructions in the repository.

2014-05-13 04:37:10 -0500 commented question netft sensor integration with UR5?

Maybe late but for people looking for it, I have catkinized the netft metapackage.

Repository: github.com/fsuarez6/netft