File tree Expand file tree Collapse file tree
robot/ros_ws/src/autonomy/5_behavior/behavior_executive/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ GLOBAL_LAUNCH_FILE="global.launch.xml"
6060BEHAVIOR_LAUNCH_PACKAGE = " behavior_bringup"
6161BEHAVIOR_LAUNCH_FILE = " behavior.launch.xml"
6262
63- # offboard API streaming out
63+ # offboard API streaming out. this is so that ports don't conflict for multi-agent FCU communication
6464OFFBOARD_BASE_PORT = 14540
6565ONBOARD_BASE_PORT = 14580
6666# ===============================================
Original file line number Diff line number Diff line change @@ -352,6 +352,11 @@ void BehaviorExecutive::timer_callback() {
352352
353353// callbacks
354354
355+ /* *
356+ * @brief Parses behavior tree commands and updates conditions accordingly
357+ *
358+ * @param msg
359+ */
355360void BehaviorExecutive::bt_commands_callback (behavior_tree_msgs::msg::BehaviorTreeCommands msg) {
356361 for (int i = 0 ; i < msg.commands .size (); i++) {
357362 std::string condition_name = msg.commands [i].condition_name ;
You can’t perform that action at this time.
0 commit comments