Skip to content

Commit

Permalink
don't enable twist stamped cmd_vel yet
Browse files Browse the repository at this point in the history
as nav2 packages are not available for rolling
  • Loading branch information
skpawar1305 committed Feb 26, 2024
1 parent b7b6d7d commit f2bef4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion webots_ros2_epuck/launch/robot_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def generate_launch_description():

robot_description_path = os.path.join(package_dir, 'resource', 'epuck_webots.urdf')
ros2_control_params = os.path.join(package_dir, 'resource', 'ros2_control.yml')

use_twist_stamped = 'ROS_DISTRO' in os.environ and os.environ['ROS_DISTRO'] == 'rolling'
if use_twist_stamped:
mappings = [('/diffdrive_controller/cmd_vel', '/cmd_vel'), ('/diffdrive_controller/odom', '/odom')]
Expand Down
1 change: 0 additions & 1 deletion webots_ros2_tiago/launch/robot_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def generate_launch_description():
('map', nav2_map),
('params_file', nav2_params),
('use_sim_time', use_sim_time),
('enable_stamped_cmd_vel', use_twist_stamped),
],
condition=launch.conditions.IfCondition(use_nav)))

Expand Down
1 change: 0 additions & 1 deletion webots_ros2_turtlebot/launch/robot_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ def generate_launch_description():
('map', nav2_map),
('params_file', nav2_params),
('use_sim_time', use_sim_time),
('enable_stamped_cmd_vel', use_twist_stamped),
],
condition=launch.conditions.IfCondition(use_nav))
navigation_nodes.append(turtlebot_navigation)
Expand Down

0 comments on commit f2bef4e

Please sign in to comment.