Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
fsai_ws_training/docs/webots.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
17 lines (12 sloc)
845 Bytes
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
# Webots | |
You are able to use Webots without ROS if you desire. | |
This can be useful if you want to test out an idea but when it comes to running code on the real Coventry FSAI vehicle you have to have it working in ROS. | |
If you want to know more about using Webots without ROS go and do the official Webots [tutorials](https://cyberbotics.com/doc/guide/tutorials). | |
To setup a Webots environment so that it will talk to ROS. | |
- Open Webots. | |
- Open a Webots world. | |
- File -> Open World | |
- This repository contains examples, e.g. `src/webots_fsai/worlds/simple_2022.wbt. | |
- Make sure that the simulated robot controller is set to `<extern>`. | |
- Open the robot's entry in the Scene Tree on the left hand side, probably `FsaiVehicle_2022` or similar. | |
Being set to `<extern>` will allow us to control the robot using an external program, i.e. ROS. |