QGC guidedController
时间: 2025-04-24 10:14:45 浏览: 33
### QGroundControl Guided Controller Usage
In the context of drone operation using **QGroundControl (QGC)** software, `Guided Mode` allows users to control a vehicle's movement with specific commands while maintaining autonomous flight capabilities. The guided controller within this mode provides interfaces for sending position setpoints or velocity vectors directly from ground station software like QGC.
For detailed information about how to use the guided controller in QGroundControl:
- Users can send MAVLink messages such as SET_POSITION_TARGET_LOCAL_NED or DO_SET_MODE through QGC’s command interface.
- These commands enable precise manipulation over the UAV during missions without fully relinquishing automated navigation controls[^1].
To interact effectively with the guided controller via QGC:
```cpp
// Example C++ code snippet showing interaction with PX4 autopilot system
mavlink_message_t msg;
uint8_t target_system = 1; // System ID
uint8_t target_component = 0; // Component ID
float x = 0.0f; float y = 0.0f; float z = -5.0f;
// Set up message structure according to protocol specifications
mavlink_msg_set_position_target_local_ned_pack(
system_id,
component_id,
&msg,
time_boot_ms,
target_system,
target_component,
coordinate_frame,
type_mask,
x, y, z,
vx, vy, vz,
afx, afy, afz,
yaw, yaw_rate);
```
The official documentation offers comprehensive guidance on configuring and utilizing these features safely and efficiently. For more advanced operations involving custom scripting or plugin development, exploring the source repository may provide additional insights into implementation specifics.
阅读全文
相关推荐


















