Changes between Version 42 and Version 43 of Tutorials


Ignore:
Timestamp:
Apr 3, 2016, 8:57:25 PM (10 years ago)
Author:
fma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials

    v42 v43  
    418418#!python
    419419
    420 import settings
    421 
    422 
    423420class Hexapod(Robot):
    424421    def _createLegs(self):
     
    478475
    479476=== Settings ===
     477
    480478In addition, we must modify/add a few things in the '''{{{settings.py}}}''' module:
    481479
     
    536534}
    537535}}}
    538 === Settings ===
    539 
    540 In this tutorial, we just renamed {{{LEGS_ACTUATOR_MAPPING}}} to {{{LEGS_SERVOS_MAPPING}}}, and added the {{{SERVOS_CALIBRATION}}} dict, which contains:
     536
     537
     538We renamed {{{LEGS_ACTUATOR_MAPPING}}} to {{{LEGS_SERVOS_MAPPING}}}, and added the {{{SERVOS_CALIBRATION}}} dict, which contains:
    541539
    542540* {{{offset}}} is the angle between the servo reference and the real angle. See the [[FAQ#Howisgeometrydefined|FAQ]] for the real angles definition;
     
    548546See the [[FAQ#Howtocalibrateservosparameters|FAQ]] to fine tune servos calibration.
    549547
     548{{{GAIT_LEGS_GROUPS}}} and {{{GAIT_PARAMS}}} are now dicts, to handle all our gaits params.
     549
    550550== Conclusion ==
    551551