paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Baro_ms5611


From: Árni Þorvaldsson
Subject: Re: [Paparazzi-devel] Baro_ms5611
Date: Thu, 10 Jan 2013 18:36:42 +0000

Ok thanks alot Felix
________________________________
Frá: address@hidden address@hidden fyrir hönd Felix Ruess address@hidden
Sent: 10. janúar 2013 14:22
To: Paparazzi devel list
Efni: Re: [Paparazzi-devel] Baro_ms5611

Hi again,

correction: in v4.2 you can use the baro_ms5611_i2c.xml module and define 
USE_BARO_MS5611 in order to use it for altitude estimation...
Ergo: you should update to v4.2 ;-)

Cheers, Felix


On Thu, Jan 10, 2013 at 12:10 PM, Felix Ruess 
<address@hidden<mailto:address@hidden>> wrote:
Hi Arni,

if you want the BARO_MS5611 message you can define SENSOR_SYNC_SEND and the 
module will send this message with every new measurement (mainly meant for 
meteorological logging and post-processing).
However this module is currently not set up to be used as input to the altitude 
estimation.

Regarding the version:
If you don't have that script in your paparazzi dir, your version is probably 
very old.
You can run "git describe --dirty --always --long" to get the version..
I would strongly recommend updating to one of the stable release branches which 
will get fixes as well... best v4.2

Cheers, Felix


On Thu, Jan 10, 2013 at 10:08 AM, Árni Þorvaldsson 
<address@hidden<mailto:address@hidden>> wrote:
Hi Felix and thanks for your reply,
 I don´t get any errors but the messages from the baro sensor is not displayed 
in the messages tool.

When I run ./paparazzi_version it doesn´t work
address@hidden:~/paparazzi$ ./paparazzi_version
bash: ./paparazzi_version: No such file or directory

But here is my configuration part of my airframe.

<!DOCTYPE airframe SYSTEM "airframe.dtd">


<airframe name="Funjet Tiny 2.11">

  <firmware name="fixedwing">
    <define name="AGR_CLIMB"/>
    <define name="USE_AIRSPEED"/>
    <define name="SENSOR_SYNC_SEND"/>
    <define name="LOITER_TRIM"/>
    <define name="ALT_KALMAN"/>

    <target name="sim"             board="pc"/>

    <target name="ap"             board="tiny_2.11">
    </target>

    <subsystem name="radio_control" type="ppm"/>
    <subsystem name="joystick"/>

    <!-- Communication -->
    <subsystem name="telemetry" type="transparent"/>
    <subsystem name="imu" type="ppzuav"/>


    <!-- Actuators are automatically chosen according to board-->
    <subsystem name="control"/>
    <!-- Sensors -->
    <subsystem name="ahrs" type="float_dcm"/>
    <subsystem name="gps"             type="ublox"/>

    <subsystem name="navigation"/>
    <!-- Interfaces -->
    <subsystem name="i2c"/>

  </firmware>

  <modules>
    <load name="infrared_adc.xml"/>
    <load name="humid_sht.xml"/>
    <load name="airspeed_ets.xml"/>
    <load name="temp_temod.xml"/>
    <load name="baro_ms5611_i2c.xml"/>
  </modules>

  <firmware name="setup">
    <target name="tunnel"             board="tiny_2.11"/>
    <target name="setup_actuators"     board="tiny_2.11"/>
  </firmware>

________________________________
Frá: address@hidden<mailto:address@hidden> 
address@hidden<mailto:address@hidden>] fyrir hönd Felix Ruess 
address@hidden<mailto:address@hidden>]
Sent: 9. janúar 2013 18:49
To: Paparazzi devel list
Efni: Re: [Paparazzi-devel] Baro_ms5611

Hi Arni,

could you please provide some more details? What version, post your config, 
post the actual error, etc...
And please when reporting problems always run ./paparazzi_version in your 
paparazzi dir and include that version number in the mail.

Cheers, Felix


On Wed, Jan 9, 2013 at 11:21 AM, Árni Þorvaldsson 
<address@hidden<mailto:address@hidden><mailto:address@hidden<mailto:address@hidden>>>
 wrote:
hello all
I am trying to get sensors to work through I2C port on Tiny 2.11. I already got 
the airspeed ets sensor to work properly but now I am trying to add Baro MS5611 
and I am not receiving any messages from him.

the wiring is:
VDD-5V
GND-GND
SDI/SDA-SDA
SCLK-SCL

In the airframe file I insert baro_ms5611_i2c module

 At first I got an error so in ap_downlink.h I inserted this:

#ifdef USE_BARO_MS5611_I2C
#include "baro_MS5611_i2c.h"
#define PERIODIC_SEND_BARO_MS5611_I2C(_chan) 
DOWNLINK_SEND_BARO_MS5611_I2C(_chan, &baro_MS5611_I2C_pressure, 
&baro_MS5611_I2C_temp, &baro_MS5511_I2C_z)
#else
#define PERIODIC_SEND_BARO_MS5611_I2C(_chan) {}
#endif

Is there anything I am missing. The address is not the same as the airspeed 
sensor so it should be fine.


best regards
Arni Th

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


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





reply via email to

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