paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Airspeed sensor configuration


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Airspeed sensor configuration
Date: Mon, 7 Jul 2014 23:09:57 +0200

Hi,

the modules node should not be a child of the firmware node, but rather directly of airframe.
Something like:

<airframe name="BenchTest">

  <firmware name="fixedwing">
    <target name="sim" board="pc">
      <!--define name="USE_MAGNETOMETER" value="TRUE"/-->
      <subsystem name="radio_control" type="ppm"/>
    </target>
    <target name="ap" board="lisa_m_2.0">
      <!--define name="LISA_M_LONGITUDINAL_X"/-->
      <define name="AGR_CLIMB"/>
      <define name="USE_I2C1"/>
      <!--define name="USE_AIRSPEED"/-->
      <define name="RADIO_EXPO" value="RADIO_GEAR"/>
      <subsystem name="radio_control" type="spektrum">
        <!--define name="RADIO_MODE" value="RADIO_AUX1"/-->
        <define name="RADIO_MODE" value="RADIO_GEAR"/>
        <define name="RADIO_AUTO_MODE" value="RADIO_AUX1"/>
      </subsystem>
      <subsystem name="imu" type="aspirin_v2.2"/>
      <subsystem name="ahrs" type="float_dcm"/>
      <subsystem name="telemetry" type="xbee_api">
        <configure name="MODEM_BAUD" value="B57600"/>
      </subsystem>
      <subsystem name="gps"          type="ublox">
        <configure name="GPS_BAUD"    value="B38400"/>
        <configure name="GPS_PORT"    value="UART3"/>
        <configure name="GPS_LED"     value="none"/>
      </subsystem>
      <subsystem name="control"/>
      <subsystem name="navigation"/>
      <subsystem name="ins" type="alt_float"/>
    </target>
  </firmware>

  <modules>
    <load name="gps_ubx_ucenter.xml"/>
    <load name="airspeed_ets.xml" />
    <load name="airspeed_ets.xml">
      <define name="AIRSPEED_ETS_I2C_DEV" value="i2c1"/>
      <define name="SENSOR_SYNC_SEND"/>
    </load>
  </modules>

... rest (commands, sections, etc)...
</airframe>

Also you don't need to add the ETS message to the periodic telemetry, it is sent with every measurement if SENSOR_SYNC_SEND is set.

Cheers, Felix


On Mon, Jul 7, 2014 at 1:15 PM, address@hidden <address@hidden> wrote:

Hello,

I am having trouble integrating an eagle tree airspeed sensor with my Lisa M/v 2.0 (containing aspirin 2.2 IMU). Although I am able to get readings on the sensor display itself, I am unable to receive a live airspeed indication on the GCS / MESSAGES via telemetry. The sensor has been connected to the board via the I2C1 port. All instructions/ suggestions posted on paparazzi wiki have been used and tested , but to no avail. An airframe file that I recently stumbled upon seemed to have the exact same code that I have used , just that in my case , it doesnt seem to be working . Are there any files that need to be edited?
Any help is appreciated
Please find attached herewith the Airframe file for your references.

Sent from Yahoo Mail on Android


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



reply via email to

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