Ask Your Question

wennho's profile - activity

2014-12-05 10:33:46 -0500 received badge  Student (source)
2013-07-12 02:40:03 -0500 received badge  Taxonomist
2012-10-02 02:03:57 -0500 received badge  Popular Question (source)
2012-10-02 02:03:57 -0500 received badge  Notable Question (source)
2012-10-02 02:03:57 -0500 received badge  Famous Question (source)
2012-08-27 09:01:23 -0500 received badge  Famous Question (source)
2012-08-27 09:01:23 -0500 received badge  Popular Question (source)
2012-08-27 09:01:23 -0500 received badge  Notable Question (source)
2012-04-25 23:13:11 -0500 asked a question Using graphviz.hpp

Hi everyone, I just started using ROS and I'm trying to use the provided Boost library in ROS to do some graph processing. Unfortunately, when I try to include the graphviz.hpp file in my code a long list of errors pop up.

Here are the first few:

/usr/include/boost/xpressive/match_results.hpp:123:21: error: expected identifier before numeric constant
/usr/include/boost/xpressive/match_results.hpp:123:21: error: expected ‘}’ before numeric constant
/usr/include/boost/xpressive/match_results.hpp:123:21: error: expected unqualified-id before numeric constant
/usr/include/boost/xpressive/match_results.hpp:133:57: error: ‘traits’ has not been declared
/usr/include/boost/xpressive/match_results.hpp:133:63: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/include/boost/xpressive/match_results.hpp:164:63: error: ‘transform_op’ has not been declared
/usr/include/boost/xpressive/match_results.hpp:195:5: error: ‘traits’ does not name a type
/usr/include/boost/xpressive/match_results.hpp:196:5: error: ‘transform_op’ does not name a type

I have also enabled the rosbuild_add_boost_directories() line in CMakeLists.txt. Any other ideas?

Thanks in advance.

2012-03-29 12:51:52 -0500 asked a question Get state of all links in a model in gazebo?

I know that I can get a list of all link states in gazebo by calling

rostopic echo -n 1 /gazebo/link_states

But what about getting link states for only a specific model I'm interested in?

Also, what is the syntax for specifying a link name? I used

 rosservice call gazebo/get_link_properties '{link_name: link1}'

but got an error instead. Is there a way for me to specify the robot name as well?