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

silentwf's profile - activity

2017-08-07 02:43:31 -0500 received badge  Famous Question (source)
2015-07-01 05:33:45 -0500 received badge  Famous Question (source)
2015-06-13 08:17:58 -0500 received badge  Notable Question (source)
2015-06-08 03:23:12 -0500 received badge  Good Question (source)
2015-03-03 15:27:39 -0500 received badge  Popular Question (source)
2014-12-31 09:54:05 -0500 received badge  Famous Question (source)
2014-11-03 08:57:55 -0500 received badge  Popular Question (source)
2014-10-29 09:54:39 -0500 commented answer catkin-cmake-isolated fails to build moveit_core

@Fabien R Could you post your cmake file and where you placed it? I'm also facing the same problem as you are.

2014-10-28 09:21:12 -0500 asked a question Install newer version of octomap on Groovy?

Hi all,

I am currently on Groovy and cannot upgrade due to limitations of our group. However, I would like to get a newer version of Octomap package on Groovy, how would I do that?

The package website states "This means that you compile against OctoMap without requiring any ROS-specific build tools or catkin macros (in fact, they won't work)." What does this mean?

2014-09-10 08:39:56 -0500 received badge  Famous Question (source)
2014-08-27 08:58:33 -0500 commented answer Getting messages after an user input?

Hi, sorry for the confusion. To simplify, I have a node that is subscribing to a topic that is publishing at 100Hz. Now I want to allow user input to this node. When the user inputs a certain string, the contents of the topic will be outputted. I don't want the node to be constantly printing out the topic contents.

2014-08-22 19:17:01 -0500 commented answer Getting messages after an user input?

Sorry for not making it clear. Try this: In one node, have an integer that increases every half a second (so 0, 1, 2, 3...). In the same node, have a subscriber that listens to a second node. When the second node passes "something" to the first node, the first node publishes the current integer. In the second node, have a subscriber that listens to the integer that will be published by the first node when the user inputs "something" into the second node. (So the "something" will cause the second node to publish a message to the first node, and the first node will reply with an integer). See if running this gets you the correct integer. In my case it doesn't.

2014-08-22 11:46:42 -0500 received badge  Notable Question (source)
2014-08-22 07:25:49 -0500 commented answer Getting messages after an user input?

Hi, I wonder if you've tried executing the program you have written? Lets assume that the message I am going to receive is an integer with value "1" and the default integer I have within the node is 0. If you run that program, the first "something" input will give you a 0, not a 1. It is only until you input "something" the second time does 1 print out. This is the problem I am facing. I wonder if this makes it more clear?

2014-08-22 06:52:52 -0500 received badge  Popular Question (source)
2014-08-21 13:49:48 -0500 asked a question Getting messages after an user input?

Hi all,

Right now my situation is that there is a node that publishes information, and I need to be able grab information from the publishing node and then print out (I need it for more than just "printing", but trying to keep it simple here) the information recieved when there is an user input.

Here's a snippet of the code

while(true)
{
  std::string inputString;
  std::cout << "Give input";
  std::getline(std::cin, inputString);

  if(inputString.compare("something") == 0)
  {
    //send a request to the node serving out the messages
    //print out recieved messages.
  }

  ros::spinOnce();
}

So I noticed that the received messages do not update on the first input of "something" (hence printing out the previous, un-updated message), but rather on the second time of input. To the best of my knowledge, it has to do something with how getline() is a blocking function, and hence the subscriber/publisher/service calls within this node are not being called, and is only called after there is a spin function invovled (be it spinOnce or spin). In this case, what is a good solution to get around this?

2014-08-21 09:34:53 -0500 marked best answer From transform to pose?

Hi all, I'm very new to Python and the TF package. Given a transform, I am trying to calculate its pose. How would I do that?

I've seen this link and saw the code

  tf::Transform grasp_tf(gripperRotation, gripperOrigin);
  tf::Stamped<tf::Pose> grasp_tf_pose(grasp_tf);
  geometry_msgs::PoseStamped msg;
  tf::poseStampedTFToMsg    (grasp_tf_pose, msg);

However, I don't know how I should convert this into Python code. Is there more documentation than the one given in the wiki?

2014-08-21 08:42:38 -0500 received badge  Scholar (source)
2014-08-21 08:42:32 -0500 received badge  Supporter (source)
2014-08-20 21:10:23 -0500 asked a question Get Interactive Marker pose information

Hi all,

Assume that there's a plugin that creates interactive markers that is on the name space "my_stuff/markers". I am currently writing another node that tries to grab information from this plugin. I tried creating an InteractiveMarkerServer that uses the same namespace and also supplying the marker name to the "get" function of the Marker Server. However, this doesn't work.

Are there any suggestions on how to do so?

2014-08-20 19:44:39 -0500 commented answer From transform to pose?

Yes. What I meant was if I had an original Pose information and then a Transform information, how would I use these two information to calculate its resulting Pose?

2014-08-18 13:37:16 -0500 received badge  Notable Question (source)
2014-08-18 12:11:27 -0500 received badge  Popular Question (source)
2014-08-18 11:54:41 -0500 received badge  Nice Question (source)
2014-08-18 10:40:24 -0500 received badge  Student (source)
2014-07-05 08:02:29 -0500 received badge  Enthusiast
2014-07-03 09:14:26 -0500 received badge  Notable Question (source)
2014-07-02 07:25:15 -0500 received badge  Popular Question (source)
2014-06-30 11:13:09 -0500 commented question Difference in configuration files from pr2_moveit_generated and pr2_moveit_config

Had to break the links cuz my "karma is insufficient to include links"...

2014-06-30 11:12:43 -0500 asked a question Difference in configuration files from pr2_moveit_generated and pr2_moveit_config

Hi, I'm looking at the tutorials on the PR2 given on http://moveit.ros.org/wiki/PR2/Rviz_P... and http://moveit.ros.org/wiki/PR2/Gazebo... .

So I noticed that in the Rviz_plugin tutorial, they launch the file from the package pr2_moveit_config, while in the Gazebo tutorial, they launch it from the pr2_moveit_generated package. Now the first immediate difference I notice is that I'm missing an interactive marker when I do the Gazebo tutorial.

I look into the launch files of pr2_moveit_config and there are subtle differences than the pr2_moveit_generated. Why is this happening? Also, how do I restore the interactive markers?

Interesting side note: I used the Moveit! setup assistance to create a new configuration file for my robot, and the interactive marker appears, but not on the pr2_moveit_generated package.

ROS version: Groovy Ubuntu: 12.04 LTS I installed Moveit! using this: http://moveit.ros.org/groovy/wiki/Ins... .