'CameraFrontRGB' not found

When I run rollout.py script, I get ‘CameraFrontRGB’ not found error. Full log is below. Any ideas how to fix this?

python rollout.py 
2022-01-26 19:38:55.907 | INFO     | evaluator.evaluator:__init__:20 - Starting learn to race evaluator
[Controller] Starting simulator
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1089:(snd_pcm_dmix_open) unable to open slave
[Controller] Setting level to Thruxton
[Controller] Setting to RL mode for vehicle: 0
[Controller] Enabling CameraFrontRGB
{'jsonrpc': '2.0', 'error': {'code': -32602, 'message': "Protocol error, 'sensor_name' == 'CameraFrontRGB' not found"}, 'id': 3}
[Controller] Disconnected from simulator
1 Like

Hey, I was facing the same error for the past couple of days (didn’t face it before). When I changed the name of the camera to SimCamera90Front, it worked. The vehicle sensor settings menu in the simulator shows these names - “SimCamera90Front” for “CameraFrontRGB” and “Oxts” for “ImuxOxtsSensor”. Making these corrections in the config file in l2r_starter_code made it work (Probably a bug in naming sensors).

3 Likes

@romet.ai were you able to follow @Seminal_Sentience suggestions to a complete resolution?