add srv file

This commit is contained in:
ubuntu
2023-05-01 14:17:59 +02:00
parent 3e740de48e
commit d82b1925a4
3 changed files with 12 additions and 4 deletions

View File

@@ -75,12 +75,11 @@ private:
has_swithed = true; has_swithed = true;
} }
cur_yaw += 1 % 360; msg.velocity[0] = 5;
msg.velocity[0] = 0;
msg.velocity[1] = 0; msg.velocity[1] = 0;
msg.velocity[2] = D_SPEED(0); msg.velocity[2] = D_SPEED(0);
msg.yawspeed = 0.5; msg.yawspeed = 0.5;
msg.yaw = degrees_to_radians(cur_yaw); msg.yaw = degrees_to_radians(80);
} }
// if (setpoint_count < 30) // if (setpoint_count < 30)

View File

@@ -0,0 +1,9 @@
#all speeds are in meters/second
float32 x_speed
float32 y_speed
float32 z_speed
#angle is in degrees
float32 angle
---
int status