add extra print in service receive:

This commit is contained in:
Sem van der Hoeven
2023-05-03 15:45:18 +02:00
parent 741fa5b096
commit 5f90c53128
2 changed files with 4 additions and 3 deletions

View File

@@ -79,11 +79,11 @@ class TestController(Node):
# self.get_logger().info('pressed {} ({})'.format(name, vk))
if vk == 32:
self.get_logger().info('up')
self.send_request(pitch=0.0, yaw=0.0, roll=0.0, thrust=0.1)
self.send_request(pitch=0.0, yaw=0.0, roll=0.0, thrust=0.05)
if vk == 65505:
self.get_logger().info('down')
self.send_request(pitch=0.0, yaw=0.0,
roll=0.0, thrust=-0.1)
roll=0.0, thrust=-0.05)
except Exception as e:
self.get_logger().error(str(e))