default_topics.h
Go to the documentation of this file.
1 /*
2  * Copyright 2015 Fadri Furrer, ASL, ETH Zurich, Switzerland
3  * Copyright 2015 Michael Burri, ASL, ETH Zurich, Switzerland
4  * Copyright 2015 Markus Achtelik, ASL, ETH Zurich, Switzerland
5  * Copyright 2015 Helen Oleynikova, ASL, ETH Zurich, Switzerland
6  * Copyright 2015 Mina Kamel, ASL, ETH Zurich, Switzerland
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13 
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 
21 #ifndef DEFAULT_TOPICS_H_
22 #define DEFAULT_TOPICS_H_
23 
24 namespace mav_msgs {
25 namespace default_topics {
26 
27 static constexpr char IMU[] = "imu";
28 static constexpr char MOTOR_MEASUREMENT[] = "motor_speed";
29 static constexpr char MOTOR_POSITION_MEASUREMENT[] = "motor_position";
30 static constexpr char MOTOR_FORCE_MEASUREMENT[] = "motor_force";
31 static constexpr char MAGNETIC_FIELD[] = "magnetic_field";
32 static constexpr char GPS[] = "gps";
33 static constexpr char RC[] = "rc";
34 static constexpr char STATUS[] = "status";
35 static constexpr char FILTERED_SENSOR_DATA[] = "filtered_sensor_data";
36 static constexpr char AIR_SPEED[] = "air_speed";
37 static constexpr char GROUND_SPEED[] = "ground_speed";
38 
39 static constexpr char COMMAND_ACTUATORS[] = "command/motor_speed";
40 static constexpr char COMMAND_RATE_THRUST[] = "command/rate_thrust";
41 static constexpr char COMMAND_ROLL_PITCH_YAWRATE_THRUST[] =
42  "command/roll_pitch_yawrate_thrust";
43 static constexpr char COMMAND_ATTITUDE_THRUST[] = "command/attitude_thrust";
44 static constexpr char COMMAND_TRAJECTORY[] = "command/trajectory";
45 static constexpr char COMMAND_POSE[] = "command/pose";
46 static constexpr char COMMAND_GPS_WAYPOINT[] = "command/gps_waypoint";
47 
48 static constexpr char POSE[] = "pose";
49 static constexpr char POSE_WITH_COVARIANCE[] = "pose_with_covariance";
50 static constexpr char TRANSFORM[] = "transform";
51 static constexpr char ODOMETRY[] = "odometry";
52 static constexpr char POSITION[] = "position";
53 
54 // Simulation-specific topic names.
55 static constexpr char WRENCH[] = "wrench";
56 static constexpr char WIND_SPEED[] = "wind_speed";
57 static constexpr char EXTERNAL_FORCE[] = "external_force";
58 
59 static constexpr char GROUND_TRUTH_POSE[] = "ground_truth/pose";
60 static constexpr char GROUND_TRUTH_TWIST[] = "ground_truth/twist";
61 
62 // Flight controller specific topic names
63 static constexpr char FLIGHT_CONTROLLER_ARM[] = "mavros/cmd/arming";
64 static constexpr char FLIGHT_CONTROLLER_SET_MODE[] = "mavros/set_mode";
65 static constexpr char FLIGHT_CONTROLLER_STATE[] = "mavros/state";
66 static constexpr char FLIGHT_CONTROLLER_BATTERY[] = "mavros/battery";
67 
68 } // end namespace default_topics
69 } // end namespace mav_msgs
70 
71 #endif /* DEFAULT_TOPICS_H_ */
static constexpr char FLIGHT_CONTROLLER_STATE[]
static constexpr char FILTERED_SENSOR_DATA[]
static constexpr char FLIGHT_CONTROLLER_SET_MODE[]
static constexpr char AIR_SPEED[]
static constexpr char FLIGHT_CONTROLLER_ARM[]
static constexpr char WIND_SPEED[]
static constexpr char MOTOR_FORCE_MEASUREMENT[]
static constexpr char STATUS[]
static constexpr char COMMAND_RATE_THRUST[]
static constexpr char COMMAND_ROLL_PITCH_YAWRATE_THRUST[]
static constexpr char FLIGHT_CONTROLLER_BATTERY[]
static constexpr char POSE[]
static constexpr char MOTOR_MEASUREMENT[]
static constexpr char POSITION[]
static constexpr char COMMAND_ACTUATORS[]
static constexpr char COMMAND_ATTITUDE_THRUST[]
static constexpr char ODOMETRY[]
static constexpr char COMMAND_POSE[]
static constexpr char POSE_WITH_COVARIANCE[]
static constexpr char GPS[]
static constexpr char GROUND_TRUTH_TWIST[]
static constexpr char TRANSFORM[]
static constexpr char RC[]
static constexpr char MAGNETIC_FIELD[]
static constexpr char GROUND_SPEED[]
static constexpr char WRENCH[]
static constexpr char EXTERNAL_FORCE[]
static constexpr char IMU[]
static constexpr char GROUND_TRUTH_POSE[]
static constexpr char COMMAND_GPS_WAYPOINT[]
static constexpr char COMMAND_TRAJECTORY[]
static constexpr char MOTOR_POSITION_MEASUREMENT[]


mav_msgs
Author(s): Simon Lynen, Markus Achtelik, Pascal Gohl, Sammy Omari, Michael Burri, Fadri Furrer, Helen Oleynikova, Mina Kamel, Karen Bodie, Rik Bähnemann
autogenerated on Thu Jan 23 2020 03:14:00