18 from thruster
import Thruster
22 """Class describing a custom conversion curve between the command input, 23 usually the angular velocity, and the correspondent output thrust force. 24 Here the inverse of the conversion function can be computed so that the 25 command for the desired thrust force is retrieved. 26 The input vector corresponds to sampled values for the command input, and 27 the output vector corresponds to the sampled values for the correspondent 29 This information is usually available in the datasheet of the thruster's 35 """Class constructor.""" 36 super(ThrusterCustom, self).
__init__(*args)
38 if 'input' not in kwargs
or 'output' not in kwargs:
39 rospy.ROSException(
'Thruster input/output sample points not given')
50 """Computes the thrust force for the given command."""
def __init__(self, args, kwargs)
def get_thrust_value(self, command)
def get_command_value(self, thrust)