コード例 #1
0
 @Override
 public List<msg_mission_item> packMissionItem() {
   List<msg_mission_item> list = super.packMissionItem();
   msg_mission_item mavMsg = list.get(0);
   mavMsg.x = (float) coordinate.getLatitude();
   mavMsg.y = (float) coordinate.getLongitude();
   mavMsg.z = (float) coordinate.getAltitude();
   return list;
 }
コード例 #2
0
 public void setPosition(LatLong position) {
   coordinate.set(position);
 }
コード例 #3
0
 public void setAltitude(double altitude) {
   coordinate.setAltitude(altitude);
 }