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

RobertoD's profile - activity

2019-09-12 14:29:55 -0500 received badge  Famous Question (source)
2019-05-22 03:46:55 -0500 marked best answer [SOLVED]Orientation_mode issue

Hello,

I'm using ROS-indigo on a VM that run Ubuntu-14.04.5. I want to store on a file the informations of "/move_base/NavfnROS/plan" (in particular I need the position and orientation), to do so I first run this launch file:

<launch>

    <!-- Transformations /-->

    <node pkg="tf" type="static_transform_publisher" name="static_transform" args="8.5 21.5 0 1.57079633 0 0 map base_link 100"/>

    <!-- static Map /-->    
    <node pkg="map_server" type="map_server" name="static_map" args="/home/rob/catkin_ws/src/map_server/maps/testmap1.yaml" />

    <!-- move_base + costmap parameters /-->

    <node pkg="move_base" type="move_base" name="move_base" output="screen" >
        <rosparam file="/home/rob/catkin_ws/src/move_base1/move_base_config/costmap_common_params.yaml" command="load" ns="global_costmap" />
        <rosparam file="/home/rob/catkin_ws/src/move_base1/move_base_config/costmap_common_params.yaml" command="load" ns="local_costmap" />
        <rosparam file="/home/rob/catkin_ws/src/move_base1/move_base_config/global_costmap_params.yaml" command="load" />
        <rosparam file="/home/rob/catkin_ws/src/move_base1/move_base_config/local_costmap_params.yaml" command="load" />
    </node>

</launch>

after that I run rviz and use the "2D Nav Goal" button to set a goal in my static_map and let global_planner to generate a path_plan. I finally use rostopic echo /move_base/NavfnROS/plan >> "filel.txt" in the terminal to store the information that I need.

When I read the stored information in "file.txt" I correctly obtain the positions, but the orientation shows always x:0 y:0 z:0 w:1 though i set the "orientation_mode" parameter equal to 1 (FORWARD) in the "costmap_common_params.yaml".

Could anyone tell me what I'm doing wrong? (And yes, I already build the workspace with catkin_make).

The reference link where i read about the "orientarion filter" http://wiki.ros.org/global_planner

Thank you for your help.

2019-05-21 13:51:26 -0500 edited question [SOLVED]Orientation_mode issue

Orientation_mode issue Hello, I'm using ROS-indigo on a VM that run Ubuntu-14.04.5. I want to store on a file the infor

2019-05-21 13:51:08 -0500 answered a question [SOLVED]Orientation_mode issue

I found the problem: when I was trying to implement the global planner, I missed this: <node pkg="move_base" type="m

2019-05-08 05:33:25 -0500 received badge  Notable Question (source)
2019-05-07 04:30:39 -0500 received badge  Popular Question (source)
2019-05-07 03:17:31 -0500 asked a question [SOLVED]Orientation_mode issue

Orientation_mode issue Hello, I'm using ROS-indigo on a VM that run Ubuntu-14.04.5. I want to store on a file the infor