| 2 | #include "behaviortree_ros2/plugins.hpp" |
| 3 | |
| 4 | bool SleepAction::setGoal(RosActionNode::Goal& goal) |
| 5 | { |
| 6 | auto timeout = getInput<unsigned>("msec"); |
| 7 | goal.msec_timeout = timeout.value(); |
| 8 | return true; |
| 9 | } |
| 10 | |
| 11 | NodeStatus SleepAction::onResultReceived(const RosActionNode::WrappedResult& wr) |
| 12 | { |
nothing calls this directly
no outgoing calls
no test coverage detected