Skip to content

Commit

Permalink
fixed robot config
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac-F24 committed Apr 27, 2024
1 parent 352ea5d commit a6f8c30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lunabot_config/config/real_robot.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
odom_topic: "/rtabmap/odom"
cmd_vel_topic: "/cmd_vel"
nav_goal_topic: "/goal"


nav:
map_topic: "/maps/costmap_node/global_costmap/costmap"
map_update_topic: "/maps/costmap_node/global_costmap/costmap_updates"
global_path_topic: "/nav/global_path"
occ_threshold: 80 # corresponds to possibly-in-collision
bezier_step: 0.01
lerp_step: 0.05

dstar_node:
path_sampling_rate: 5 # Take every <n-th> point from the path

mpc_node:
rollout_count: 50
top_rollouts: 15
Expand Down
2 changes: 1 addition & 1 deletion lunabot_nav/scripts/dstar_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self):

self.dstar: Dstar = None

self.path_sampling_rate = 5 # TODO: WTF rospy.get_param("/nav/dstar_node/path_sampling_rate") # Take every <n-th> point from the path
self.path_sampling_rate = rospy.get_param("/nav/dstar_node/path_sampling_rate") # Take every <n-th> point from the path

path_topic = rospy.get_param("/nav/global_path_topic")
self.path_publisher = rospy.Publisher(path_topic, Path, queue_size=10, latch=True)
Expand Down

0 comments on commit a6f8c30

Please sign in to comment.