[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Paparazzi-devel] Re: Simulation model
From: |
Felix Ruess |
Subject: |
Re: [Paparazzi-devel] Re: Simulation model |
Date: |
Fri, 16 Jul 2010 18:27:29 +0200 |
Hi Tobi,
if you want to check it out for a fixed wing:
In your airframe file add the section
<section name="SIMU">
<define name="JSBSIM_MODEL" value=""Malolo1""/>
<define name="JSBSIM_IR_ROLL_NEUTRAL" value="RadOfDeg(0.)"/>
<define name="JSBSIM_IR_PITCH_NEUTRAL" value="RadOfDeg(0.)"/>
</section>
in this case the JSBSIM model used is conf/simulator/Malolo1. To
create your own model make a new dir under conf/simulator and put your
JSBSIM model there and adapt the JSBSIM_MODEL in the SIMU section
accordingly.
And add to the makefile section of your airframe file something like:
include $(PAPARAZZI_SRC)/conf/autopilot/sitl_jsbsim.makefile
jsbsim.CFLAGS += -I/opt/jsbsim/include/JSBSim
jsbsim.LDFLAGS += -L/opt/jsbsim/lib/
jsbsim.CFLAGS += -DBOARD_CONFIG=\"tiny.h\" -DAGR_CLIMB -DLOITER_TRIM
-DALT_KALMAN
jsbsim.srcs += $(SIMDIR)/sim_ac_fw.c
Of course you might need to adapt the JSBSIM path depending on where
you installed it.
Cheers, Felix
On Fri, Jul 16, 2010 at 3:45 PM, antoine drouin <address@hidden> wrote:
> Hi Tobi
>
> Paparazzi can work with JSBSIM ( http://jsbsim.sourceforge.net/ )
> I did the booz part and Gautier did the fixed wing part
>
> ask again for details
>
> Poine
>
> On Fri, Jul 16, 2010 at 3:13 PM, <address@hidden> wrote:
>> Hi guys,
>>
>> I m still hanging with this simulation model ... although I got a little bit
>> into it I had to find out that its really really basic and all written in ml
>> (as expected) to be honest, I m not so firm with this language .
>> So let me point out my question
>> first: would it be of any interest to you to have a more complex, more
>> realistic model for the simulation?
>> second: if so, is there someone who knows if it is possible to convert
>> matlab(simulink) into ml or how to replace this part of the simulation with
>> C?
>>
>> best regards
>>
>> Tobi
>> ___________________________________________________________
>> Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
>> Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
>>
>> _______________________________________________
>> Paparazzi-devel mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>