Skip to content

Commit eb4f312

Browse files
committed
Add some comments
1 parent 35d3dc2 commit eb4f312

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ GLOBAL_LAUNCH_FILE="global.launch.xml"
6060
BEHAVIOR_LAUNCH_PACKAGE="behavior_bringup"
6161
BEHAVIOR_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
6464
OFFBOARD_BASE_PORT=14540
6565
ONBOARD_BASE_PORT=14580
6666
# ===============================================

robot/ros_ws/src/autonomy/5_behavior/behavior_executive/src/behavior_executive.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
*/
355360
void 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;

0 commit comments

Comments
 (0)