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
}
main
int main(int argc, char **argv)
Definition:
main_mag.cpp:5
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros::Exception
sbg::SbgDevice::initDeviceForMagCalibration
void initDeviceForMagCalibration()
Definition:
sbg_device.cpp:508
ROS_ERROR
#define ROS_ERROR(...)
ros::spin
ROSCPP_DECL void spin()
ROS_INFO
#define ROS_INFO(...)
sbg::SbgDevice
Definition:
sbg_device.h:55
ros::NodeHandle
sbg_device.h
Implement device connection / parsing.
sbg_driver
Author(s): SBG Systems
autogenerated on Fri Oct 11 2024 02:13:40