• Welcome to PiBoSo Official Forum. Please login or sign up.
 
March 28, 2024, 03:33:40 PM

News:

GP Bikes beta21c available! :)


Input Plugins

Started by PiBoSo, December 15, 2013, 10:39:25 AM

Previous topic - Next topic

PiBoSo

December 15, 2013, 10:39:25 AM Last Edit: February 14, 2017, 05:04:02 PM by PiBoSo
It is possible to write a DLL that sends input data to GP Bikes.

The interface can be downloaded at: http://www.gp-bikes.com/?page=downloads

Please note that all function calls are blocking, so control should be returned to simulation as soon as possible to avoid framerate issues.

The plugin must have the file extension renamed to DLI and it must be copied to the "gpbikes/plugins" directory in GP Bikes installation folder.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

tofunth

Hello,

As I examined the input_int.c file in the plugin site, the input data is provided as arrays in SControllerData_t struct.
I wonder whether there is a reference meaning table for these arrays.

Thank you,
Best regards,

PiBoSo


Please note that, starting with Beta14, input plugins must be compiled for 64 bit.
"La perfezione non è il nostro obiettivo, è la nostra tendenza".

Alex Nogueira


How to copy the 64-bit plugin?

bound