|
From: | Jorn Anke |
Subject: | Re: [Paparazzi-devel] Airframefile for a boat |
Date: | Fri, 13 Feb 2015 23:10:15 +0100 |
I am truly grateful for both answers,
However, and as a matter of fact, it was at least 25 years since the last time I made anything useful in software programming ;-) So, unless there already exist a sample "boat/rover firmware specific main-file", for me, the simplest solution would probably be to "set all altitude gains to zero". I guess this would mean to modify the following part of the airframefile? Can you please suggest which parameters to change, and to which values? Cheers, Jorn __________________________________________________________ <section name="VERTICAL CONTROL" prefix="V_CTL_"> <define name="POWER_CTL_BAT_NOMINAL" value="11.0" unit="volt"/> <!-- outer loop --> <define name="ALTITUDE_PGAIN" value="0.075" unit="(m/s)/m"/> <define name="ALTITUDE_MAX_CLIMB" value="4." unit="m/s"/> <!-- auto throttle inner loop --> <define name="AUTO_THROTTLE_NOMINAL_CRUISE_THROTTLE" value="0.5" unit="%"/> <define name="AUTO_THROTTLE_MIN_CRUISE_THROTTLE" value="0.2" unit="%"/> <define name="AUTO_THROTTLE_MAX_CRUISE_THROTTLE" value="1.0" unit="%"/> <define name="AUTO_THROTTLE_LOITER_TRIM" value="1500" unit="pprz_t"/> <define name="AUTO_THROTTLE_DASH_TRIM" value="-1000" unit="pprz_t"/> <define name="AUTO_THROTTLE_CLIMB_THROTTLE_INCREMENT" value="0.1" unit="%/(m/s)"/> <define name="AUTO_THROTTLE_PGAIN" value="0.02" unit="%/(m/s)"/> <define name="AUTO_THROTTLE_IGAIN" value="0.03"/> <define name="AUTO_THROTTLE_PITCH_OF_VZ_PGAIN" value="0.05" unit="rad/(m/s)"/> <define name="AUTO_PITCH_PGAIN" value="0.125"/> <define name="AUTO_PITCH_IGAIN" value="0.025"/> <define name="AUTO_PITCH_MAX_PITCH" value="25" unit="deg"/> <define name="AUTO_PITCH_MIN_PITCH" value="-25" unit="deg"/> <define name="THROTTLE_SLEW" value="1.0"/> </section> <section name="HORIZONTAL CONTROL" prefix="H_CTL_"> <define name="COURSE_PGAIN" value="1.0"/> <define name="COURSE_DGAIN" value="0.4"/> <define name="ROLL_MAX_SETPOINT" value="35" unit="deg"/> <define name="PITCH_MAX_SETPOINT" value="25" unit="deg"/> <define name="PITCH_MIN_SETPOINT" value="-25" unit="deg"/> <define name="PITCH_PGAIN" value="20000."/> <define name="PITCH_DGAIN" value="1.5"/> <define name="ELEVATOR_OF_ROLL" value="2500"/> <define name="ROLL_ATTITUDE_GAIN" value="7400"/> <define name="ROLL_RATE_GAIN" value="200"/> </section> Date: Tue, 10 Feb 2015 13:23:55 +0100 From: address@hidden To: address@hidden Subject: Re: [Paparazzi-devel] Airframefile for a boat I think it might be nicer/easier to write a boat/rover firmware specific main that only calls what is really needed and write a simpler horizontal control loop for that. Some years ago I did that for my skid-steer amphibious car, worked really well (apart from the crappy motors that thing had)...On Sat, Feb 7, 2015 at 9:28 PM, Christophe De Wagter <address@hidden> wrote:
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel |
[Prev in Thread] | Current Thread | [Next in Thread] |