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

take off without GPS #1224

Open
Amit5001 opened this issue Jun 28, 2024 · 4 comments
Open

take off without GPS #1224

Amit5001 opened this issue Jun 28, 2024 · 4 comments

Comments

@Amit5001
Copy link

Hi,
I'm trying to build autonomous drone for indoor. Currently my drone has micoair mtf-02 opticalflow and rngfnd calibrated.
when using only the controller the drone is able to maintain position.

My problems starts when i try to use dronekit- I want to take off in GUIDED_NOGPS or GUIDED.
in GUIDED (and LOITER too) I get an error- Need Position estimate so the drone don't arm.
In GUIDED_NOGPS the drone arm and start ascending but it gain inclination to one side and drift- it doesn't maintain its attitude.

  1. Is there anything I need to change in configuration of the drone so it maintain attitude in GUIDED_NOGPS?
  2. I read that the GUIDED mode problem related to the EKF need of home location. How can i set the EKF home using dronekit?

The script I used for takeoff:
image

Thanks!

@GeraltRivskiy
Copy link

HI! Have you been able to solve your problem?
I have similar task, I need to implement simple goto functions in copter, but I can test it only indoors, where it cant obtain GPS signal.
Am I understanding correct, that even positioning via velocity control needs GPS data or it could work fine with just accelerometer data?

@hamishwillee
Copy link
Contributor

These kinds of questions depend on your flight stack. I assume ArduPilot, but it might not be.

You would be best off asking on the autopilot discussion boards.

@Amit5001
Copy link
Author

HI! Have you been able to solve your problem? I have similar task, I need to implement simple goto functions in copter, but I can test it only indoors, where it cant obtain GPS signal. Am I understanding correct, that even positioning via velocity control needs GPS data or it could work fine with just accelerometer data?

@GeraltRivskiy I used optical flow. That way I could send velocity commands to the drone. without GPS or optical flow you wont be able to estimate drone data in reference to the area you're flying in.

@GeraltRivskiy
Copy link

@Amit5001 Thanks!

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

3 participants