Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Typedefs
Enumerations
+
Classes
Class List
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
+
Functions
a
c
d
e
f
g
i
l
m
o
p
r
s
t
u
w
~
+
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
c
d
f
g
i
m
n
s
t
u
+
Functions
m
s
t
Variables
+
Typedefs
d
f
i
s
u
+
Enumerations
_
+
Enumerator
s
+
Macros
_
c
f
i
n
s
t
src
main_mag.cpp
Go to the documentation of this file.
1
#include "
sbg_device.h
"
2
3
using
sbg::SbgDevice
;
4
5
int
main
(
int
argc,
char
**argv)
6
{
7
ros::init
(argc, argv,
"sbg_device_mag"
);
8
ros::NodeHandle
node_handle;
9
10
try
11
{
12
ROS_INFO
(
"SBG DRIVER - Init node, load params and connect to the device"
);
13
SbgDevice
sbg_device(node_handle);
14
15
sbg_device.
initDeviceForMagCalibration
();
16
17
ros::spin
();
18
19
return
0;
20
}
21
catch
(
ros::Exception
const
& refE)
22
{
23
ROS_ERROR
(
"SBG_DRIVER - [MagNode] Error - %s."
, refE.what());
24
}
25
26
return
0;
27
}
ros::NodeHandle
sbg::SbgDevice
Definition:
sbg_device.h:56
main
int main(int argc, char **argv)
Definition:
main_mag.cpp:5
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROS_INFO
#define ROS_INFO(...)
ros::spin
ROSCPP_DECL void spin()
sbg_device.h
Handle a connected SBG device.
ros::Exception
sbg::SbgDevice::initDeviceForMagCalibration
void initDeviceForMagCalibration(void)
Definition:
sbg_device.cpp:475
ROS_ERROR
#define ROS_ERROR(...)
sbg_driver
Author(s): SBG Systems
autogenerated on Sat Sep 3 2022 02:53:35