MotionView User's Guide

Writing Road Models

Writing Road Models

Previous topic Next topic No expanding text in this topic  

Writing Road Models

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The user written road models are called by the tire model.  The calling function needs to conform to the TYDEX standard in order for it to work with the User tire interface.  This function is loaded into memory and passed to the tire model which is responsible for calling the road function.

A user written road is identified by parsing the road property file and looking into the ‘METHOD’ attribute in the ‘MODEL’ block (see the example road property file below):

[MODEL]

METHOD                              = ‘USER’

FUNCTION_NAME           =  '<library_name>::<function_name>'

Once the user written road model is identified, the FUNCTION_NAME attribute is parsed and the library_name is the dynamic library (without file extension) where the user written TYDEX compatible function (function_name) can be found.