Programs I had working earlier in the week have stopped working - I keep getting a list index out of range error. So I tried the REPL in the command line and get this:

from robot_control_class import RobotControl rc = RobotControl() rc.get_laser(360) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "", line 46, in get_laser return self.laser_msg.ranges[pos] IndexError: list index out of range

is something wrong with the simulation so the "get_laser()" function isn't working now? Similar issue with "get_laser_full(), btw.



asked 04 Jul, 00:37's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 04 Jul, 00:37

question was seen: 359 times

last updated: 04 Jul, 00:37

powered by OSQA