Ask Your Question

Cheshie's profile - activity

2015-05-29 04:47:51 -0500 received badge  Famous Question (source)
2015-01-03 20:03:36 -0500 received badge  Notable Question (source)
2015-01-02 22:28:01 -0500 received badge  Popular Question (source)
2015-01-01 15:43:26 -0500 asked a question How to get initial pose of a robot?

I want to plan a path for a robot, using the "move_base_node/make_plan" service. To do that, the Service Client need to get the "start" and "goal" coordinates. How can I find the initial pose of a robot (for the "start" coordinate)?

2014-12-25 19:11:56 -0500 asked a question How to change name of ros node?

I have two nodes, called node_one and node_two. They work fine.

I decided to change the names of the nodes. I changed them in the following places:

  1. When initializing the nodes, E.g:

    ros::init(argc, argv, "node_one");

  2. In the CMakeLists.txt file:

    add_executable(node_one src/Node_one.cpp)

  3. Again, in the CMakeLists.txt file:

    target_link_libraries(node_one ${catkin_LIBRARIES})

After changing the names of the nodes, when I try to run them, I get the following error:

couldn't find executable named node_one below *the path*.

I am new to ROS so perhaps I missed something basic... what am I doing wrong?