Tank tutorial¶
This tutorial will see you creating a simulation to operate the Tank, one of the sample models supplied with Choreonoid, using a gamepad (joystick). The tutorial spans from Step 1 to Step 6 and involves executing these steps in sequential fashion to learn about how to create a basic simulation.
- Step 1: Creating a simulation project
- Step 2: Implementing a controller
- Step 3: Controlling the gun turret with a gamepad
- Step 4: Controlling the crawlers
- Step 5: Controlling the lights
- Step 6: Simulating and polling camera images
This tutorial presumes that the process is invoked on Ubuntu Linux, so you should endeavor to use the same OS. The source code itself will work on other operating systems, but as with Choreonoid itself, the compilation method may differ slightly.
Note
The project and source code files created in this tutorial are stored in the /sample/tutorial/Tank subdirectory of the Choreonoid source directory.