Re: Using Velocity Roam with Cruise Control
« Reply #15 on: December 13, 2016, 09:13:55 pm »
Baro is always in use in Altitude Hold or Altitude Vario.

CruiseControl increases thrust for higher bank angles and at the same time, the baro increases thrust if it sees higher pressure.

Fly a long straight pass at fairly high speed.  If it dips and comes back up while flying, the baro is acting correctly and you can maybe increase CruiseControlFactor (I forget what it is called, default is 100).  If it dips and stays low as long as you are flying forward at speed that implies the baro is seeing lower pressure than it should and it thinks it is too high and so it decreases the altitude.  To fix that, you must determine why the baro is seeing lower pressure.  Maybe a Bernoulli effect or maybe a big hole in the back of the quad causing a suction.  Does it gain altitude when flying backwards?

Re: Using Velocity Roam with Cruise Control
« Reply #16 on: December 13, 2016, 09:33:27 pm »
Thx! I will do some tests tomorrow...just designed a special cover for the revo and printed it... should be better cover the baro from light and airflow...
Hardware: F450 Frame--Revolution Board--EMax 2213-935kv--BullTec 30A Opto--5000mAh 3S 30C LiPo--NEO M8N GPS+MAG--Fr Sky Taranis Plus + OPLink Mini
Addon: sj5000x + two axis gimbal + minimosd + eachine VT + easycap
Software: Black Rhino, LP2GO

Re: Using Velocity Roam with Cruise Control
« Reply #17 on: December 13, 2016, 10:37:34 pm »
So to be clear, all GPS modes and any non-GPS mode that uses CruiseControl use both CruiseControl and baro all the time.  Of course CruiseControl adds zero thrust when the sticks are centered.

Any mode that uses the baro and has either a loss or gain in altitude as long as you are traveling forward and recovers when you stop either doesn't have enough power to travel constantly at that angle, has bad altitude PIDs, or (usual case) has a baro that is getting blown on.  Higher pressure makes it thing it is lower and so it gains altitude.  Lower pressure (Bernoulli effect or big hole in back) makes it think it is higher and so it looses altitude.

Also, there are more PIDs in VtolPathFollower.  Some for altitude, some for horizontal, and one especially for VR mode horizontal.