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

MasterTsoutsos's profile - activity

2020-07-02 07:28:13 -0500 received badge  Scholar (source)
2020-04-16 15:09:20 -0500 received badge  Famous Question (source)
2019-11-08 03:28:12 -0500 commented answer moveit: param server is missing planner configurations

This seems to be the case! If you use setup_assistant to build the <robot>_moveit_config package remember to choos

2019-10-29 03:40:13 -0500 commented answer How do I adapt gripper simulation in Gazebo?

I can confirm too this package worked clone the repo in your catkin/src/ build the package and load it as the person ab

2019-06-07 13:19:50 -0500 answered a question Turtlebot3 beginner tutorial

If you are such a beginner start by doing the ROS tutorials if you already have not. What you are asking seems pretty we

2019-06-07 13:19:50 -0500 received badge  Rapid Responder (source)
2019-04-12 03:59:04 -0500 marked best answer how Could I get a parameter from the parameter server and use it in .yaml file.

What I am trying to do is to install two turtlebots in GAZEBO in reference to this famous post and try to cover willow garage with them.

I managed to get AMCL running for both robots just fine. Now I need to set move base but I want obviously to set all the costmaps running for the namespace of each robot. So According to the code bellow I set the tf prefixes (robo1_tf/ , robot2_tf).

So what I have is one name space here and a tf_prefix:

<nav_file.launch>

<group ns="robot1">
    <param name="tf_prefix" value="robot1_tf" />
    <param name="amcl/initial_pose_x" value="-1.0" />
    <param name="amcl/initial_pose_y" value="-1.0" />
    <param name="amcl/initial_pose_a" value="0.0" />
    <param name="global_frame_id" value="/map" />
    <param name="amcl/odom_frame_id" value="robot1_tf/odom"/>
    <param name="amcl/base_frame_id" value="robot1_tf/base_link"/>
    <param name="map_topic" value="/map" />
    <remap from="/scan" to="/robot1_tf/scan"/>
    <remap from="static_map" to="/static_map"/>
    <include file="$(find my_2d_nav)/launch/start_move_base2.launch" />
</group>

and one part of the common costmap.yaml file of move base is below

<common_costmap>

observation_sources: laser_scan_sensor
laser_scan_sensor: {sensor_frame: base_link, data_type: LaserScan, topic: scan, marking: true, clearing: true, expected_update_rate: 15.0}

so What I wanna do, instead of creating two seperate costmap files going along the line

common_costmap_params1.yaml

observation_sources: laser_scan_sensor
laser_scan_sensor: {sensor_frame: robot1_tf/base_link, data_type: LaserScan, topic: robot1/scan, marking: true, clearing: true, expected_update_rate: 15.0}

common_costmap_params2.yaml

observation_sources: laser_scan_sensor
laser_scan_sensor: {sensor_frame: robot2_tf/base_link, data_type: LaserScan, topic: robot2/scan, marking: true, clearing: true, expected_update_rate: 15.0}

I want to keep ONE common_costmap_params.yaml for BOTH namespaces like

observation_sources: laser_scan_sensor
laser_scan_sensor: {sensor_frame: $(tf_prefix)/base_link, data_type: LaserScan, topic: $(ns)/scan, marking: true, 
clearing: true, expected_update_rate: 15.0}

if it was python code I Would do

prefix = rospy.get_param("tf_prefix")

But How do I do the above python trick in a yaml file? I do have read the Param Server docs but there sth I cannot gasp something in the Syntax I do not know. I thought that move_base would work out of the box for each ns but this does not seem to be the case

If you need any list of topics, nodes, tf_tree, node graph, let me know and I will update. If the question is not well stated I will update also. thanks for any direction or hint or link in advance.

2019-04-12 03:58:59 -0500 received badge  Notable Question (source)
2019-02-20 09:22:43 -0500 commented question how Could I get a parameter from the parameter server and use it in .yaml file.

I worked around the problem by using seperate yaml flles after all. Thanks for the suggestion though!!

2019-02-18 03:15:41 -0500 received badge  Popular Question (source)
2019-02-16 05:50:25 -0500 edited question how Could I get a parameter from the parameter server and use it in .yaml file.

how Could I get a parameter from the parameter server and use it in .yaml file. What I am trying to do is to install two

2019-02-16 05:48:58 -0500 asked a question how Could I get a parameter from the parameter server and use it in .yaml file.

how Could I get a parameter from the parameter server and use it in .yaml file. What I am trying to do is to install two

2019-02-09 08:13:21 -0500 commented answer Multiple robots simulation and navigation

you need to do the opposite transform. map to robot1/odom and map to robot2/odom. you can have only one parent but many

2018-11-03 06:49:43 -0500 received badge  Supporter (source)
2018-10-09 10:17:05 -0500 commented question reinitialize a publisher node in ROS C++

you talk about data published to a topic? What you could do is store the data published in a rosbag file and keep them f

2018-09-12 04:24:07 -0500 received badge  Enthusiast