def __init__(
     self, id
 ):  # NOTE: instantiate your own transport instance when using rpi CAN-FD interface
     self.id = id
     self.controller = moteus.Controller(id=id)
     self.stream = moteus.Stream(
         self.controller
     )  # moteus diagnostic stream, do NOT use for real time
Example #2
0
 def __init__(self, id):
     self.id = id
     self.controller = moteus.Controller(id = id)
     self.stream = moteus.Stream(self.controller) # moteus diagnostic stream, do NOT use for real time
Example #3
0
 def __init__(self, transport, id):
     self.id = id
     self.transport = transport
     self.controller = moteus.Controller(id=id, transport=transport)
     self.stream = moteus.Stream(self.controller)
Example #4
0
 def __init__(self, id):
     self.id = id
     self.controller = moteus.Controller(id = id)
     self.stream = moteus.Stream(self.controller)