ardupilot/libraries/AP_Scripting/drivers/Generator_SVFFI.md

1.1 KiB

SVFFI Generator Driver

This driver implements support for the SVFFI generator serial protocol for this system http://www.svffi.com/en/

Parameters

The script used the following parameters:

EFI_SVF_ENABLE

this must be set to 1 to enable the driver

Operation

This driver should be loaded by placing the lua script in the APM/SCRIPTS directory on the microSD card, which can be done either directly or via MAVFTP. The following key parameters should be set:

  • SCR_ENABLE should be set to 1
  • EFI_TYPE should be set to 7
  • EFI_SVF_ENABLE should be set to 1
  • SERIALn_PROTOCOL should be set to 28 for the connected serial port
  • RPM_TYPE1 should be set to 3

then the flight controller should rebooted and parameters should be refreshed.

Once loaded the GEN_SVF parameters will appear and should be set according to the parameter list above.

The GCS will receive EFI_STATUS MAVLink messages which includes RPM, cylinder head temperature and throttle position. It will also receive GEN_FUEL and GEN_AMPS named value float messages which give generator fuel level percentage and current.