[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 09:08:12 +0000 |
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 address@hidden fyrir hönd Felix Ruess 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>> 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>
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel