Skip to content

Commit

Permalink
Joy input and typo
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <[email protected]>
  • Loading branch information
delihus committed Nov 8, 2024
1 parent 0808ddd commit 02a73bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions panther_manager/behavior_trees/docking.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
topic_name="joy"
timeout="2.0"
axes=""
buttons="1;0;0;0;1;1;0;0;0;0;0;0"/>
buttons="0;0;0;1;1;1;0;0;0;0;0;0"/>
<DockRobot name="Dock Action"
use_dock_id="true"
dock_id="main_dock"
Expand All @@ -22,7 +22,7 @@
topic_name="joy"
timeout="2.0"
axes=""
buttons="0;0;0;1;1;1;0;0;0;0;0;0"/>
buttons="1;0;0;0;1;1;0;0;0;0;0;0"/>
<UndockRobot name="Undock Action"
dock_type="panther_charging_dock"
max_undocking_time="100"
Expand Down
2 changes: 1 addition & 1 deletion panther_manager/src/plugins/condition/check_joy_msg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ bool CheckJoyMsg::checkButtons(const JoyMsg::SharedPtr & last_msg)
RCLCPP_WARN_STREAM(
this->logger(), GetLoggerPrefix(name())
<< "Joy message has " << last_msg->buttons.size()
<< " axes, expected at least " << expected_buttons.size());
<< " buttons, expected at least " << expected_buttons.size());
return false;
}

Expand Down

0 comments on commit 02a73bd

Please sign in to comment.