Modified behavior tree nodes to include max_speed
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "toid_bt/plugins/move_coords_action.hpp"
|
||||
#include "toid_bt/plugins/rotate_action.hpp"
|
||||
#include "toid_bt/plugins/rotate_towards_action.hpp"
|
||||
#include "toid_bt/plugins/translate_x_action.hpp"
|
||||
|
||||
namespace toid
|
||||
{
|
||||
@@ -49,17 +50,17 @@ void TreeExecutor::registerNodesIntoFactory(BT::BehaviorTreeFactory & factory)
|
||||
factory.registerNodeType<toid::RotateTowardsNode>(
|
||||
"RotateTowards", BT::RosNodeParams(nh, "/rotate"), get_pose);
|
||||
|
||||
factory.registerNodeType<toid::TranslateXNode>(
|
||||
"TranslateX", BT::RosNodeParams(nh, "/translateX"), get_pose);
|
||||
|
||||
factory.registerNodeType<toid::EndCalibNode>(
|
||||
"SetWidth", BT::RosNodeParams(nh, "/set_width"), get_pose);
|
||||
|
||||
factory.registerNodeType<toid::EmptySrvNode>(
|
||||
"ZeroOdom", BT::RosNodeParams(nh, "/zero"));
|
||||
factory.registerNodeType<toid::EmptySrvNode>("ZeroOdom", BT::RosNodeParams(nh, "/zero"));
|
||||
|
||||
factory.registerNodeType<toid::EmptySrvNode>(
|
||||
"EndCalib", BT::RosNodeParams(nh, "/end_calib"));
|
||||
factory.registerNodeType<toid::EmptySrvNode>("EndCalib", BT::RosNodeParams(nh, "/end_calib"));
|
||||
|
||||
std::cout << describeCustomNodes() << std::endl;
|
||||
|
||||
}
|
||||
|
||||
void TreeExecutor::position(geometry_msgs::msg::PoseStamped & pose)
|
||||
|
||||
Reference in New Issue
Block a user