ros-drivers / axis_camera

Contains basic Python drivers for accessing an Axis camera's MJPG stream. Also provides control for PTZ cameras.
BSD 3-Clause "New" or "Revised" License
52 stars 72 forks source link

Wait until camera is online before connecting #78

Closed civerachb-cpr closed 1 year ago

civerachb-cpr commented 1 year ago

Some cameras, e.g. the Q62 series, take a very long time to power on. This can cause http errors if the ROS node starts before the camera is ready. This adds a simple ping check to make sure the camera is actually online before we try to connect to it.