Changes between Version 15 and Version 16 of Tutorials
- Timestamp:
- Mar 9, 2016, 1:13:20 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials
v15 v16 55 55 # Create joints actuators 56 56 num = settings.LEGS_SERVOS_MAPPING[leg.index]['coxa'] 57 actuator = pool.create(leg.coxa, num)57 actuator = Actuator(leg.coxa, num) 58 58 pool.add(actuator) 59 59 60 60 num = settings.LEGS_SERVOS_MAPPING[leg.index]['femur'] 61 actuator = pool.create(leg.femur, num)61 actuator = Actuator(leg.femur, num) 62 62 pool.add(actuator) 63 63 64 64 num = settings.LEGS_SERVOS_MAPPING[leg.index]['tibia'] 65 actuator = pool.create(leg.tibia, num)65 actuator = Actuator(leg.tibia, num) 66 66 pool.add(actuator) 67 67 return pool
