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

[Problem Executing the Project] (Ubuntu 22.04) Unable to launch maze_1_robot_camera.launch.py #4

Closed
bobkatt72 opened this issue Aug 1, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@bobkatt72
Copy link

bobkatt72 commented Aug 1, 2022

Prerequisites

  • [y] Are you running the latest version (Repo)?
  • [y] Did you follow the How_to_Run_the_project guide in Section 1 (Lec 1 & 2)?
  • [y] Did you check Issues on Github for related queries?
  • [y] Did you try restarting the PC and re-doing the steps in Section 1 (Lec 1 & 2)?
  • [y] Is the problem persistent?

Description

Following the steps on 4. Guide 1 Base setup
When I try ros2 launch maze_bot maze_1_robot_camera.launch.py
I get the error

[gazebo-1] [ERROR] [1659383314.723800169] [gazebo_ros_node]: Found multiple nodes with same name: /camera_controller. This might be due to multiple plugins using the same name. Try changing one of the the plugin names or use a different ROS namespace. This error might also result from a custom plugin inheriting from another gazebo_ros plugin and the custom plugin trying to access the ROS node object hence creating multiple nodes with same name. To solve this try providing the optional node_name argument in gazebo_ros::Node::Get() function.

[ERROR] [gazebo-1]: process has died [pid 24592, exit code 255, cmd 'gazebo --verbose /home/scott/ROS2-Path-Planning-and-Maze-Solving/path_planning_ws/install/maze_bot/share/maze_bot/worlds/maze_1.world -s libgazebo_ros_factory.so'].

[gazebo-1]

and the program stops responding

When trying with ros2 launch maze_bot maze_2_robot_camera.launch.py the program runs ok

Steps to Reproduce

  1. Fresh install of ubuntu 22.04
  2. installed ros humble and followed setup as per course guide
  3. cloned git hub repository and followed steps in guid up to this point with no issues

Expected behavior:
Gazebo will launch with the maze loades

Actual behavior:
Program throws above error then stops

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Ubuntu
  • OS-Version 22.04 LTS
  • Python-Version 3.10.4
  • OpenCV-Version4.5

Hardware

  • Desktop/Laptop Desktop
    • Make-Model (If Any) ASUSTek ROG Maximus Hero XI with Intel i7-9700K CPU, 32GB RAM
  • GPU Nvidia GTX 1060
  • Ubuntu OS running as VM in Oracle Box 6.1
  • the vm has been setup with 4 CPU cores, 8GB Ram and 50GB Hdd

Additional context
Add any other context about the problem here.

@bobkatt72 bobkatt72 added the help wanted Extra attention is needed label Aug 1, 2022
@HaiderAbasi HaiderAbasi changed the title [Problem Executing the Project] [OS] [Problem in (ROS or CV)] [Problem Executing the Project] [Ubuntu 22.04] [Problem in Gazebo simulation] Aug 1, 2022
noshluk2 added a commit that referenced this issue Aug 2, 2022
@noshluk2 noshluk2 closed this as completed Aug 2, 2022
@HaiderAbasi HaiderAbasi changed the title [Problem Executing the Project] [Ubuntu 22.04] [Problem in Gazebo simulation] [Problem Executing the Project] (Ubuntu 22.04) Unable to launch maze_1_robot_camera.launch.py Aug 2, 2022
@bobkatt72
Copy link
Author

Thank you, all working now

@HaiderAbasi HaiderAbasi pinned this issue Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants