paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Problems with Simulation


From: Jorge Pantoja
Subject: Re: [Paparazzi-devel] Problems with Simulation
Date: Tue, 26 Jun 2012 16:35:16 -0400

Hi Feliz,

Thank you for your reply.

I was using my computer's IP address which is 172.21.3.91. However, I just tried using the IP you gave me 127.0.0.1 and running a simple simulation with the Microjet and FG on the same computer with no luck. I got the same error message:

Error fg: Connection refused (send())

I wonder if I am not following the steps correctly.

Also I will try to run the simulation for my aircraft using another IMU as you suggest. Nevertheless, If I would like to implement this module for the sim, how can I do it?

Best Regards,
Jorge



On Tue, Jun 26, 2012 at 3:28 PM, Felix Ruess <address@hidden> wrote:
Hi Jorge,

which IP address did you use? If you run FlightGear on the same computer just use 127.0.0.1

Regarding the error for the CHimu module: it is not implemented for the sim. I fixed the module so it will only be included for the ap target.
Until someone writes a sim implementation for it you can just add some other imu and ahrs to the sim target:
<target name="sim" board="pc">
  <subsystem name="imu" type="aspirin_v1.5"/>
  <subsystem name="ahrs" type="float_dcm"/>
</target>

Cheers, Felix

On Tue, Jun 26, 2012 at 5:45 PM, Jorge Pantoja <address@hidden> wrote:
Dear everyone,

I am having some trouble running a SITL simulation with Flight Gear. I downloaded the latest version of Flight Gear 2.6.0-1 from Getdeb and followed the instructions on the wiki to link Flight Gear to the Paparazzi Center. I added my computer's IP address to the Simulator line and ran the process with it but I am getting the following error on the Paparazzi Center:

Error fg: Connection refused (send())

Also when I run the process from the Terminal I get the following error:

Cannot connect to server socket err = No such file or directory
jack server is not running or cannot be started

I thought this could be a problem with the university's firewall so I tried to run the simulation at home and I got the same results. When I start Flight Gear by itself it runs smoothly the same as the Paparazzi Center but when I run them together the Paparazzi Center seems to freeze. I managed to run the simulations some time ago when I first started using Paparazzi on Ubuntu 11.04 (natty) so I am sure that I am following the wiki steps correctly.

Right now I am using Ubuntu 11.10 (32 Bit) on a Core i7 DELL XPS15 with 6Gb of Ram.

Also when I try to run a simulation using my airframe file I get the following error:

modules/ins/ins_chimu_spi.c:10:42: fatal error: mcu_periph/spi_slave_hs_arch.h: No such file or directory
compilation terminated.
make[1]: *** [/home/jpantoja/paparazzi/var/Piquero/sim/modules/ins/ins_chimu_spi.o] Error 1

We have successfully integrated the CHIMU, Yapa2, PPM Encoder and Ublox GPS on the hardware side, but now we are trying to run some simulations before going into actual flight.

If you can help us solving this problems it will be deeply appreciated.

Best Regards,
--
Jorge Pantoja
Autopilot Team
 


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



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




--
Jorge Pantoja
Program Manager/Liaison
Phone: +593-96160076
e-mail: address@hidden
 


reply via email to

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