Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TB4lite Sim with world:=maze starts with TB4 half inside obstacle #27

Closed
slowrunner opened this issue Nov 14, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@slowrunner
Copy link

Please provide the following information:

  • OS: Ubuntu 20.04
  • ROS Distro: Galactic apt installed
  • Package version:
ubuntu@tb4desk:~/tb4desk$ dpkg -l | grep turtlebot
ii  ros-galactic-turtlebot4-description                 0.1.2-1focal.20220916.170821          amd64        Turtlebot4 Description package
ii  ros-galactic-turtlebot4-desktop                     0.1.0-1focal.20220916.172304          amd64        Turtlebot4 Desktop Metapackage
ii  ros-galactic-turtlebot4-ignition-bringup            0.1.1-1focal.20221016.143037          amd64        TurtleBot 4 Ignition Simulator bringup
ii  ros-galactic-turtlebot4-ignition-gui-plugins        0.1.1-1focal.20220509.183119          amd64        Turtlebot4 Ignition Simulator GUI Plugins
ii  ros-galactic-turtlebot4-ignition-toolbox            0.1.1-1focal.20220916.171656          amd64        Turtlebot4 Ignition Toolbox
ii  ros-galactic-turtlebot4-msgs                        0.1.2-1focal.20220916.170727          amd64        Turtlebot4 Messages
ii  ros-galactic-turtlebot4-navigation                  0.1.2-1focal.20221016.142546          amd64        Turtlebot4 Navigation
ii  ros-galactic-turtlebot4-node                        0.1.2-1focal.20220916.172120          amd64        Turtlebot4 Node
ii  ros-galactic-turtlebot4-simulator                   0.1.1-1focal.20221016.143508          amd64        TODO: Package description
ii  ros-galactic-turtlebot4-viz                         0.1.0-1focal.20220916.171830          amd64        Visualization launchers and helpers for Turtlebot4

Expected behaviour
TB4lite to start docked in an unobstructed area of maze world

Actual behaviour
TB4lite is half embedded into maze obstacle

To Reproduce

  1. ros2 launch turtlebot4_ignition_bringup ignition.launch.py model:=lite world:=maze

TB4lite_Embedded_Maze

@slowrunner slowrunner added the bug Something isn't working label Nov 14, 2022
@slowrunner
Copy link
Author

slowrunner commented Nov 15, 2022

Work around for time being is to click on the obstacle and select remove. Then undock action will succeed.

Or work around that preserves the maze:

  1. Shift Drag Mouse Down to be looking down on world
  2. Cntrl scroll Mouse Down to zoom out a little
  3. Click "Translate Mode" Button (4 dir arrow cross)
  4. Click on TB4lite to see three colored axis line "handles"
  5. Click-Drag on green "y axis" handle or red "x axis" handle to move TB4 to an open grid crossing
  6. Click on dock to show x,y,z axis handles
  7. Click-Drag on green "y axis" handle or red "x axis" handle to move dock close to the TB4 again
  8. Click Select Mode: Use "Rotate View" (shift drag) and "Zoom View" (cntrl drag) to view dock and TB4lite from side
  9. Click Translate Mode: Adjust dock to be under TB4lite
  10. Hamburger Menu: "Save World", Browse to desired folder, enter: mymaze.sdf and click OK
  11. Close Gazebo, ctrl-c in shell to stop nodes
  12. chmod 666 mymaze.sdf
  13. sudo cp mymaze.sdf /opt/ros/galactic/share/turtlebot4_ignition_bringup/worlds/
  14. Start sim with new model: ros2 launch turtlebot4_ignition_bringup ignition.launch.py model:=lite world:=mymaze
  15. Shift Mouse Drag Down to be looking down on world, zoom out to view world
  16. Hamburger: Save Client Configuration
  17. Click "Play Button" to start sim
  18. In another shell Check /dock status (ros2 topic echo /dock): "is_docked: true"

MoveTB4lite_and_dock
MovingDock
mymaze_docked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants