Tank Tutorial¶
In this tutorial, we will create a simulation to operate the “Tank” model, one of Choreonoid’s sample models, using a gamepad (joystick). The tutorial consists of 6 stages from Step 1 to Step 6, and by executing these in order, you can learn specifically how to implement basic simulations.
- Step 1: Creating a Simulation Project
- Step 2: Creating and Introducing a Controller
- Step 3: Controlling the Gun Turret with a Gamepad
- Step 4: Controlling the Crawlers
- Step 5: Controlling the Light
- Step 6: Simulating and Obtaining Camera Images
This tutorial is written assuming execution on Ubuntu Linux, so please proceed on Ubuntu Linux as a basic principle. While the source code itself is valid on other operating systems, the compilation method differs slightly, as with Choreonoid itself.
Note
The project and source code files created in this tutorial are stored under “sample/tutorial/Tank” in the Choreonoid source directory.