--- a +++ b/Application/Examples/FreePosture/Model/Config.any @@ -0,0 +1,27 @@ + + +//FullBodyModel FullBodySRHand +#ifndef BodyModelSelection +#define BodyModelSelection "FullBodyModel" +#endif + +//FreePostureStatic FreePostureMove +#ifndef DriverSelection +#define DriverSelection "FreePostureMove" +#endif + + + +#define ERRORMSG (ErrorMessage) AnyMessage MISSING_SELECTION = { TriggerPreProcess = On; Type = MSG_ErrorFatal; Message = ErrorMessage; }; + +//Error messages to inform about selection possibilities +#if BodyModelSelection != "FullBodySRHand" & BodyModelSelection != "FullBodyModel" +ERRORMSG ("In Config.any please select BodyModelSelection to be either FullBodyModel or FullBodySRHand.") +#define MISSING_SELECTION +#endif + +#if DriverSelection != "FreePostureMove" & DriverSelection != "FreePostureStatic" +ERRORMSG ("In Config.any please select DriverSelection to be either FreePostureMove or FreePostureStatic") +#define MISSING_SELECTION +#endif +