FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docking/src/controller_node.cpp at master · rwbot/docking · GitHub
rwbot
/
docking
Public
Notifications
You must be signed in to change notification settings
Fork
18
Star
30
Code
Issues
9
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docking
/
src
/
controller_node.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
36 lines (29 loc) · 825 Bytes
Breadcrumbs
docking
/
src
/
controller_node.cpp
Copy path
File metadata and controls
36 lines (29 loc) · 825 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
include
<
docking/Headers.h
>
#
include
<
docking/ControllerNode.h
>
#
include
<
ros/ros.h
>
//
Topics
//
static const std::string DOCK_FRAME = "dock_truth";
//
static const std::string PUBLISH_TOPIC = "/dockLines";
//
geometry_msgs::PoseStamped targetPose;
int
main
(
int
argc,
char
**argv)
{
ROS_INFO_STREAM
(
"
INITIALIZING CONTROLLER NODE
"
);
//
Initialize the ROS Node "line_detection_node"
ros::init
(argc, argv,
"
controller_node
"
);
ros::NodeHandle nh;
//
ros::NodeHandle nh("");
//
ros::NodeHandle nh("~");
ControllerNode *controllerNode =
new
ControllerNode
(nh);
ros::Rate
rate
(
15
);
//
Spin
while
(
ros::ok
())
{
//
ROS_INFO_STREAM("CONTROLLER SPINNING");
controllerNode->
publishActivation
();
ros::spinOnce
();
rate.
sleep
();
}
ROS_INFO_STREAM
(
"
EXITING NODE
"
);
//
Success
return
0
;
}
Back
|
FazBrowse Home
|
New Git URL