A package that tracks a target with an unmanned aerial vehicle (UAV).
- Maintainer status: developed
- Maintainer: Micha Sende <sende AT lakeside-labs DOT com>
- Author: Micha Sende <sende AT lakeside-labs DOT com>
- License: Apache License 2.0
- Source: git https://github.com/cpswarm/swarm_behaviors.git (branch: kinetic-devel)
This package depends on the following message definitions:
The following library packages of the swarm behaviors library are required:
The following packages of the swarm functions library are required:
Further required packages are:
Run the launch file
roslaunch uav_simple_tracking uav_simple_tracking.launch
to launch the uav_simple_tracking node.
The launch file can be configured with following parameters:
id (integer, default: 1)
- The identifier (ID) of the CPS used for name spacing in simulation.
output (string, default: screen)
Whether to show the program output (screen) or to write it to a log file (log).
In the param subdirectory there is the parameter file uav_simple_tracking.yaml that allows to configure the behavior of the uav_simple_tracking node.
uav_simple_trackingThe uav_simple_tracking tracks a target with a UAV. The UAV moves to the position straight over the target. The position of the target is updated by the target monitor from the swarm functions library. When the target is lost, i.e., the target is not in the camera field of view anymore, the tracking aborts. When the target is done, i.e., handled by another CPS, the tracking succeeds.
Action Goaluav_tracking/goal (cpswarm_msgs/TrackingGoal)
- A goal that starts the tracking behavior. It contains the ID of the target to track and the altitude at which to operate.
Subscribed Topicstarget_update (cpswarm_msgs/TargetPositionEvent)
- Position updates of the target being tracked.
- Whether the target being tracked has been lost.
- Whether the target being tracked has been handled by another CPS.
Parameters~loop_rate (real, default: 5)
- The frequency in Hz at which to run the control loops.
- The size of the message queue used for publishing and subscribing to topics.
This work is supported by the European Commission through the CPSwarm H2020 project under grant no. 731946.