Skip to content

Commit

Permalink
Working BT based robotic navigation
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Lampacrescia <[email protected]>
  • Loading branch information
MarcoLm993 committed Sep 10, 2024
1 parent fda1718 commit de7cb6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

<state id="ready_to_check">
<transition event="bt_tick" target="ready_to_check">
<if cond="goal_x > goal_y">
<if cond="goal_x > abs(goal_y)">
<send event="bt_success" />
<else />
<send event="bt_failure" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<ros_topic_publisher name="pose" topic="/robot_pose" type="geometry_msgs/Pose2D" />
<ros_topic_subscriber name="cmd_vel" topic="/cmd_vel" type="geometry_msgs/Twist" />
<ros_topic_publisher name="goal" topic="/goal_position" type="geometry_msgs/Point" />
<ros_time_rate name="sample_timer" rate_hz="0.5" />
<ros_time_rate name="sample_timer" rate_hz="2" />

<state id="publish_info">
<onentry>
Expand Down

0 comments on commit de7cb6c

Please sign in to comment.