Skip to content

Commit

Permalink
bt : Adjust worksite position
Browse files Browse the repository at this point in the history
  • Loading branch information
rcywongaa committed Jan 25, 2025
1 parent d33f042 commit 0c4b1a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros2_ws/src/work_bt/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ class ExcavatorWork {
void setup(BT::BehaviorTreeFactory& factory) {
factory.registerNodeType<SimpleRosActionNode<NavigateToPosition>>("GoToWorksite", node, "navigate_to_position", []() {
auto goal = NavigateToPosition::Goal();
goal.target.position.latitude = 80.0;
goal.target.position.longitude = 80.0;
goal.target.position.latitude = 30.0;
goal.target.position.longitude = 30.0;
return goal;
});
factory.registerNodeType<SimpleRosActionNode<Arm>>(
Expand Down

0 comments on commit 0c4b1a3

Please sign in to comment.