ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

RamiAW's profile - activity

2021-06-29 10:42:41 -0500 received badge  Famous Question (source)
2021-05-26 06:13:39 -0500 received badge  Notable Question (source)
2021-05-21 01:22:09 -0500 received badge  Enthusiast
2021-05-18 19:09:41 -0500 received badge  Student (source)
2021-05-18 17:53:24 -0500 received badge  Popular Question (source)
2021-05-18 12:11:14 -0500 marked best answer Set the initialpose (ROS2)

Hello I am still relatively new to ROS2 and am currently working on getting my digital Turtlebot3 to drive around in a Gazebo environment. I'm using ROS2 foxy on Ubuntu 20.04 and for navigation I use navigation2.

I then execute the following commands:

  • ros2 launch gazebo_ros gzserver.launch.py world:=/home/.../env.world
  • ros2 run gazebo_ros spawn_entity.py -file /home/.../environment.sdf -entity environment
  • ros2 launch turtlebot3_gazebo robot_state_publisher.launch.py
  • ros2 launch nav2_bringup bringup_launch.py use_sim_time:=True autostart:=True map:=/home/map.yaml

Now the following error occurs at the last command.

[amcl-2] [WARN] [1620937828.832260000] [amcl]: ACML cannot publish a pose or update the transform. Please set the initial pose...

How do I set the initial pose? I know that you can do it via Rviz, but in this case I want to solve it without RViz (with a command or programmatically via rclpy).

2021-05-18 12:11:13 -0500 received badge  Scholar (source)
2021-05-18 08:06:00 -0500 edited question Set the initialpose (ROS2)

Set the initialpose (ROS2) Hello I am still relatively new to ROS2 and am currently working on getting my digital Turtle

2021-05-18 08:05:11 -0500 asked a question Set the initialpose (ROS2)

Set the initialpose (ROS2) Hello I am still relatively new to ROS2 and am currently working on getting my digital Turtle

2021-05-14 20:37:16 -0500 asked a question Set the initialpose for AMCL programmatically (ROS2)

Set the initialpose for AMCL programmatically (ROS2) Hello I am still relatively new to ROS2 and am currently working on