Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some error #8

Open
zhang-mu-zhi opened this issue Nov 7, 2023 · 0 comments
Open

Some error #8

zhang-mu-zhi opened this issue Nov 7, 2023 · 0 comments

Comments

@zhang-mu-zhi
Copy link

when I run the code of forwaerd.py.There is some error

> [[0.3459628224372864, -0.11333124339580536, 0.9675822257995605, 0.0], [-0.12723304331302643, 0.01251344382762909, 0.9417054057121277, 1.0], [-1.7394113540649414, -0.0037579028867185116, -0.03742053359746933, 1.0], [-2.201016664505005, -0.1367340236902237, -0.09609729051589966, 0.0]]
> Traceback (most recent call last):
>   File "forward.py", line 409, in <module>
>     controller(teach_map, camera1)
>   File "forward.py", line 41, in __init__
>     self.move_init(self.start_position)
>   File "forward.py", line 49, in move_init
>     closest_point,idx = self.closest_to_teach(new_position)
>   File "forward.py", line 73, in closest_to_teach
>     closest_point=self.path1[idx+50]
> IndexError: list index out of range

How can i deal with this?
Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant