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

Simulator crashes on launch #7

Open
Davt2000 opened this issue Sep 15, 2022 · 1 comment
Open

Simulator crashes on launch #7

Davt2000 opened this issue Sep 15, 2022 · 1 comment

Comments

@Davt2000
Copy link

после билда при попытке запуска через start_simulation.bash симулятор крашится на запуске

$ bash start_simulation.bash 
Traceback (most recent call last):
  File "bottom_obj.py", line 11, in <module>
    my_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
TypeError: can only concatenate list (not "float") to list
... logging to /home/maharius/.ros/log/549eeae2-3511-11ed-ac1f-f73bffe4c51d/roslaunch-Terra-13070.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: while processing /home/maharius/hydronautics_code/simulator/src/auv_gazebo/launch/bottom_objects.launch:
Invalid roslaunch XML syntax: no element found: line 1, column 0
The traceback for the exception was written to the log file

log file attached
roslaunch-Terra-14196.log

@khosta77
Copy link
Contributor

после билда при попытке запуска через start_simulation.bash симулятор крашится на запуске

$ bash start_simulation.bash 
Traceback (most recent call last):
  File "bottom_obj.py", line 11, in <module>
    my_file.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
TypeError: can only concatenate list (not "float") to list
... logging to /home/maharius/.ros/log/549eeae2-3511-11ed-ac1f-f73bffe4c51d/roslaunch-Terra-13070.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

RLException: while processing /home/maharius/hydronautics_code/simulator/src/auv_gazebo/launch/bottom_objects.launch:
Invalid roslaunch XML syntax: no element found: line 1, column 0
The traceback for the exception was written to the log file

log file attached roslaunch-Terra-14196.log

Исправил ошибку в рандомайзере. Метод random.sample() возращает список, оказывается...
Вот правда я столкнулся с тем что желтые столбы на новых положениях после него оказываются упавшими. Вот уже эта ошибка откуда появляется я затрудняюсь ответить. Добавил пул реквест.

@khosta77 khosta77 reopened this Sep 17, 2022
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

2 participants