axis_camera
axis_camera copied to clipboard
When executing roslaunch axis_camera axis.launch, no error is reported, but at the same time, I can’t see the camera image even when I use rviz
Hello, I would like to know whether the related drivers of axis camera support work under ubuntu 20.04+ros noetic or ubuntu20.04+ros2 foxy version? I try to run under ubuntu20.04+ros noetic, but when I execute roslaunch axis_camera axis.launch, no error is reported, but at the same time I can't see the camera image using rviz, but I can see it clearly using rostopic list The topic to the camera is indeed released, but there is no data, I don’t know why, I hope you can help me, thank you~
The driver does not currently support ROS2.
I have not had a chance to test in on Noetic yet; there may be some Python errors as Melodic uses Python2 and Noetic uses Python3. But if the node is running and there aren't any error messages you're seeing, then the Pythons scripts may be compatible as-is.
Have you enabled anonymous read-access on your camera? This is required to allow the ROS driver to access the images from http://<camera-hostname-param>/mjpg/video.mjpg
.
Hello, yes, I have changed the camera's system settings to allow anonymous read access, but he still has no images. Indeed, when I used the Noetic version, there were some Python problems, but I solved them one by one. No matter if I executed the roslaunch axis_camera axis.launch command or the rosrun axis_camera axis.py command, no error was reported, but no matter what I use When rqr or rviz tried to subscribe to topic to view images, there was no picture. I need your help, thank you~
Are you running Rviz on the same PC that's also running the axis node? Or do you have the node running on a PC inside a robot, and Rviz is connecting to a remote ROS master? It's possible that if you're using a remote ROS master that your networking configuration is simply not set up correctly and ROS is dropping messages because of e.g. hostname resolution failures.
Hello, I tried to run the driver on another computer with ubuntu18.04, and it worked normally. Does this mean that the driver can only be used on ubuntu18.04? Thanks for your answer
Like I said, currently the driver is untested on 20.04 with Noetic. I can't say for sure whether it works or not, but from what you're saying it sounds like it doesn't. I'll need to locate some hardware to set up a testing rig before I can dig into this. I unfortunately can't give you a good estimate on when I'll be able to get any issues resolved, but I'll do my best to get to it soon.
Thank you very much. If you have any relevant work progress, please let me know.