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

abcgarden's profile - activity

2016-12-28 14:10:18 -0500 received badge  Famous Question (source)
2016-03-09 03:54:43 -0500 received badge  Famous Question (source)
2016-03-07 14:13:32 -0500 received badge  Famous Question (source)
2015-08-14 09:55:12 -0500 received badge  Notable Question (source)
2015-08-14 09:55:12 -0500 received badge  Popular Question (source)
2015-08-12 20:52:32 -0500 received badge  Famous Question (source)
2015-03-24 03:33:14 -0500 received badge  Famous Question (source)
2015-03-23 08:40:54 -0500 commented question The value of ${prefix} in package.xml

I know the answer to the first one now. The value of ${prefix} is the path where package.xml locates.

2015-03-23 03:03:39 -0500 received badge  Enthusiast
2015-03-22 15:43:55 -0500 received badge  Notable Question (source)
2015-03-21 18:54:29 -0500 received badge  Editor (source)
2015-03-21 18:53:40 -0500 asked a question The value of ${prefix} in package.xml

I have several questions related to this topic:

  1. What is the value of ${prefix} in package.xml? Is it an env variable?

  2. How can I output these values?

  3. Are there any other "hidden" variables like this one in package.xml?

  4. Is it possible to run system command in package.xml, such as $(rospack find std_msgs) ?

  5. Is it a general question applicable to all xml files or is it only ROS-specific?

Thanks.

2015-03-21 18:20:00 -0500 received badge  Supporter (source)
2015-03-21 18:19:51 -0500 commented answer What is float64?

Thank you @dan, @Thomas. Actually, these two answers combine to be the best answer. But in the std_msgs/Float64 there is one filed "float64 data". It seems that the initial float64 is defined elsewhere. What's the source?

2015-03-21 13:51:34 -0500 received badge  Popular Question (source)
2015-03-21 09:56:26 -0500 asked a question What is float64?

Many ROS message uses the date type float64 so I decided to use this type in my code but I have this error:

   error: ‘float64’ does not name a type
             private: float64 direction_x_;
                      ^

I cannot find out the definition of float64. Anyone can tell me what files I should include to find out this data type definition?

2014-10-16 17:38:14 -0500 received badge  Taxonomist
2014-08-28 13:45:19 -0500 received badge  Notable Question (source)
2014-08-28 13:44:09 -0500 received badge  Notable Question (source)
2014-08-13 10:45:49 -0500 commented answer Make old programs work in new ROS version

It seems that there is no migration guide for Groovy? @BennyRe

2014-08-13 10:43:47 -0500 received badge  Scholar (source)
2014-08-13 05:18:55 -0500 received badge  Notable Question (source)
2014-08-12 12:45:35 -0500 commented answer Cannot find out arm_control_msgs

Does it mean that I have to re-write a new code using Moveit! or I can use the Moveit! substitute header files(messages)?

2014-08-12 12:43:47 -0500 commented question Cannot find out arm_control_msgs

Do you mean the "regression_test_pose_goal_floorobj.cpp"? No, I don't create it; it comes with the groovy distro. @BennyRe

2014-08-12 11:46:03 -0500 received badge  Notable Question (source)
2014-08-12 08:17:08 -0500 received badge  Popular Question (source)
2014-08-12 06:47:27 -0500 received badge  Popular Question (source)
2014-08-12 06:05:37 -0500 received badge  Student (source)
2014-08-12 03:39:38 -0500 asked a question Make old programs work in new ROS version

I have asked a specific question last time, now I want to ask a more general question to which the answer will be definitely helpful to people who also have the confuse like I do. The question is:

There are always many changes to files(the content and the file name!) from one ROS version to another version. So I want to know what kind of changes have been made(as detailed as possible) so that I can modify my program to run in the new ROS version. I think my possible solution is either one of the following:

Condition I: what is no longer available in the new ROS version is a header file 
Solution: Copy-paste the old header file into the package folder of the new ROS version and include it in the source code.

But the problem is the header file maybe rely on other header files so I will copy-paste many of them.

Consition II: what is no longer available in the new ROS version is a package
Solution: 1. Copy-paste the whole package to the package directory of the new ROS version and  "depend" on it.
2. Find out similar package in the new ROS version and change my programs.

Solution 1 is direct but seems not practical, the old package may not be compatible with new ROS and another problem is how to make it "dependable"?

Solution 2 seems better but it involves much work to do. The most important thing is how to find out a similar package? Should I compare each class, function and variable between them(I have to compare each new package?!) And in each package there are many classes, functions and it takes me much time to understand them. And even worse, if there is no similar package, I should write a new package available in the new ROS.

Any suggestion or more possibly better solutions to my question?

2014-08-12 03:09:56 -0500 asked a question Cannot find out arm_control_msgs

I am using ROS groovy on Ubuntu precise. Recently I am trying to convert a code which works on Diamondback to Groovy. But the problem is that some files used to be available in Diamondback now does not exist in Groovy. For example, when I look at file "regression_test_pose_goal_floorobj.cpp" located at "/opt/ros/groovy/stacks/arm_navigation/move_arm/test/regression_test_pose_goal_floorobj.cpp ", it has "#include <arm_control_msgs/TrajectoryStart.h>" but I cannot find TrajectoryStart.h, even worse, I cannot find out any folder or file named arm_control_msgs in the root directory of groovy. When I search for the dos of packages of Diamondback and Electric, I cannot find out anything similar to arm_control_msgs. So :

  1. anyone can help me find out where "arm_control_msgs" is?
  2. Or tell me what kind of changes have been made to this file(or package?) in Groovy so that I cannot include the new version of header file in my program or make some changes to my program.
2014-08-11 09:53:59 -0500 commented answer What does ${PROJECT_SOURCE_DIR} represents?

Thank you. I think you are right. But my question goes furthur, in a general case,(not necessarily ROS), how to find out the meaning for ${}. gvdhoorn gives one possible answer.

2014-08-11 09:41:54 -0500 received badge  Popular Question (source)
2014-08-11 07:37:21 -0500 received badge  Popular Question (source)
2014-08-11 01:21:33 -0500 asked a question Where Does "make" Look to Find its Header Files

Where Does "catkin_make", "rosmake" and "make" Look to Find its Header Files? (In my question, "make" represents "catkin_make", "rosmake" and "make" :) ) Because of the update of ROS versions, some header files which work in older version do not exist in new version of ROS, which turns out to be a "cannot find xxx header file" error when "make"-ING. What I am going to do is to find out those old header files I need and copy to the path where "make" search for those header files(Is it an advisable behavior?).