-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from FS-Driverless/docs-update
Update documentation
- Loading branch information
Showing
7 changed files
with
31 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Shell script to download Simulator bins from github; For custom versions of simulator path has to be updated | ||
sudo apt-get install unzip | ||
wget -c https://github.com/FS-Driverless/Formula-Student-Driverless-Simulator/releases/download/v2.0.0/fsds-v2.0.0-linux.zip | ||
unzip fsds-v2.0.0-linux.zip | ||
rm fsds-v2.0.0-linux.zip | ||
wget -c https://github.com/FS-Driverless/Formula-Student-Driverless-Simulator/releases/download/v2.1.0/fsds-v2.1.0-linux.zip | ||
unzip fsds-v2.1.0-linux.zip | ||
rm fsds-v2.1.0-linux.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# Connecting to the simulator with ROS | ||
|
||
You can use the ROS bridge to connect the simulator to ROS. | ||
You can use the ROS bridge to connect the simulator to ROS1 and ROS2. | ||
The ROS bridge will publish the sensordata from the simulator into ROS topics. | ||
Your autonomous system will be able to publish car-control messages which the ROS bridge will send to the simulator. | ||
|
||
The ROS bridge only works on Ubuntu. | ||
The ROS bridge works on Ubuntu or in WSL in windows (but it is harder to set up). | ||
If you have the simulator running on windows we reccommend Windows Subsystem for Linux. | ||
This offers a virtual Ubuntu machine within Windows. | ||
You can read [here how to install it](software-install-instructions.md). | ||
While you are at it you might also want to [install Xming](software-install-instructions.md) so you can run rviz and rqt_plot from within WSL. | ||
|
||
## Requirements | ||
|
||
The ROS bridge requires [ROS Melodic to be installed](software-install-instructions.md), as well as the following dependencies: | ||
The ROS bridge requires [ROS Melodic/Noetic/Galactic to be installed](software-install-instructions.md), as well as the following dependencies: | ||
``` | ||
sudo apt-get install ros-melodic-tf2-geometry-msgs python-catkin-tools ros-melodic-rqt-multiplot ros-melodic-joy ros-melodic-cv-bridge ros-melodic-image-transport libyaml-cpp-dev libcurl4-openssl-dev | ||
``` | ||
|
@@ -27,7 +27,7 @@ Ready? Lets clone the repo into your home directory: | |
git clone [email protected]:FS-Driverless/Formula-Student-Driverless-Simulator.git --recurse-submodules | ||
``` | ||
|
||
If you havn't setup your ssh keys, you can clone using https by running the following command: | ||
If you haven't setup your ssh keys, you can clone using https by running the following command: | ||
``` | ||
git clone https://github.com/FS-Driverless/Formula-Student-Driverless-Simulator.git --recurse-submodules | ||
``` | ||
|
@@ -45,7 +45,7 @@ ln -s /mnt/c/Users/developer/Formula-Student-Driverless-Simulator ~/Formula-Stud | |
``` | ||
|
||
Now, checkout the version equal to the simulator. | ||
If you are running for example simulator packaged version v2.0.0, run `git checkout tags/v2.0.0` to get the ROS brige to the same version | ||
If you are running for example simulator packaged version v2.1.0, run `git checkout tags/v2.1.0` to get the ROS brige to the same version | ||
|
||
## Preparing AirLib | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters