Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_ana_how_to
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
robots
ana
iri_ana_how_to
Commits
5d689ee1
Commit
5d689ee1
authored
6 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Updated the simulation part of the README file.
parent
1c5be654
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+67
-3
67 additions, 3 deletions
README.md
with
67 additions
and
3 deletions
README.md
+
67
−
3
View file @
5d689ee1
...
...
@@ -24,6 +24,7 @@ All theses sensors are mainly used for navigation and mapping purposes.
The upper part of the robot provides additional sensors and computers to detect
and track people in urban environments. These sensors include:
*
and are placed on top of a custom pan&tilt platform.
...
...
@@ -89,8 +90,71 @@ robot.
# How to use the simulated robot
To use the robot in simulation, follow the instructions in the
[
iri_ana_gazebo
](
https://gitlab.iri.upc.edu/labrobotica/ros/robots/ana/iri_ana_gazebo
)
ROS package.
A Gazebo model for the Ana platform and all its sensors is provided to speed up the testing
process.
To set up the simulator, please follow the next steps:
*
Install the following system dependencies:
```
sudo apt-get install ros-kinetic-velodyne-description ros-kinetic-velodyne-gazebo-plugins ros-kinetic-hector-gazebo-plugins
```
*
If you want to use a new ROS workspace:
*
create a new workspace following the steps in this
[
tutorial
](
http://wiki.ros.org/catkin/Tutorials/create_a_workspace
)
.
*
Copy the ana_sim.rosinstall file to the src folder of the new workspace.
*
Initialize the wstool tool on the src folder following the steps in this
[
tutorial
](
http://wiki.ros.org/wstool
)
using
the ana_sim.rosinstall file available on this repository. From the src folder, execute:
```
wstool init ana_sim.rosinstall
```
*
If you want to use an existing ROS workspace:
*
Copy the ana_sim.rosinstall file to the src folder of the existing workspace.
*
Merge the ana_sim.rosinstall file available on this repository with the existing rosinstall file following the steps.
in this
[
tutorial
](
http://wiki.ros.org/wstool
)
. From the src folder, execute:
```
wstool merge ana_sim.rosinstall
```
*
Download the simulator packages by executing the followuing command from the src folder:
```
wstool update
```
*
compile the newly downloaded packages with the following command:
```
catkin_make --only-pkg-with-deps iri_ana_gazebo
```
Once the setup process is complet, start the simulator with the following command
```
roslaunch iri_ana_gazebo sim_test.launch
```
This command should launch the robot with all its sensors in an empty environment with the RVIZ pre-configured to show all
sensor data. The name and namespace of all topics, services and actions are exactly the same as in the real robot, although
not all of them are available.
A complete list of all ROS interfaces is shown here:
## What to do next
To change the simulated environment edit the [] file and
To teleoprate the robot, follow the instructions in this tutorial[]
To create a map of the simulated environment, follow the instructions in this tutorial[]
To navigate the robot in the new environment, follow the instructions in this tutorial[]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment