Changes between Version 3 and Version 4 of Tutorials


Ignore:
Timestamp:
Mar 7, 2016, 1:37:44 PM (10 years ago)
Author:
fma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials

    v3 v4  
    1010
    1111 * IK: Inverse Kinematic
    12 
    13 == Robot ==
    1412
    1513== Simple example ==
     
    7371
    7472
    75 As you can see, we just implemented 2 virtual methods, '''{{{_createLegs()}}}''' and '''{{{_createActuatorPool()}}}'''.
     73As you can see, we just implemented 2 virtual methods, {{{_createLegs()}}} and {{{_createActuatorPool()}}}.
    7674
    7775Also note that we used some values from the '''{{{settings.py}}}''' module. This module is just a simple way to centralise the configuration of our hexapod.
     
    162160}}}
    163161
    164 The main interrest of a multi-legs robot is to make it walk! But by default, the '''{{{Robot}}}''' class does not know any '''gait''', so, we have to teach it how to actually walk.
     162The main interrest of a multi-legs robot is to make it walk! But by default, the {{{Robot}}} class does not know any '''gait''', so, we have to teach it how to actually walk.
    165163
    166164Again, as Py4bot is a framework, it comes with some pre-defined gaits. So, all we have to do is to tell our robot which gaits to use (at least one), and give some params: