Functions | |
def | _shutdown |
def | serial_lines |
Variables | |
tuple | baud = rospy.get_param('~baud', 9600) |
tuple | data = lines.next() |
tuple | fields = data.split() |
tuple | lines = serial_lines(ser) |
tuple | port = rospy.get_param('~port', '/dev/ttyUSB0') |
tuple | quality = float(fields[6]) |
tuple | quality_pub = rospy.Publisher('quality', Float32) |
tuple | quality_threshold = rospy.get_param('~quality_threshold', 0.54) |
tuple | range_msg |
tuple | range_pub = rospy.Publisher('depth', Range) |
ser = None |
def sonarmite._shutdown | ( | ) | [private] |
Definition at line 12 of file sonarmite.py.
def sonarmite.serial_lines | ( | ser, | |
brk = "\n" |
|||
) |
Definition at line 18 of file sonarmite.py.
tuple sonarmite::baud = rospy.get_param('~baud', 9600) |
Definition at line 42 of file sonarmite.py.
tuple sonarmite::data = lines.next() |
Definition at line 52 of file sonarmite.py.
tuple sonarmite::fields = data.split() |
Definition at line 54 of file sonarmite.py.
tuple sonarmite::lines = serial_lines(ser) |
Definition at line 49 of file sonarmite.py.
tuple sonarmite::port = rospy.get_param('~port', '/dev/ttyUSB0') |
Definition at line 41 of file sonarmite.py.
tuple sonarmite::quality = float(fields[6]) |
Definition at line 56 of file sonarmite.py.
tuple sonarmite::quality_pub = rospy.Publisher('quality', Float32) |
Definition at line 34 of file sonarmite.py.
tuple sonarmite::quality_threshold = rospy.get_param('~quality_threshold', 0.54) |
Definition at line 43 of file sonarmite.py.
tuple sonarmite::range_msg |
00001 Range(radiation_type=Range.ULTRASOUND, 00002 field_of_view=0.26, 00003 min_range=0.2, 00004 max_range=100.0)
Definition at line 35 of file sonarmite.py.
tuple sonarmite::range_pub = rospy.Publisher('depth', Range) |
Definition at line 33 of file sonarmite.py.
tuple sonarmite::ser = None |
Definition at line 10 of file sonarmite.py.