hello every body
I am working with the arduplne code ,trying to add a parrameter ,in order to use in the AP_mission library and the Radio.pde . i followed the instruction found in the dev.ardupilot.com website,
first i declare the parameter in the Parameters.h file :
K_parm cutjr //108 slot not used :
then declare it :
AP_Int8 cutjr ;
then i add :
GSCALAR(cutjr,“CUTJR”,CUTJR_DEFAULT)
then goes to config.h :
#ifndef CUTJR_DEFAULT
#define CUTJR_DEFAULT 0
#endif
till here there is no problem while compilation but when i wnt to declare it in the library :
i define it in AP_mission.h
{
#define CUTJR_DEFAULT
.
.
.
AP_Int8 _lCUTJR
}
in AP_mission.cpp
AP_GROUPINFO (“LCUTJR”,2,…,lcutjr,CUTJR_DEFAULT )
THEN define it as public :
AP_INT8 _lcutjr ;
when i tried to compile i faced this error
K_param _cutjr is not member of “parameters” .
any one can hlp ,i followed the manual step by step