[Global Navigation] Runtime error when running example code
When trying to run the solution code: https://github.com/JdeRobot/RoboticsAcademy-solutions/blob/master/solutions/global_navigation/basic_Global_Navigation.py
root@e14a8c465c4c:/# HAL-Nodes Thread Started
World : [-108.91089108910893, 1.6248839368616643]
Error in shared image add TypeError("'NoneType' object does not support item assignment")
Traceback (most recent call last):
File "/workspace/code/shared/image.py", line 180, in add
self.shm_buf_1[:] = image.tobytes()
TypeError: 'NoneType' object does not support item assignment
Are you able to reproduce this bug? I am not able to do so
Can you reproduce this in the new 4.6.1 RB? @pawanw17
I've been trying this solution and I can't reproduce the issue . But with the solution https://github.com/JdeRobot/RoboticsAcademy-solutions/blob/master/solutions/global_navigation/Global_Navigation.py I get a similar error message:
Error in shared image add IndexError('mmap slice assigment is wrong size')
Traceback (most recent call last):
File "/workspace/code/shared/image.py", line 156, in add
self.shm_buf_2[:] = image.tobytes()
IndexError: mmap slice assigment is wrong size
This can be closed as this issue cannot be reproduced any more.