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
InsertionWithDeformationAction.cpp
1
#include <sarafun_tree/demo_bt_nodes/InsertionWithDeformationAction.h>
2
3
namespace
sarafun {
4
double
InsertionWithDeformationAction::getTimeoutValue
() {
5
double
timeout = 0;
6
fillParameter
(
"/sarafun/bt/insertion_deformation/timeout"
, 30.0, timeout);
7
8
return
timeout;
9
}
10
11
bool
InsertionWithDeformationAction::fillGoal
(
12
sarafun_assembly::InsertionGoal &goal) {
13
return
true
;
14
}
15
}
16
17
int
main(
int
argc,
char
**argv) {
18
ros::init(argc, argv,
"InsertionWithDeformation"
);
19
sarafun::InsertionWithDeformationAction
insertion_action(
20
ros::this_node::getName(),
"/sarafun/assembly/insertion"
,
21
"insertion_with_deformation_action"
);
22
ros::spin();
23
return
1;
24
}
sarafun::InsertionWithDeformationAction
Definition:
InsertionWithDeformationAction.h:9
sarafun::InsertionWithDeformationAction::fillGoal
bool fillGoal(sarafun_assembly::InsertionGoal &goal)
Definition:
InsertionWithDeformationAction.cpp:11
sarafun::InsertionWithDeformationAction::getTimeoutValue
double getTimeoutValue()
Definition:
InsertionWithDeformationAction.cpp:4
sarafun::ExecuteAction< sarafun_assembly::InsertionAction, sarafun_assembly::InsertionGoal >::fillParameter
bool fillParameter(std::string param_name, std::string ¶m_val)
Generated on Fri Feb 17 2017 11:14:54 for Sarafun Behavior Trees package by
1.8.6