MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.ROS2 / setRequest

Method setRequest

btcpp_ros2_samples/src/set_bool_node.cpp:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#include "set_bool_node.hpp"
2
3bool SetBoolService::setRequest(Request::SharedPtr& request)
4{
5 getInput("value", request->data);
6 std::cout << "setRequest " << std::endl;
7 return true;
8}
9
10BT::NodeStatus SetBoolService::onResponseReceived(const Response::SharedPtr& response)
11{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected