Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrpt_graphslam_2d:Add to ini config files, instructions #23

Merged
merged 14 commits into from
Jun 13, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
mrpt_graphslam_2d:Add to the instructions for running graphSLAM from …
…rosbags
  • Loading branch information
bergercookie committed Jun 13, 2017
commit 1957fa977520fcf8eb4944885e3407b37248cc6f
2 changes: 1 addition & 1 deletion mrpt_graphslam_2d/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rosbags/records_with_gt.bag
rosbags/*
16 changes: 7 additions & 9 deletions mrpt_graphslam_2d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,30 +62,28 @@ mrpt\_graphslam\_2d available [here](// TODO - add it.)

## Multi-robot algorithm

Multi-robot support is provided via the csl_mr_slam package package suite as
well as the use of multimaster_fkie packages utilized for communication across
the various ROS agents.
Multi-robot support is provided via the csl_mr_slam package suite as well as
the use of multimaster_fkie packages utilized for communication across the
various ROS agents.

### Multi-robot real-time experiments - rosbag

Rosbags collected from real-robots can be found in the following links:

- [20170607_multi_robot_graphSLAM_short](https://www.dropbox.com/sh/wivaa7phyiy7sc5/AAAdqI3N7OqCz0dtiLdge3QAa?dl=0)
- [20170607_multi_robot graphSLAM_medium](https://www.dropbox.com/sh/5dj2ixstiy4r0g7/AAAxUCnTIhivCj6bB1osE2Woa?dl=0)
- TODO Add rest of bags..

To run a demo using one of the corresponding rosbags download that directory,
place it directly under the `rosbags` directory of the mrpt_graphslam_2d package
and run the `run_graphslam_demo.sh` script of the `csl_robots_gazebo
and run the `run_mr_graphslam_demo.sh` script of the `csl_robots_gazebo
package`. The latter script (as is standard with the nodes of the
`csl_robots_gazebo` package reads its configuration parameters off
the shell environment at hand and adjusts its behavior accordingly. As an
examaple users can use the following command for running a multi-robot demo.

```sh

# csl_robots_gazebo/config/slam/mr_slam_demo_config.sh for configuration
rosrun csl_robots_gazebo run_graphslam_demo.sh

# see the script for configuration variables
rosrun csl_robots_gazebo run_mr_graphslam_demo.sh
```

**Warning**
Expand Down
2 changes: 1 addition & 1 deletion mrpt_graphslam_2d/launch/sr_graphslam_demo.launch
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ such as the sr_graphslam_demo_gt.launch file

<arg name="play_own_rosbag" default="true"/>
<group if="$(arg play_own_rosbag)">
<node pkg="rosbag" type="play" name="rosbag_player_$(arg robot_ns)" args="--clock $(arg bag_file_full) $(arg bag_topic_remaps)" output="$(arg output)"/>
<node pkg="rosbag" type="play" name="rosbag_player" args="--clock $(arg bag_file_full) $(arg bag_topic_remaps)" output="$(arg output)"/>
</group>

<group ns="$(arg robot_ns)">
Expand Down