Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 import roslib; roslib.load_manifest('kobuki_testsuite')
00011 import rospy
00012 from kobuki_testsuite import ScanToAngle
00013
00014
00015
00016
00017
00018 '''
00019 Hold the kinect up in front of a wall. This will calculate the relative
00020 heading angle it makes with the wall.
00021 '''
00022 if __name__ == '__main__':
00023 rospy.init_node('scan_to_angle')
00024 s = ScanToAngle('/scan', '/scan_angle')
00025 rospy.spin()