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

How to install ROS1 Melodic on ubuntu 22 #3

Open
lemonci opened this issue Nov 18, 2024 · 7 comments
Open

How to install ROS1 Melodic on ubuntu 22 #3

lemonci opened this issue Nov 18, 2024 · 7 comments

Comments

@lemonci
Copy link

lemonci commented Nov 18, 2024

As you suggested the "The pipeline has been tested on Ubuntu 22.04." and ROS1 Melodic is in the requirement list, could you suggest how you managed to install ROS1 Melodic on ubuntu 22? If you used docker, can you provide the container? Thanks.

@peasant98
Copy link
Contributor

peasant98 commented Nov 18, 2024

Hi @lemonci, thanks for checking out our repo!

I realized that I mistyped the version of ROS we used -- we actually used ROS1 Noetic. Here is the publicly available Dockerfile:

https://hub.docker.com/r/peasant98/active-touch-gs

It is a little beefy, let me know if you have any questions! I'll also add the Dockerfile to the readme.

@peasant98
Copy link
Contributor

Hi @lemonci, any update for this? Thx!

@lemonci
Copy link
Author

lemonci commented Dec 13, 2024

Hi @lemonci, any update for this? Thx!

Hi Matt, sorry I am still struggling with this. I will give you an update by the end of this weekend if this issue can be close. Thanks!

@peasant98
Copy link
Contributor

No problem -- let me know if you need any help! We are working on making the README steps more clear.

@peasant98
Copy link
Contributor

Hi @lemonci, we have updated the README with more comprehensive Docker steps:

https://github.com/armlabstanford/NextBestSense

@lemonci
Copy link
Author

lemonci commented Dec 22, 2024

Hi @lemonci, we have updated the README with more comprehensive Docker steps:

https://github.com/armlabstanford/NextBestSense

Hi Matt, I tried to run

docker run --privileged -it --rm -p 7007:7007 --name nbs --hostname nbs --volume=/tmp/.X11-unix:/tmp/.X11-unix \\ -v pwd/FisherRF-ns:/home/user/FisherRF-ns -v pwd/NextBestSense:/home/user/NextBestSense --device=/dev/dri:/dev/dri \\ --device=/dev/ttyUSB0:/dev/ttyUSB0 --env="DISPLAY=$DISPLAY" -e "TERM=xterm-256color" --cap-add SYS_ADMIN --device /dev/fuse \\ --gpus all -it peasant98/active-touch-gs:latest bash

And got an error
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

So I guess there is a problem with /dev/ttyUSB0:/dev/ttyUSB0 as we do not have a external disk?

@peasant98
Copy link
Contributor

Hi @lemonci,

I think this comes down to the missing nvidia-cuda-toolkit (https://stackoverflow.com/questions/75118992/docker-error-response-from-daemon-could-not-select-device-driver-with-capab) issue. I would check that out (assuming you have a GPU).

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