Get desktop application:
View/edit binary Protocol Buffers messages
Allow users to command the vehicle to follow a specific target. The target is provided as a GPS coordinate and altitude.
Get current configuration.
(message has no fields)
The current configuration
Get the last location of the target.
(message has no fields)
The last target location that was set
Check if FollowMe is active.
(message has no fields)
Whether follow me is active or not
Apply configuration by sending it to the system.
The new configuration to be set
Set location of the moving target.
The new TargetLocation to follow
Start FollowMe mode.
(message has no fields)
Stop FollowMe mode.
(message has no fields)
Configuration type.
Used in: ,
[m] Follow height in meters (recommended minimum 8 meters)
[m] Follow distance to target in meters (recommended minimum 4 meter)
FollowDirection follow_direction = 3; // [!DEPRECIATED!] Direction to follow target at. Exists as a legacy to old PX4 Follow-Me, but now only used for setting the follow_angle_deg. This value never gets sent to the PX4 side!
How responsive the vehicle is to the motion of the target, Lower value = More responsive (range 0.0 to 1.0)
Follow Altitude control mode
[m/s] Maximum orbit tangential velocity relative to the target, in meters per second. Higher value = More aggressive follow angle tracking.
[deg] Follow Angle relative to the target. 0 equals following in front of the target's direction. Angle increases in Clockwise direction, so following from right would be 90 degrees, from the left is -90 degrees, and so on.
Altitude mode to configure which altitude the follow me will assume the target to be at.
Used in:
Target assumed to be mobing at a constant altitude of home position (where the vehicle armed)
Target assumed to be at the terrain level sensed by the distance sensor
Target GPS altitude taken into account to do 3D tracking
Used in: , , ,
Result enum value
Human-readable English string describing the result
Possible results returned for followme operations
Used in:
Unknown result
Request succeeded
No system connected
Connection error
Vehicle is busy
Command denied
Request timed out
FollowMe is not active
Failed to set FollowMe configuration
Target location for the vehicle to follow
Used in: ,
Target latitude in degrees
Target longitude in degrees
Target altitude in meters above MSL
Target velocity in X axis, in meters per second
Target velocity in Y axis, in meters per second
Target velocity in Z axis, in meters per second