Skip to content

Commit

Permalink
added pos,vel,acc offboard (#314)
Browse files Browse the repository at this point in the history
* added pos,vel,acc offboard

* Update protos/offboard/offboard.proto

Co-authored-by: Julian Oes <[email protected]>

---------

Co-authored-by: Julian Oes <[email protected]>
  • Loading branch information
alireza787b and julianoes authored May 29, 2023
1 parent 82e8540 commit 6b0cc8f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions protos/offboard/offboard.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ service OffboardService {
* Set the position in NED coordinates, with the velocity to be used as feed-forward.
*/
rpc SetPositionVelocityNed(SetPositionVelocityNedRequest) returns(SetPositionVelocityNedResponse) { option (mavsdk.options.async_type) = SYNC; }

/*
* Set the position, velocity and acceleration in NED coordinates, with velocity and acceleration used as feed-forward.
*/
rpc SetPositionVelocityAccelerationNed(SetPositionVelocityAccelerationNedRequest) returns(SetPositionVelocityAccelerationNedResponse) { option (mavsdk.options.async_type) = SYNC; }

/*
* Set the acceleration in NED coordinates.
*/
Expand Down Expand Up @@ -144,10 +150,21 @@ message SetPositionVelocityNedRequest {
PositionNedYaw position_ned_yaw = 1; // Position and yaw
VelocityNedYaw velocity_ned_yaw = 2; // Velocity and yaw
}

message SetPositionVelocityAccelerationNedRequest {
PositionNedYaw position_ned_yaw = 1; // Position and yaw
VelocityNedYaw velocity_ned_yaw = 2; // Velocity and yaw
AccelerationNed acceleration_ned = 3; // Acceleration
}

message SetPositionVelocityNedResponse {
OffboardResult offboard_result = 1;
}

message SetPositionVelocityAccelerationNedResponse {
OffboardResult offboard_result = 1;
}

message SetAccelerationNedRequest {
AccelerationNed acceleration_ned = 1; // Acceleration
}
Expand Down

0 comments on commit 6b0cc8f

Please sign in to comment.