-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Plane: Document setup without GPS or airspeed sensor #6508
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an RC failsafe results in crash or fly-away
put a warning immediately after the header
What do you think about recommending CIRCLE as a failsafe action. That won't fly away, and over flat area, the vehicle will likely land just fine. |
CIRCLE is not an option...only GLIDE (FBWA no throttle) is useable with no GPS |
From the wiki: And, the code: #include "mode.h"
#include "Plane.h"
bool ModeCircle::_enter()
{
// the altitude to circle at is taken from the current altitude
plane.next_WP_loc.alt = plane.current_loc.alt;
return true;
}
void ModeCircle::update()
{
// we have no GPS installed and have lost radio contact
// or we just want to fly around in a gentle circle w/o GPS,
// holding altitude at the altitude we set when we
// switched into the mode
plane.nav_roll_cd = plane.roll_limit_cd / 3;
plane.update_load_factor();
plane.calc_nav_pitch();
plane.calc_throttle();
} The default for FS_SHORT_ACTN is FS_ACTION_SHORT_BESTGUESS, which means circle if I was in FBWA. You can't be in Auto , Guided, or Loiter if you don't have a GPS or airspeed sensor. Users can also select For FS_LONG_ACTION, we could recommend FS_ACTION_LONG_GLIDE as that is the most likely to not total the aircraft if it doesn't know where it is. |
we should sitl the non gps case with defaults for FS actions (CIRCLE/RTL) with RC failure to be definitive on warning as to what will happen |
c9dddbd
to
3f68718
Compare
yes....better |
Signed-off-by: Ryan Friedman <[email protected]>
3f68718
to
05a820e
Compare
Alright, I added that and an obvious warning about flyaway risk. Before this wiki goes in, we either need to merge this: OR, tell people to use the Set Home in the GCS. |
Document how to set up ArduPlane to fly in FBWA without GPS or airspeed sensor. Document some known limitations.
This is for a minimal plane build to just use AP as a stabilizer.