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

Suggest: Add details about hand-launch takeoff mode in the user guide. #14954

Closed
guizilaile23 opened this issue May 21, 2020 · 7 comments
Closed

Comments

@guizilaile23
Copy link

First, The RWTO_TKOFF was set to disable.
then, after I turn the mode to takeoff, the motor will not spin, and landing was detected after 2s.

so I change the RWTO_TKOFF=1, and after I turn the mode to takeoff, the motor works.
because my FW does not have any landing gear, so I throw my FW, just like the hand-launch method, the FW works.

so, how to use hand-launch takeoff mode correctly ?

And after 4 hours searching on Google and PX4 guide, I found nothing.
I still don't know why hand-launch not work, and how to disable landing detector.
And I'm not dare to ask questions, because it's may makes me look like a fool.

In the introduction of takeoff mode ("https://docs.px4.io/master/en/flight_modes/takeoff.html")
nothing details information about how to use hand-launch takeoff mode exist.

hope you could give the details about how to use hand-launch takeoff mode.
i.e. step1. armed the vehicle,
step2. turn the mode to TAKEOFF ( at this time, the motor should spin.......)
step3. throw the vehicle in 5s after turned the mode.

@guizilaile23 guizilaile23 changed the title Suggest: Add details about how to using hand-launch takeoff mode in the user guide. Suggest: Add details about hand-launch takeoff mode in the user guide. May 22, 2020
@julianoes
Copy link
Contributor

FYI @hamishwillee

@hamishwillee
Copy link
Contributor

@guizilaile23 I hate looking like a fool too. But the fact is, that you don't, this is not documented.

@RomanBapst @Antiheavy Can either of you comment on how hand-launch works on PX4? I have not done it. All we have in takeoff mode docs is:

In catapult/hand launch mode the vehicle will perform a full throttle climbout (ramp up to RWTO_MAX_THR in about 2 seconds). Once the altitude error < FW_CLMBOUT_DIFF, regular navigation will proceed.

My guess is that you arm the vehicle, face into the wind (?), throw it on a 30 degree angle (?), and thta if armed the vehicle will detect the acceleration is over a certain amount and immediately kick in the throttle.

  • Is any of that close? If not, what do you do.
  • Does arming still auto-disarm on fixed-wing after 10 seconds
  • Is there a size/weight limit that is max recommended for hand launch?
  • Any other considerations, settings you particularly need for this?

Further, what about catapult launch? How does that differ, if at all. Any other considerations? Any catapults we "recommend"?

@Antiheavy
Copy link
Contributor

Antiheavy commented May 26, 2020

There are multiple ways to do an automated hand launched takeoff with PX4:

1) Use Mission Takeoff waypoint: this is what we do on our hand launched fixed wing and I think this is how most people do it. You must have a Takeoff waypoint at the start of the mission (or at least it needs to be the active waypoint when the mission starts. Arm the vehicle while in Mission mode AND the Takeoff waypoint is active. Once flight is detected (not landed) after being thrown the vehicle climbs out (using the minimum pitch parameter in the the Takeoff waypoint (terrible way to do it BTW! see note below) until it reaches < FW_CLMBOUT_DIFF (also a terrible way to do it! should be a height above launch param, not height below waypoint , but oh well...)

2) Use Takeoff flight mode: When the vehicle is armed in Takeoff flight mode, it waits to detect flight (not landing) then the vehicle will climb to it's minimum loiter altitude and then hold/loiter in place when it reaches that altitude. I haven't personally tested this in a long time so I'm not sure if it is working properly anymore. I think QGC might actually block this flight mode button for fixed wing now (maybe for good reason? see note below).
Note: I think there is still a hard-coded 10 degrees takeoff pitch for Takeoff mode which may not be appropriate for many vehicles. Also, for Mission Takeoff the pitch param in the waypoint data is used. I know there is a stale PR or three hanging around that tried to add a vehicle parameter to control takeoff pitch in all cases: FW_TKO_PITCH_MIN. The PR we rolled into our firmware was based on this: #9243 Not sure why it was never merged upstream...

3) Use Launch detection with either of the above options: we use this to start the motor before throwing. We pump/shake the aircraft forward to trigger launch detection, then when the motor has reached full throttle (1-2 seconds) we throw the aircraft using the full thrust of the propeller to assist immediate climb out. Works MUCH better than letting the throttle ramp up after the vehicle has been thrown.

@guizilaile23
Copy link
Author

guizilaile23 commented May 26, 2020

Thanks, everyone, @hamishwillee @Antiheavy @julianoes
I found the way to use hand-launch takeoff in doc of ArduPilot,(I'm still using PX4 now) and now I understand the reason why my motor not spinning. I think the procedure is basically the same. I will try it this weekend. thanks again.
by the way, the hand-launch takeoff introduction of ArduPilot is worth learning from, I think. (https://ardupilot.org/plane/docs/takeoff-landingpage.html).

@hamishwillee
Copy link
Contributor

OK discussion to continue in PX4/PX4-user_guide#744

@stale
Copy link

stale bot commented Aug 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale label Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants