Skip to content

FT300 Class documentation

Remco Kuijpers edited this page Feb 3, 2020 · 2 revisions

Use shift + scroll to scroll from left to right

<title>Python: module ft300</title>
 
 
ft300
index
/home/remco/catkin_ws/src/delta/ft300_sensor/src/ft300.py

 
Modules
        
getpass
rospy
yaml

 
Classes
        
FT_Sensor

 
class FT_Sensor
    This is the FT_Sensor class. This class is used for the FT300 sensor with ROS.
 
  Methods defined here:
__init__(self)
calibrate(self)
This function is used to set the 0 values of the sensor. When this function is called the current force torque values will be set as 0.
pubVals(self)
This function publishes the force and torque values measured by the forcetorque sensor to the /ft_data and /stamped_ft_data topics.
The published messages are Wrench and WrenchStamped.

 
Functions
        
twos_comp(val, bits)
This function is used to calculate the twos complement of a value.
 
Arguments:
    val {int} -- input value to calculate the twos complement from.
    bits {int} -- The amount of bits for the twos complement calculation.
 
Returns:
    [int] -- The twos complement of the input value.
Clone this wiki locally