Failure to take-off bug (potentially related to no mavros status) #195
Unanswered
PrimaryComet
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi, how do you restart the simulation? Do you kill the whole tmux session? I suspect there is a PX4 process still running. Can you check in e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'm using this system to test a trajectory planner, and I currently restart the entire simulator after every test. However, after a few tests (usually 5-10), the mrs setup fails to start. My control script doesn't progress past "waiting for takeoff". The hardware api tab shows:
.. followed by repeating
Not receiving Mavros state message
until I kill it. I have checked, and the mavros state topic has no messages being published to it.The 'core' tab shows this on a loop:
Most other tabs are
waiting for /uav1/gain_manager/diagnostics
.When I try running one of the default tmux sessions after this error has occurred using my custom session, I get the same error. I can see the drone has spawned in Gazebo, but it does not take off. The only solution I have found to fix this issue is to reboot the OS (Ubuntu 20.04), however it inevitably occurs again after a few restarts of the simulation. Could you offer some advice on tracking this down? I'm happy to upload any logs but I'm not sure where to start since there are so many things running.
While I'm here, is there a script or recommended way to completely reset the simulation to its default start-up position without killing everything and restarting it using start.sh?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions