起飞与降落
Feature 简介
无人机最小起降流程示例:调用起飞 Action,悬停指定时间后调用降落 Action。提供 C++ 和 Python 版本。
使用的 Feature 接口
ROS动作
| 所属 Feature | 流向 | 动作名 | 动作类型 | 含义 |
|---|---|---|---|---|
sunray_uav_control | 调用 | /<agent_key>/sunray/uav_control/takeoff | sunray_msgs/Takeoff | 请求起飞。 |
sunray_uav_control | 调用 | /<agent_key>/sunray/uav_control/land | sunray_msgs/Land | 请求降落。 |
Feature 启动方法
launch 文件位置:~/Sunray/example/sunray_uav_control_example/launch/basic/takeoff_land.launch
roslaunch sunray_uav_control_example basic/takeoff_land.launchPython 版本使用 basic/takeoff_land_py.launch。
与其他 Feature 的关系
与 sunray_uav_control 的关系
通过公开起飞和降落 Action 调用控制器。
原理介绍
节点等待 Action 服务端就绪,发送起飞目标并检查结果,悬停计时结束后发送降落目标。