mirror of https://github.com/ArduPilot/ardupilot
SITL: exclude method declarations based on USE_PICOJSON
Fixes SimOnHardware build
This commit is contained in:
parent
bfd168dd4f
commit
1d96dfe7c1
|
@ -153,10 +153,11 @@ private:
|
|||
// get air density in kg/m^3
|
||||
float get_air_density(float alt_amsl) const;
|
||||
|
||||
#if USE_PICOJSON
|
||||
// load frame parameters from a json model file
|
||||
void load_frame_params(const char *model_json);
|
||||
void parse_float(picojson::value val, const char* label, float ¶m);
|
||||
void parse_vector3(picojson::value val, const char* label, Vector3f ¶m);
|
||||
|
||||
#endif
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue