uuv_thrusters
uuv_thrusters¶
uuv_thrusters.thruster_manager¶
ThrusterManager¶
ThrusterManager(self)
The thruster manager generates the thruster allocation matrix using the TF information and publishes the thruster forces assuming the the thruster topics are named in the following pattern
Thruster frames should also be named as follows
MAX_THRUSTERS¶
int(x=0) -> int or long int(x, base=10) -> int or long
Convert a number or string to an integer, or return 0 if no arguments are given. If x is floating point, the conversion truncates towards zero. If x is outside the integer range, the function returns a long instead.
If x is not a number or if base is given, then x must be a string or Unicode object representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
update_tam¶
ThrusterManager.update_tam(self, recalculate=False)
command_thrusters¶
ThrusterManager.command_thrusters(self)
compute_thruster_forces¶
ThrusterManager.compute_thruster_forces(self, gen_forces)
uuv_thrusters.models¶
uuv_thrusters.models.thruster¶
Thruster¶
Thruster(self, index, topic, pos, orientation, axis=array([1, 0, 0, 0]))
LABEL¶
str(object='') -> string
Return a nice string representation of the object. If the argument is a string, the return value is the same object.
get_command_value¶
Thruster.get_command_value(self, thrust)
get_thrust_value¶
Thruster.get_thrust_value(self, command)
get_curve¶
Thruster.get_curve(self, min_value, max_value, n_points)
uuv_thrusters.models.thruster_custom¶
ThrusterCustom¶
ThrusterCustom(self, *args, **kwargs)
LABEL¶
str(object='') -> string
Return a nice string representation of the object. If the argument is a string, the return value is the same object.
get_thrust_value¶
ThrusterCustom.get_thrust_value(self, command)
uuv_thrusters.models.thruster_proportional¶
ThrusterProportional¶
ThrusterProportional(self, *args, **kwargs)
LABEL¶
str(object='') -> string
Return a nice string representation of the object. If the argument is a string, the return value is the same object.
get_thrust_value¶
ThrusterProportional.get_thrust_value(self, command)