Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
u
v
w
~
Functions
a
c
d
g
i
j
l
o
q
r
s
w
~
Variables
_
b
c
d
e
f
i
j
l
m
n
o
p
s
u
v
Typedefs
Enumerations
Related Functions
Files
File List
File Members
All
Functions
Variables
Enumerations
Macros
src
calibrate_node.cpp
Go to the documentation of this file.
1
#include <dynamic_reconfigure/server.h>
2
3
#include <quori_controller/CalibrateConfig.h>
4
5
int
main
(
int
argc,
char
*argv[])
6
{
7
ros::init
(argc, argv,
"calibrate_node"
);
8
9
ros::NodeHandle
nh;
10
ros::NodeHandle
pnh(
"~"
);
11
12
dynamic_reconfigure::Server<calibrate::CalibrateConfig> server;
13
14
15
pnh.
advertise
(
"/"
)
16
17
quori_controller::CalibrateConfig config;
18
config.base_turret_offset = 0.0;
19
20
server.setCallback(config);
21
22
ros::Rate
rate(10);
23
while
(
ros::ok
())
24
{
25
26
ros::spinOnce
();
27
rate.
sleep
();
28
}
29
30
return
EXIT_SUCCESS;
31
}
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros::spinOnce
ROSCPP_DECL void spinOnce()
ros::NodeHandle::advertise
Publisher advertise(AdvertiseOptions &ops)
ros::ok
ROSCPP_DECL bool ok()
ros::Rate::sleep
bool sleep()
main
int main(int argc, char *argv[])
Definition:
calibrate_node.cpp:5
ros::Rate
ros::NodeHandle
quori_controller
Author(s):
autogenerated on Wed Mar 2 2022 00:53:16