CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
send_command.hpp
Go to the documentation of this file.
1
8namespace creos_sdk_msgs::srv {
14class SendCommand {};
28public:
29 // Copyright (C) 2024 Avular Holding B.V. - All Rights Reserved
30 // You may use this code under the terms of the Avular
31 // Software End-User License Agreement.
32 //
33 // You should have received a copy of the Avular
34 // Software End-User License Agreement license with
35 // this file, or download it from: avular.com/eula
36
37 // Send a command to be executed to the robot
38
39 static const int8_t ARM = 1;
40 static const int8_t DISARM = 2;
41 static const int8_t TAKE_OFF = 3;
42 static const int8_t LAND = 4;
43 static const int8_t EMERGENCY_LAND = 5;
44 static const int8_t KILL_SWITCH = 6;
45 static const int8_t ABORT = 7;
46
48 int8_t action;
49
50};
51
65public:
66 bool success;
67 std::string message;
68};
69} // namespace creos_sdk_msgs::srv
ROS message class definition for Time.
Definition time.hpp:16
ROS message class definition for SendCommand::Request.
Definition send_command.hpp:27
builtin_interfaces::msg::Time stamp
The time at which the command was sent.
Definition send_command.hpp:47
int8_t action
The action to be executed.
Definition send_command.hpp:48
static const int8_t EMERGENCY_LAND
Initiate emergency landing.
Definition send_command.hpp:43
static const int8_t KILL_SWITCH
Kill the power to the motors.
Definition send_command.hpp:44
static const int8_t LAND
Initiate landing.
Definition send_command.hpp:42
static const int8_t ABORT
Abort the current action.
Definition send_command.hpp:45
static const int8_t TAKE_OFF
Take off.
Definition send_command.hpp:41
static const int8_t ARM
Arm the robot.
Definition send_command.hpp:39
static const int8_t DISARM
Disarm the robot.
Definition send_command.hpp:40
ROS message class definition for SendCommand::Response.
Definition send_command.hpp:64
bool success
indicate successful run of triggered service
Definition send_command.hpp:66
std::string message
informational, e.g. for error messages
Definition send_command.hpp:67
ROS service class definition for SendCommand.
Definition send_command.hpp:14
service definitions of the creos_sdk_msgs package