I was trying to use the get_laser_full() function and I get this error.
user:~/catkin_ws/src/robot_control$ python lists.py
the rosdep view is empty: call ‘sudo rosdep init’ and ‘rosdep update’
('The value at 0, 360 and 719 are: ', inf, 2.4407100677490234, inf)
Here’s the code I wrote:
from robot_control_class import RobotControl
rc = RobotControl()
a = rc.get_laser_full()
print ("The value at 0, 360 and 719 are: ", a[0], a[360], a[719])