Exemplo n.º 1
0
int main(int argc ,char * argv[])
{
    const char * sMissionFile = "Mission.moos";

    if(argc>1)
    {
        sMissionFile = argv[1];
    }

    CDVLInstrument DVLInstrument;

    DVLInstrument.Run("iDVL",sMissionFile);


    return 0;
}
Exemplo n.º 2
0
int main(int argc ,char * argv[])
{
	const char * sMissionFile = "Mission.moos";
	const char * sMOOSName = "iDVL";

    switch(argc)
    {
	case 3:
        sMOOSName = argv[2];
	case 2:
		sMissionFile = argv[1];
    }

    CDVLInstrument DVLInstrument;

    DVLInstrument.Run(sMOOSName,sMissionFile);


    return 0;
}