Пример #1
0
 def main():
     """Main method - Starts the ros node and runs the main loop"""
     rospy.init_node("partyboy")
     ikc = IKControl()
     while 1:
         ikc.drive_to_top(False)
         sleep(2)
         ikc.change_pos({"yaw": 0.378, "pitch": 1.387, "y": -0.0459, "x": 0.029, "z": 0.378, "roll": 0.29})
         sleep(2)