Pertti

  • *
  • 18
Assisted control in Velocity Roam
« on: November 20, 2016, 01:33:53 pm »
Does VelocityRoam need also GPSAssist?

My flight mode switch settings:
-Flight mode:        VelocityRoam
-Assisted control:  None
-If Assisted control is "GPSAssist", what different does it make?
I managed to hold my drone in position hold very well, but then next day something happened and it started drifting. Also arming is impossible if Assisted control is "GPSAssist" togerther with  VelocityRoam or PositionHold .

I use internal mag and UBlox GPS. Health boxes are green.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Assisted control in Velocity Roam
« Reply #1 on: November 20, 2016, 02:07:26 pm »
Does VelocityRoam need also GPSAssist?

No,
GPSAssist make sense only for primary stabilization modes like Attitude.
Why add a GPSAssist tag to a flight mode already using GPS ?

https://librepilot.atlassian.net/wiki/display/LPDOC/Gps+assist

Be sure the Mag alarm still ok while motors are running and drawn current.


Re: Assisted control in Velocity Roam
« Reply #2 on: November 20, 2016, 02:09:10 pm »
No, GPS Assist just turns on "GPS PositionHold" if the sticks are centered.  VelocityRoam already does exactly that.

Pertti

  • *
  • 18
Re: Assisted control in Velocity Roam
« Reply #3 on: November 20, 2016, 02:48:02 pm »
Ok, GPSAssist is now clear to me, thank's for that.
But when switching to VelocityRoam the drone starts moving and must be immediately switched back to Stabilized. As if REVO had a different board levelling parameter set for roaming and stabilized modes. Board levelling calibration has no effect. Should I change board rotation parameters?

f5soh

  • *****
  • 4572
    • LibrePilot
Re: Assisted control in Velocity Roam
« Reply #4 on: November 20, 2016, 02:58:26 pm »
Board rotation or board leveling should be the same, while flying using a primary stabilized mode or gps modes.

What do you mean with "starts moving" ?
Most common issue is magnetometer disturbed with high motors currents around that causes a wrong heading measurement.
With wrong heading the position error is corrected in a wrong direction and result in a "toilet bowling", a increasing circular trajectory around the expected position.


Re: Assisted control in Velocity Roam
« Reply #5 on: November 20, 2016, 03:42:48 pm »
Do your mags stay green even when hovering?

Did you make strange adjustments to mag orientation?  Generally (at least to start with) this should always be multiples of 90 degrees.

Did you wait 15 minutes before first takeoff for GPS to download almanac?

Pertti

  • *
  • 18
Re: Assisted control in Velocity Roam
« Reply #6 on: November 20, 2016, 06:12:59 pm »
I have not measured mags when hovering, only in the house. It's winter here...maybe I try when it's warmer.
- GPS fix is ok, more than 7 satellites,it takes usually 10-15 minutes
- "starts moving" means a sudden increase in pitch when switching to VelocityRoam and the following increasing speed. Not enough control to stop the moving.

Re: Assisted control in Velocity Roam
« Reply #7 on: November 20, 2016, 08:22:49 pm »
Are you using aux mag only (Mag Usage: AuxOnly) (that works best).

What is your AuxMagSettings.BoardRotation / Attitude->Magnetometer->AuxiliaryMagnetometerOrientation
for OP GPSv9 and DJI/Naza GPS/mag it should be 0,0,0
for PixHawk and APM GPS/mag if should be 0,180,0 (or 180,0,180 which is the same thing)

Are you using INS13 (Attitude->Settings->AttitudeEstimationAlgorithm).

hwh

  • *
  • 1018
Re: Assisted control in Velocity Roam
« Reply #8 on: November 20, 2016, 09:53:12 pm »
...I use internal mag and UBlox GPS....
Unless you have a large quadcopter like a 450 or larger an internal mag is unlikely to work well.  On smaller quads it's almost impossible to avoid the magnetic field from the power wires.  That's why the external mags were created.

jtrout19

  • ****
  • 334
Re: Assisted control in Velocity Roam
« Reply #9 on: November 20, 2016, 10:23:39 pm »
@ theothercliff

I had to set my naza gps 0 , 0 , 180 to get all zeros.

Re: Assisted control in Velocity Roam
« Reply #10 on: November 20, 2016, 11:56:12 pm »
Sounds like you have it mounted with the arrow pointing backwards.  :)  In that case, the 180 yaw is fine.

It is confusing that the cable comes out the front of this GPS.

Pertti

  • *
  • 18
Re: Assisted control in Velocity Roam
« Reply #11 on: November 28, 2016, 06:19:38 pm »
I had several frames, this frame weights 34 grams and the whole drone 410 grams.  The actioncam Sjcam M20 is placed in the front because it makes the onboard mag go crazy. Also the powerwires  are drawn ast far from the fc as possible.
This configuration seems to  work properly.
« Last Edit: December 01, 2016, 09:17:49 pm by Pertti »

Re: Assisted control in Velocity Roam
« Reply #12 on: November 29, 2016, 04:03:40 am »
Are you flying in the house with a GPS mode?  I have never tried that because I assume it does not work.  I would try it outdoors to see if that helps.

I see an antenna (FPV) close to the GPS.  Switch that off.  Switch off telemetry.  Leave the camera unpowered.  Try to fly outdoors.  If that works, then you just narrow it down to what causes the problem.

Pertti

  • *
  • 18
Re: Assisted control in Velocity Roam
« Reply #13 on: November 29, 2016, 06:45:10 am »
I have not tried to fly GPS in the house yet. How to switch off telemetry? I will test it but now it is - 10 ÂșC outdoors.

Re: Assisted control in Velocity Roam
« Reply #14 on: November 29, 2016, 05:07:46 pm »
Telemetry is off by default.  If you don't have an OpLink on your GCS, you don't have telemetry.