Changes between Version 15 and Version 16 of Tutorials


Ignore:
Timestamp:
Mar 9, 2016, 1:13:20 PM (10 years ago)
Author:
fma
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials

    v15 v16  
    5555            # Create joints actuators
    5656            num = settings.LEGS_SERVOS_MAPPING[leg.index]['coxa']
    57             actuator = pool.create(leg.coxa, num)
     57            actuator = Actuator(leg.coxa, num)
    5858            pool.add(actuator)
    5959
    6060            num = settings.LEGS_SERVOS_MAPPING[leg.index]['femur']
    61             actuator = pool.create(leg.femur, num)
     61            actuator = Actuator(leg.femur, num)
    6262            pool.add(actuator)
    6363
    6464            num = settings.LEGS_SERVOS_MAPPING[leg.index]['tibia']
    65             actuator = pool.create(leg.tibia, num)
     65            actuator = Actuator(leg.tibia, num)
    6666            pool.add(actuator)
    6767        return pool