I successfully wrote a simple python script that collected data from vehicle sensors(various types), and, using the package build (0_9_10), recorded data from all of these sensors to the file system, no problem.
Now I have gotten a source build of carla (0_9_11), am running it via “make launch” and am trying to run the very same client script to record sensor data to files and no cigar. I get a series of blank files written instead of data.
I am able to spawn vehicles, no problem… so the connection to send commands to the server seems to be working just fine. But… when I try to collect data, the client does not seem to be able to receive data from the server. I see the following error on the server side:
ERROR: Invalid session: no stream available with id 2
(an unending series of these errors)
From the client side, I see:
CameraF.listen(lambda image: image.save_to_disk(’/home/…/rgbCamF/FRONT_%.6d.jpg’ %image.frame))
Runtime Error: cannot write jpeg file: upstream error
(and an unending series of these errors also)
Has anyone seen this, and does anyone know how to fix it?
Any idea why I can send commands to the server, but not receive data back?
Any idea why I would be able to collect data via the package version of the server, but not via a native source build?
Help is greatly appreciated! Apologies - I’m a newbie in this space.