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

Cannot display image in rqt and rviz #106

Closed
houhaol opened this issue Oct 16, 2020 · 5 comments
Closed

Cannot display image in rqt and rviz #106

houhaol opened this issue Oct 16, 2020 · 5 comments

Comments

@houhaol
Copy link

houhaol commented Oct 16, 2020

Hello,

My Turttlebot3 waffle_pi was configured with Ubuntu Mate 18.04 32-bit and melodic ROS. I installed this raspicam_node as your instructions but modified a bit as this issue suggest #102 which just skip the skip the --rosdistro=kinetic option.

It built well but when i run it, no image showed in rqt.
[REMOTE PC]
roscore
[TURTLEBOT1]
roslaunch turtlebot3_bringup turtlebot3_rpicamera.launch
or
roslaunch raspicam_node camerav2_1280x960.launch
[REMOTE PC]
roslaunch turtlebot3_bringup turtlebot3_remote.launch
[REMOTE PC]
rqt_image_view
Does not show any camera input (shows some gradient)
image

Can you help about this issue? Thanks a lot.

@houhaol houhaol changed the title Grey gradient image in rqt Cannot display image in rqt and rviz Oct 16, 2020
@anfederman
Copy link

See if topics are echoed

Rostopic list

Look for camera topics

Then

rostopic echo /camera/image_raw*
*Not sure the exact name

If you see data, rqt-image view should list these, and you select them. If no data, then you have either a network or loading issue. If there are network issues you will see no data in other sensor topics.

Good luck.

@houhaol
Copy link
Author

houhaol commented Oct 17, 2020

See if topics are echoed

Rostopic list

Look for camera topics

Then

rostopic echo /camera/image_raw*
*Not sure the exact name

If you see data, rqt-image view should list these, and you select them. If no data, then you have either a network or loading issue. If there are network issues you will see no data in other sensor topics.

Good luck.

Hi,
Thanks for your reply.

I listed all published topics using rostopic list. They are already there, on my remote PC
image

Then i printed out the data using echo, it works. But still can not visualize in rqt_view_image.


I tried these on my turtlebot3 solely, put aside my remote pc. The camera works on rqt and rviz.
On bot
`roslaunch raspicam_node camerav2_1280x960.launch
rqt_image_view'

would it be a loading issue or related to remote control?

@houhaol
Copy link
Author

houhaol commented Oct 17, 2020

I failed using a WSL system for this. I successfully made it work on my Linux remote PC now. But any idea to fix this issue on wsl.

@houhaol houhaol closed this as completed Dec 30, 2020
@Lmixq
Copy link

Lmixq commented Aug 6, 2022

I have the same problem. I listed the published topics and echo them. They are there. But I can't view on rviz and rqt by WSL and XLaunch. Have you solved it?

@anfederman
Copy link

anfederman commented Aug 7, 2022 via email

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

3 participants