Jump to content

Leralite

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral

Profile Information

  • About me
    Curious George
  1. Thanks @Chabadarl , that was exactly what i was trying to get to. Much appreciated. Thanks for your answer aswell @hvacengi, though in this case i'm precisely looking for that one to one relationship.
  2. I'm trying to write code to move IR Servos individually, by reading the documentation i got the following working: for s in ADDONS:IR:ALLSERVOS { if (s:name = "LegA1L") { s:moveleft(). } } But i'd like to know how to target a Servo directly by it's name, instead of scanning through all of them. Edit: I did figure out this instruction: addons:ir:allservos[1]:moveleft(). How can i do this by addressing the servo by it's name instead of [1]?
×
×
  • Create New...