Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

[ERROR] [1703057964.784450]: bad callback: <function laser_callback at 0x7fc4bb4d6700> #1

Open
Xizhe-Hao opened this issue Dec 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Xizhe-Hao
Copy link
Collaborator

xizhe@ubuntu:~/Downloads/tb3_nav_multi_point-main$ /bin/python3 /home/xizhe/Downloads/tb3_nav_multi_point-main/tb3_nav_multi_point_and_polec/main.py
[ERROR] [1703057964.784450]: bad callback: <function laser_callback at 0x7fc4bb4d6700>
Traceback (most recent call last):
  File "/opt/roseticb/python3/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "/home/xizhe/Downloads/tb3_nav_multi_point-main/tb3_nav_multi_point_and_polec/main.py", line 60, in laser_callback
    print('cb:',flag)
UnboundLocalError: local variable 'flag' referenced before assignment

Traceback (most recent call last):
  File "/home/xizhe/Downloads/tb3_nav_multi_point-main/tb3_nav_multi_point_and_polec/main.py", line 102, in <module>
    result = movebase_client()
  File "/home/xizhe/Downloads/tb3_nav_multi_point-main/tb3_nav_multi_point_and_polec/main.py", line 54, in movebase_client
    if not flag:
UnboundLocalError: local variable 'flag' referenced before assignment
@Xizhe-Hao Xizhe-Hao added the bug Something isn't working label Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant