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

ros2 package is giving error running it in a docker #100

Open
marknabil opened this issue Oct 4, 2024 · 1 comment
Open

ros2 package is giving error running it in a docker #100

marknabil opened this issue Oct 4, 2024 · 1 comment

Comments

@marknabil
Copy link
Contributor

running the humble controller inside a docker gives the following error

[spawner-4] [dsr01.spawner_dsr_controller2] [INFO///1728055365.812337257]: waiting for service /dsr01/controller_manager/list_controllers to become available... 
[spawner-5] [dsr01.spawner_joint_state_broadcaster] [WARN///1728055375.812943693]: Could not contact service /dsr01/controller_manager/list_controllers 
[spawner-5] [dsr01.spawner_joint_state_broadcaster] [INFO///1728055375.813240183]: waiting for service /dsr01/controller_manager/list_controllers to become available... 
[spawner-4] [dsr01.spawner_dsr_controller2] [WARN///1728055375.826364686]: Could not contact service /dsr01/controller_manager/list_controllers 

I check if the docker of emulator is created or not, and I find it created successfully.

@SakethTecholution
Copy link

SakethTecholution commented Oct 4, 2024

@marknabil I am not how ur running the container . I would recommend this method , it worked for me

  1. git clone repo in src and open doossanrobot2 folder
    2, open the folder in vs code
  2. ctrl+shift+p --> type rebuild and reopen in container( this will work once u has docker extension)
  3. now the best part is your inside container and you can add your code inside container . Also doosan dockerfile is attaached as volume so you can create your files too inside .
    I think this method might resolve some issue while building docker container . if its not an issue of container check internet and maek sure u permit permmsion for docker in docker then only emulator will run .
    let me know if anything helped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants