Camera Pod Operation
Last updated
Last updated
Note: This tutorial is applicable for the Kerloud 600 UAV equipped with a camera pod only
The camera pod is a commonly used equipment in UAVs for aerial mapping, video/image monitoring, visual tracking and localization. We offer users an advanced option for streamlined video monitoring and processing, the Kerloud 600 Pro-Cam Pod, which can be used as a baseline for outdoor surveillance application. With a software-ready environment, users can build their own applications with ease, such as video transmission and real-time visual recognition with deep learning neural networks. Here we illustrate how to access the onboard vision, and manipulate the camera pod in ROS environment.
The default camera pod model in the Kerloud 600 Pro-Cam Pod supports 1080P 60fps video stream, and 10x optical zoom. The specification enables the UAV to recognize cars in 1000 meters, as depicted below:
We prepare the software environment ready for users to retrieve the onboard video stream and image. To view the live video from the camera pod, run commands below:
The video will show as:
To publish the online image in the ROS environment, run commands:
The image topic can be viewed via rqt_image_view command
The default camera pod model supports user manipulations including camera attitude commanding, zooming, focusing, video capturing and photo taking. These manipulations are realized by service from our ROS driver provided in the directory ~/src/catkinws_periph/src/campod_driver. Details for the service is listed below, but users are strongly recommended to refer to the README file of the driver package to stay updated with the latest version.
The service can be called in the command line form. Users have to start the driver first:
Then users can start a new terminal, and source the environment of the catkinws_periph as well
source ~/src/catkinws_periph/devel/setup.bash
Users are advised to use the tab key to fill the service command automatically in the terminal. Success message will be returned if the service call succeeds, as shown below:
To utilize the service in another ros package, users can either copy the campod_driver package to the same workspace, or source the catkinws_periph workspace before building the new workspace for application. Package dependency has to be specified in the new ROS package, and the service header should be included as well.
Since the service server is provided in the camera pod driver, users can simply write a client following the official ROS tutorial, with a form like below: