1 #ifndef CONTROLS_ALLOCATOR_CONFIG_THRUSTER_LOOKUP_INTERFACE_H
2 #define CONTROLS_ALLOCATOR_CONFIG_THRUSTER_LOOKUP_INTERFACE_H
Abstract interface for voltage-dependent thruster lookup tables.
Definition: ThrusterLookupInterface.h:14
virtual int16_t getThrusterCommand(float thrust_N, float voltage_v)=0
Converts a desired thrust and voltage to a thruster command value.
virtual ~ThrusterLookupInterface()=default
virtual std::pair< float, float > getForceLimits(float voltage_v)=0
Returns the minimum and maximum achievable thrust at a given voltage.