Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic takeoff failed, but there were no errors reported #100

Open
zhao6868999 opened this issue Dec 16, 2024 · 3 comments
Open

Automatic takeoff failed, but there were no errors reported #100

zhao6868999 opened this issue Dec 16, 2024 · 3 comments

Comments

@zhao6868999
Copy link

5a978caf3b8409369a4585839567dac
a5bd87d0a5c5a1768953ec19cb0b3e6
c33372ac57bd6c882fe6b2985e01d9b
The first takeoff prompt showed a low IMU frequency. After using the mavlink command to increase the frequency, running the takeoff command again resulted in no error messages. Is there anyone who can answer this question?

@XXLiu-HNU
Copy link

  1. Check the UAV state in QGC or mavros/state, is armed and offboarded?
  2. Make sure the RC's set is right
  3. In PX4CtrlFSM.cpp , you can add ROSINFO for get the FSM's state
  4. Something else possible...

@zhao6868999
Copy link
Author

  1. 检查 QGC 或 mavros/state 中的无人机状态,是否已武装和下机?
  2. 确保 RC 的集合正确
  3. PX4CtrlFSM.cpp 中,您可以添加 ROSINFO 来获取 FSM 的状态
  4. 其他可能的事情......

Hello, can you explain the third point in detail?

@XXLiu-HNU
Copy link

  1. 检查 QGC 或 mavros/state 中的无人机状态,是否已武装和下机?
  2. 确保 RC 的集合正确
  3. PX4CtrlFSM.cpp 中,您可以添加 ROSINFO 来获取 FSM 的状态
  4. 其他可能的事情......

Hello, can you explain the third point in detail?

在px4ctrl中,控制器状态机是从munual control 到 auto takeoff 其中触发条件是遥控器设置正确且档位正确,接收到起飞的话题。因为你可以看一下状态机处于什么状态,如果处于手动控制,说明是因为没有成功进入自动起飞模式,如果是在自动起飞,而没有起飞 可能是因为“自动起飞”中有bug,先试着缩小问题的范围

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants