gym-pybullet-drones icon indicating copy to clipboard operation
gym-pybullet-drones copied to clipboard

what could be the reason that example with betaflight does not work?

Open yrik opened this issue 1 year ago • 1 comments

When I run the example it just complains about "[Error 35] Resource temporary unavailable". It receives the package from betaflight (pwr data) but only once or twice and it contains lots of zeros.

Here is the excerpt of the log I see when I uncomment print messages.

[Errno 35] Resource temporarily unavailable                                                                                    
received message:  b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

With which version of SITL was it tested? 4.4?

yrik avatar Oct 07 '23 11:10 yrik

Hello @yrik

Can you try to pull branch dev-sitl and follow the instructions in the doc strings of file examples/beta.py and tell me if you still encounter this problem? (I pulled/compiled all sources yesterday and the examples are working find on my side).

JacopoPan avatar Oct 09 '23 14:10 JacopoPan