Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
mavros_node.cpp
Go to the documentation of this file.
1
6
/*
7
* Copyright 2013,2014,2015 Vladimir Ermakov.
8
*
9
* This file is part of the mavros package and subject to the license terms
10
* in the top-level LICENSE file of the mavros repository.
11
* https://github.com/mavlink/mavros/tree/master/LICENSE.md
12
*/
13
14
#include <
mavros/mavros.h
>
15
16
int
main
(
int
argc,
char
*argv[])
17
{
18
ros::init
(argc, argv,
"mavros"
);
19
20
mavros::MavRos
mavros
;
21
mavros.
spin
();
22
23
return
0;
24
}
25
mavros.h
MavRos node implementation class.
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
mavros::MavRos
MAVROS node class.
Definition:
mavros.h:34
mavros
Definition:
frame_tf.h:34
main
int main(int argc, char *argv[])
Definition:
mavros_node.cpp:16
mavros::MavRos::spin
void spin()
Definition:
mavros.cpp:189
mavros
Author(s): Vladimir Ermakov
autogenerated on Tue Jun 1 2021 02:36:26