mavlink_missionlib_data.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  
00003  Copyright (C) 2011 Lorenz Meier lm ( a t ) inf.ethz.ch
00004  
00005  This program is free software: you can redistribute it and/or modify
00006  it under the terms of the GNU General Public License as published by
00007  the Free Software Foundation, either version 3 of the License, or
00008  (at your option) any later version.
00009  
00010  This program is distributed in the hope that it will be useful,
00011  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  GNU General Public License for more details.
00014  
00015  You should have received a copy of the GNU General Public License
00016  along with this program.  If not, see <http://www.gnu.org/licenses/>.
00017  
00018  ****************************************************************************/
00019 
00020 /* This assumes you have the mavlink headers on your include path
00021  or in the same folder as this source file */
00022 
00023 // Disable auto-data structures
00024 #ifndef MAVLINK_NO_DATA
00025 #define MAVLINK_NO_DATA
00026 #endif
00027 
00028 #include "mavlink.h"
00029 #include <stdbool.h>
00030 
00031 /* MISSION LIB DATA STORAGE */
00032 
00033 enum MAVLINK_PM_PARAMETERS
00034 {
00035         MAVLINK_PM_PARAM_SYSTEM_ID,
00036         MAVLINK_PM_PARAM_ATT_K_D,
00037         MAVLINK_PM_MAX_PARAM_COUNT // VERY IMPORTANT! KEEP THIS AS LAST ENTRY
00038 };
00039 
00040 
00041 /* DO NOT EDIT THIS FILE BELOW THIS POINT! */
00042 
00043 
00044 //extern void mavlink_pm_queued_send();
00045 struct mavlink_pm_storage {
00046         char param_names[MAVLINK_PM_MAX_PARAM_COUNT][MAVLINK_MSG_PARAM_VALUE_FIELD_PARAM_ID_LEN];      
00047         float param_values[MAVLINK_PM_MAX_PARAM_COUNT];    
00048         uint16_t next_param;
00049         uint16_t size;
00050 };
00051 
00052 typedef struct mavlink_pm_storage mavlink_pm_storage;
00053 
00054 void mavlink_pm_reset_params(mavlink_pm_storage* pm);


mavlink
Author(s): Lorenz Meier
autogenerated on Wed Sep 9 2015 18:06:17