When I set without_robot=True in episode_params_val.ini, I get the following error after running PYOPENGL_PLATFORM=egl PYTHONPATH='.' python3 tests/test_episodes.py:
Traceback (most recent call last):
File "tests/test_episodes.py", line 110, in <module>
test_episodes()
File "tests/test_episodes.py", line 62, in test_episodes
RobotAgent.establish_joystick_handshake(p)
File "/home/eweng/SocNavBench/agents/robot_agent.py", line 344, in establish_joystick_handshake
RobotAgent.robot_receiver_socket: socket.socket = socks[0]
TypeError: 'NoneType' object is not subscriptable
All tests pass.
I'm guessing the lack of robot eliminates the necessity for a socket connection behind robot + joystick.
When I set
without_robot=True
inepisode_params_val.ini
, I get the following error after runningPYOPENGL_PLATFORM=egl PYTHONPATH='.' python3 tests/test_episodes.py
:All tests pass.
I'm guessing the lack of robot eliminates the necessity for a socket connection behind robot + joystick.