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

Could not view camera image on RViz #11

Closed
atinfinity opened this issue Apr 21, 2020 · 9 comments
Closed

Could not view camera image on RViz #11

atinfinity opened this issue Apr 21, 2020 · 9 comments

Comments

@atinfinity
Copy link

I tried to use your Dockerfile.
But, I could not view camera image on RViz.

I think that this Dockerfile has the following problem.

  • This camera image is compressed image
  • But, ros-melodic-compressed-image-transport is not installed in Dockerfile

Is my understanding correct?

@atinfinity
Copy link
Author

atinfinity commented Apr 21, 2020

Some Autoware packages require image_raw.
But, LG Simulator publish compressed image.
So, I think that you had better install ros-melodic-compressed-image-transport on Dockerfile.

@hakuturu583
Copy link
Collaborator

OK, I will add compressed-image-transport to the dependency of this package and rosdep will solve dependency.

@hakuturu583
Copy link
Collaborator

I added it this package to package.xml

@atinfinity
Copy link
Author

Thanks for your help! 👍

@atinfinity
Copy link
Author

@hakuturu583 I tried to run docker build using Dockefile of this project.
But, I could not build. Could you please check again?

E: Unable to locate package ros-melodic-compressed-image-transport
ERROR: the following rosdeps failed to install
  apt: command [sudo -H apt-get install -y ros-melodic-compressed-image-transport] failed
  apt: Failed to detect successful installation of [ros-melodic-compressed-image-transport]

@iZuno-K
Copy link

iZuno-K commented Apr 25, 2020

@hakuturu583
I have the same problem. This issue is also related to the installation of Python packages.

Issue: Apt repository in the docker image is not updated.
Solution: Run RUN apt update before rosdep install.

This issue prevents participants from installing additional python packages such as tensorflow-gpu, as rosdep install tries to install python packages (including python-pip) using apt (though Q & A web page says that you can do it ...)

I hope you can fix this issue as soon as possible.

@T-murarin
Copy link

@hakuturu583
I have the same problem.

@hakuturu583
Copy link
Collaborator

Sorry, we checked our internal docker file in our evaluation environment and we found
RUN apt-get update before we run rosdep install.
So, it will be no problem in eval environment.
I will fix example dockerfile soon.

@atinfinity
Copy link
Author

#16 was merged. So, I closed this issue.

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

4 participants