Changes between Version 79 and Version 80 of UserGuideGit
- Timestamp:
- Nov 22, 2017, 12:24:49 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UserGuideGit
v79 v80 202 202 There are many commands to control the robot, and not enough physical buttons/axis on a gamepad. So, a solution is to multiplex these buttons/axis. There are 2 ways to do that: ''configurations'' and ''modifiers''. ''configurations'' allow us to change the entire mapping; ''modifiers'' only changes a button meaning. 203 203 204 To create several ''configurations'', we use the {{{_addConfig()}}} method. This method take a string as argument, the name of the config. In our example, we created 2 ''configurations'', one to dynamically control the robot (make it walk), the other one to statically control the robot (move the body).204 To create several ''configurations'', we use the {{{_addConfig()}}} method. This method take a string as argument, the name of the config. 205 205 206 206 === Mappers ===
