paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Software in the loop simulation with .iso image


From: Louis Dugrain
Subject: Re: [Paparazzi-devel] Software in the loop simulation with .iso image
Date: Thu, 16 Jun 2005 23:49:21 +0200

Hi everyone,

It seems an error of mine during my last commitment. Actually, I've changed the
simulator so as to better simulate twinstars' navigation and now simulate
mirojets.
This need a new section in aircraft conf file with 3 parameters, weight and two
parameters to simulate roll response when servos are moved and yaw response.
Here is an example for microjet:
<section name="SIMU">
    <define name="ROLL_RESPONSE_FACTOR" value="10."/>
    <define name="YAW_RESPONSE_FACTOR" value="2."/>
    <define name="WEIGHT" value="0.45"/>
</section>

and for twinstar:
<section name="SIMU">
    <define name="ROLL_RESPONSE_FACTOR" value="4."/>
    <define name="YAW_RESPONSE_FACTOR" value="4."/>
    <define name="WEIGHT" value="1.3"/>
</section>

If you want to keep previous simulator, just use theses value:
<section name="SIMU">
    <define name="ROLL_RESPONSE_FACTOR" value="1."/>
    <define name="YAW_RESPONSE_FACTOR" value="1."/>
    <define name="WEIGHT" value="1.4"/>
</section>

Sorry for the too early commitment before securising the code.
Feel free to blame me if you have any problem,


--
Louis Dugrain

----- Original Message ----- 
From: "Staffan Kjerrström" <address@hidden>
To: <address@hidden>
Sent: Thursday, June 16, 2005 10:05 PM
Subject: [Paparazzi-devel] Software in the loop simulation with .iso image


Hello All,

I can start the "control panel" (sw/supervision/paparazzi.pl)
and launch the "cockpit" OK.
When I launch "sim" i dont get any windows but the message:

Paparazzi Cockpit, new, Knoppix
starting /sw/simulator/simsitl.out
Can't exec
"/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../../sw/simulator/simsitl.
out": No such file or directory at
/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../../sw/lib/perl/ChildrenSp
awner.pm line 40.


Please advice !

Staffan


The complete terminal printout follows below:

address@hidden cd usb/paparazzi2
address@hidden ls
AUTHORS  CVS       Makefile.gen  conf  doc  sw
COPYING  Makefile  README        data  hw   var
address@hidden sw/supervision/paparazzi.pl
$VAR1 = {
          'map' => 'braunschweig.xml',
          'ivy_bus' => '127.255.255.255:2010',
          'downlink_serial_port' => '/dev/ttyUSB0',
          'ap_serial_port' => '/dev/ttyS0',
          'flight_plan' => 'flight_plans/braunschweig.xml',
          'fbw_serial_port' => '/dev/ttyS1',
          'paparazzi_home' =>
'/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../..'
        };
Broadcasting on network 127.255.255.255 (7fffffff) on port 2010
subscribe to : ^ConfigGet (\S+) param=(\S+)
starting /sw/ground_segment/cockpit/cockpit.pl
$VAR1 = {
          'ivy_bus' => '127.255.255.255:2010',
          'conf_dir' =>
'/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../../conf',
          'mission_file' => 'default.xml',
          'paparazzi_home' =>
'/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../..'
        };
Broadcasting on network 127.255.255.255 (7fffffff) on port 2010
GLX not available (need at least a 24 bits buffer with stencil)
subscribe to : ^.*ATTITUDE\s+ (\S+) (\S+) (\S+)
subscribe to : ^.*GPS\s+ (\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*PPRZ_MODE\s+ (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*DESIRED\s+ (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*RAD_OF_IR\s+ (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*CALIB_START\s+
subscribe to : ^.*CALIB_CONTRAST\s+ (\S+)
subscribe to : ^.*BOOT\s+ (\S+)
subscribe to : ^.*NAVIGATION\s+ (\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*WIND\s+ (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*DEBUG\s+ (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*BAT\s+ (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*CLIMB_PID\s+ (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*GPS\s+ (\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*MODEM_STATUS\s+ (\S+) (\S+) (\S+) (\S+) (\S+) (\S+)
subscribe to : ^.*DOWNLINK_STATUS\s+ (\S+) (\S+) (\S+) (\S+) (\S+) (\S+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*ATTITUDE[     ]+ ([^  ]+) ([^         ]+)
    ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*GPS[  ]+ ([^  ]+) ([^         ]+) ([^]+)
[^  ]+) ([^         ]+) ([^         ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*PPRZ_MODE[    ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*DESIRED[      ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*RAD_OF_IR[    ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*CALIB_START[  ]+
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*CALIB_CONTRAST[       ]+ ([^  ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*BOOT[         ]+ ([^  ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*NAVIGATION[   ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+) ([^         ]+) ([^         ]+) ([^         ]+)
    ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*WIND[         ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*DEBUG[        ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*BAT[  ]+ ([^  ]+) ([^         ]+) ([^]+)
[^  ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*CLIMB_PID[    ]+ ([^  ]+) ([^         ]+)
    ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*GPS[  ]+ ([^  ]+) ([^         ]+) ([^]+)
[^  ]+) ([^         ]+) ([^         ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^SRTM[   ]+([^   ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*MODEM_STATUS[         ]+ ([^  ]+) ([^]+)
[^  ]+) ([^         ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
Paparazzi Cockpit, subscribing, ^.*DOWNLINK_STATUS[      ]+ ([^  ]+) ([^]+)
[^  ]+) ([^         ]+) ([^         ]+) ([^         ]+)
in ivyStatusCbk
pre-> Paparazzi Cockpit
Paparazzi Cockpit  (%{HASH(0x895ba14)}{Paparazzi Cockpit})
Paparazzi Cockpit, new, Knoppix
starting /sw/simulator/simsitl.out
Can't exec
"/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../../sw/simulator/simsitl.
out": No such file or directory at
/ramdisk/home/knoppix/usb/paparazzi2/sw/supervision/../../sw/lib/perl/ChildrenSp
awner.pm line 40.




--------------------------------------------------------------------------------


> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]