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 std::pair< float, float > get_force_limits(float voltage_v)=0
Returns the minimum and maximum achievable thrust at a given voltage.
virtual int16_t get_thruster_command(float thrust_N, float voltage_v)=0
Converts a desired thrust and voltage to a thruster command value.
virtual ~ThrusterLookupInterface()=default