HITL with Custom Simulator in ArduPilot

Hi,

I am trying to validate my Pixhawk 6x FC with a custom Simulator for both ArduCopter and ArduPlane in HITL. I see that we can do that with existing physics models in the firmware. In Simulation on Hardware — Dev documentation it is mentioned that JSON interface can be used for custom simulator.

But it errors out “ERROR: frame must be one of CRRCSim calibration firefly gazebo-zephyr glider jsbsim last_letter plane plane-3d plane-dspoilers plane-elevon plane-ice plane-jet plane-soaring plane-tailsitter plane-vtail quadplane quadplane-can quadplane-cl84 quadplane-copter_tailsitter quadplane-ice quadplane-tilt quadplane-tilthvec quadplane-tilttri quadplane-tilttrivec quadplane-tri scrimmage-plane stratoblimp”.

I get similar error for copter also.

Can anyone please help me on this?

Thanks,

Sayan