edit commands for test controller and remove spamming logs

This commit is contained in:
Sem van der Hoeven
2023-05-15 10:37:47 +02:00
parent d1c8ca537f
commit 3ee881772c
2 changed files with 5 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ class TestController(Node):
self.traj_req = SetTrajectory.Request()
self.arm_req = ArmDrone.Request()
self.get_logger().info("\nControls:\n1 - Attitude control\n2 - Velocity control\n3 - Position control\n/ - Arm drone\nW - forward\nS - backward\nA - left\nD - right\nQ - rotate left\nE - rotate right\nSpace - up\nZ - down\nV - Down nudge\nF - Up nudge\nN - emergency stop\nEsc - exit")
self.get_logger().info("\nControls:\n1 - Attitude control\n2 - Velocity control\n3 - Position control\n/ - Arm drone\nW - forward\nS - backward\nA - left\nD - right\nQ - rotate left\nE - rotate right\nSpace - up\nZ - down\nV - Down nudge\nF - Up nudge\nN - emergency stop\nCTRL-C - exit")
def spin(self):
while rclpy.ok():