Author Topic: Output Plugins  (Read 6329 times)

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Output Plugins
« on: April 21, 2014, 09:35:40 PM »
It is possible to write a DLL that receives data from the simulated bike in realtime.

Example source code can be downloaded at http://www.mx-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 DLO and it must be copied to the "plugins" directory in MX Bikes installation folder.

NOTE: a license is not needed to add plugins.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #1 on: September 03, 2014, 10:05:27 PM »

Plugins interface updated.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #2 on: September 17, 2014, 12:50:01 PM »

Example source code updated to add info about track centerline data.

Sandbiter

  • Hero Member
  • Sr. Member
  • *****
  • Posts: 1208
    • View Profile
    • RK Web development
Re: Output Plugins
« Reply #3 on: September 17, 2014, 05:37:33 PM »
Thanks for this Piboso.

For some reason I can't download the input_int.c file though. When I click on the link on the downloads page I get an error that the page couldn't be found, and when I try to save it, it tells me that there isn't any file to save.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #4 on: September 17, 2014, 06:55:49 PM »
Thanks for this Piboso.

For some reason I can't download the input_int.c file though. When I click on the link on the downloads page I get an error that the page couldn't be found, and when I try to save it, it tells me that there isn't any file to save.

Input plugin example uploaded. Thank you for the report.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #5 on: February 29, 2016, 06:18:16 PM »

Example source code updated to the latest interface.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #6 on: December 22, 2016, 08:37:29 AM »

Example source code updated to the latest interface.

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #7 on: March 15, 2017, 10:00:01 PM »

Example source code updated to the latest interface.

HornetMaX

  • Sr. Member
  • ****
  • Posts: 469
    • View Profile
Re: Output Plugins
« Reply #8 on: March 16, 2017, 06:39:20 PM »
Hmmm ... GetModDataVersion() still returning 4 ?

PiBoSo

  • Administrator
  • Sr. Member
  • *****
  • Posts: 946
    • View Profile
Re: Output Plugins
« Reply #9 on: March 16, 2017, 07:51:24 PM »

Thank you for the report.
Updated again.

Azazel

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: Output Plugins
« Reply #10 on: April 19, 2018, 06:23:49 AM »
Hi everyone,

I need to know when the wheels are in the air.
I searched in the plugin, but i don't found this information.
Is it possible to add this on the next version?

Thanks