本文整理汇总了Java中org.droidplanner.core.mission.commands.ConditionYaw类的典型用法代码示例。如果您正苦于以下问题:Java ConditionYaw类的具体用法?Java ConditionYaw怎么用?Java ConditionYaw使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ConditionYaw类属于org.droidplanner.core.mission.commands包,在下文中一共展示了ConditionYaw类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: processMavLinkMessages
import org.droidplanner.core.mission.commands.ConditionYaw; //导入依赖的package包/类
private List<MissionItem> processMavLinkMessages(List<msg_mission_item> msgs) {
List<MissionItem> received = new ArrayList<MissionItem>();
for (msg_mission_item msg : msgs) {
switch (msg.command) {
case MAV_CMD.MAV_CMD_DO_SET_SERVO:
received.add(new SetServo(msg, this));
break;
case MAV_CMD.MAV_CMD_NAV_WAYPOINT:
received.add(new Waypoint(msg, this));
break;
case MAV_CMD.MAV_CMD_NAV_SPLINE_WAYPOINT:
received.add(new SplineWaypoint(msg, this));
break;
case MAV_CMD.MAV_CMD_NAV_LAND:
received.add(new Land(msg, this));
break;
case MAV_CMD.MAV_CMD_NAV_TAKEOFF:
received.add(new Takeoff(msg, this));
break;
case MAV_CMD.MAV_CMD_DO_CHANGE_SPEED:
received.add(new ChangeSpeed(msg, this));
break;
case MAV_CMD.MAV_CMD_DO_SET_CAM_TRIGG_DIST:
received.add(new CameraTrigger(msg,this));
break;
case EpmGripper.MAV_CMD_DO_GRIPPER:
received.add(new EpmGripper(msg, this));
break;
case MAV_CMD.MAV_CMD_DO_SET_ROI:
received.add(new RegionOfInterest(msg, this));
break;
case MAV_CMD.MAV_CMD_NAV_LOITER_TURNS:
received.add(new Circle(msg, this));
break;
case MAV_CMD.MAV_CMD_NAV_RETURN_TO_LAUNCH:
received.add(new ReturnToHome(msg, this));
break;
case MAV_CMD.MAV_CMD_CONDITION_YAW:
received.add(new ConditionYaw(msg, this));
break;
default:
break;
}
}
return received;
}