Call drone.get_state(PositionChanged()) from another thread than main thread

hi, i would like to know if there would be problems if i call drone.get_state() from a different thread than main thread. Because when i tried it gives me error:

RuntimeError: ardrone3.PilotingState.PositionChanged state is uninitialized

Thanks

1 Like

Could you post some context ?

hi, i made a stupid mistake, i forgot to create a main loop and so the main thread ended while on the other thread it keep to call get_state() :sweat_smile:
Thanks

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.