Sarafun Behavior Trees package
1
Behavior trees for the SARAFun project
Main Page
Data Structures
All
Data Structures
Namespaces
Functions
Variables
Enumerations
Enumerator
sarafun_tree
src
demo_bt_nodes
PlaceAction.cpp
1
#include <sarafun_tree/demo_bt_nodes/PlaceAction.h>
2
3
namespace
sarafun {
4
double
PlaceAction::getTimeoutValue
() {
5
double
timeout = 0;
6
fillParameter
(
"/sarafun/bt/place/timeout"
, 30.0, timeout);
7
8
return
timeout;
9
}
10
11
bool
PlaceAction::fillGoal
(sarafun_manipulation::PlaceGoal &goal) {
12
return
true
;
13
}
14
}
15
16
int
main(
int
argc,
char
**argv) {
17
ros::init(argc, argv,
"Place"
);
18
sarafun::PlaceAction
place_action(
19
ros::this_node::getName(),
"/sarafun/manipulation/place"
,
"place_action"
);
20
ros::spin();
21
return
1;
22
}
sarafun::PlaceAction
Definition:
PlaceAction.h:9
sarafun::PlaceAction::getTimeoutValue
double getTimeoutValue()
Definition:
PlaceAction.cpp:4
sarafun::ExecuteAction< sarafun_manipulation::PlaceAction, sarafun_manipulation::PlaceGoal >::fillParameter
bool fillParameter(std::string param_name, std::string ¶m_val)
sarafun::PlaceAction::fillGoal
bool fillGoal(sarafun_manipulation::PlaceGoal &goal)
Definition:
PlaceAction.cpp:11
Generated on Fri Feb 17 2017 11:14:54 for Sarafun Behavior Trees package by
1.8.6