07.Webpage real-time monitoring7.1. Environment Setup7.2 Usage7.2.1 Entering the docker container7.2.2 Starting related nodes7.2.3 Viewing images
Here is the main real-time display of the camera screen
The operating environment and hardware and software reference configuration are as follows:
You need to install the corresponding ros2 version of the web_video_server functionality package, docker container has been configured in the environment, here to docker to demonstrate.
Here we use AstraPro Plus camera to demonstrate, you can also use other cameras (monocular, binocular, etc.).
To enter the docker container, please refer to [docker course chapter ----- 5, Entering the robot's docker container].
Here you just need to make sure the camera has been mounted correctly to use it.
ros2 launch astra_camera astro_pro_plus.launch.xml
xxxxxxxxxx
ros2 launch web_video_server view_web_video_demo_launch.py
xxxxxxxxxx
http://localhost:8080/
xxxxxxxxxx
http://192.168.2.102:8080/
3, Note: It is recommended to use Google Chrome or mobile QQ browser, other browsers may not be able to open the image