Changes between Version 42 and Version 43 of Tutorials
- Timestamp:
- Apr 3, 2016, 8:57:25 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials
v42 v43 418 418 #!python 419 419 420 import settings421 422 423 420 class Hexapod(Robot): 424 421 def _createLegs(self): … … 478 475 479 476 === Settings === 477 480 478 In addition, we must modify/add a few things in the '''{{{settings.py}}}''' module: 481 479 … … 536 534 } 537 535 }}} 538 === Settings === 539 540 In this tutorial, we justrenamed {{{LEGS_ACTUATOR_MAPPING}}} to {{{LEGS_SERVOS_MAPPING}}}, and added the {{{SERVOS_CALIBRATION}}} dict, which contains:536 537 538 We renamed {{{LEGS_ACTUATOR_MAPPING}}} to {{{LEGS_SERVOS_MAPPING}}}, and added the {{{SERVOS_CALIBRATION}}} dict, which contains: 541 539 542 540 * {{{offset}}} is the angle between the servo reference and the real angle. See the [[FAQ#Howisgeometrydefined|FAQ]] for the real angles definition; … … 548 546 See the [[FAQ#Howtocalibrateservosparameters|FAQ]] to fine tune servos calibration. 549 547 548 {{{GAIT_LEGS_GROUPS}}} and {{{GAIT_PARAMS}}} are now dicts, to handle all our gaits params. 549 550 550 == Conclusion == 551 551
