paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Lisa M Servo 7 - 8


From: Görkem Bam
Subject: Re: [Paparazzi-devel] Lisa M Servo 7 - 8
Date: Wed, 1 Apr 2015 15:04:08 +0300

Hi ,

you can acces the code from here :

http://pastebin.com/6C90y9kU

2015-04-01 14:58 GMT+03:00 Felix Ruess <address@hidden>:
It really makes things easier if you put the whole airframe file on pastebin or attach it...

What I meant is if you added a servo to the servos section, e.g.

<servos driver="Pwm">
  <servo name="FRONT"   no="0" min="1000" neutral="1100" max="1900"/>
  <servo name="BACK"    no="1" min="1000" neutral="1100" max="1900"/>
  <servo name="RIGHT"   no="2" min="1000" neutral="1100" max="1900"/>
  <servo name="LEFT"    no="3" min="1000" neutral="1100" max="1900"/>
  <servo name="FOO"     no="6" min="1000" neutral="1100" max="1900"/>
  <servo name="BAR"     no="7" min="1000" neutral="1100" max="1900"/>
</servos>

On Wed, Apr 1, 2015 at 1:31 PM, Görkem Bam <address@hidden> wrote:
Hi ,

i put the code below , i use quadrotor_lisa_m_2_pwm_spektrum.xml as airframe .


<airframe name="Quadrotor LisaM_2.0 pwm">

  <firmware name="rotorcraft">
    <target name="ap" board="lisa_m_2.0">
    <configure name="HAS_LUFTBOOT" value="0"/>  <!-- Yeni eklendi , bakılacak -->
         
    <subsystem name="radio_control" type="spektrum">
        <define name="RADIO_MODE" value="RADIO_AUX2"/>
        <configure name="USE_SECONDARY_SPEKTRUM_RECEIVER" value="0"/>
        <define name="RADIO_KILL_SWITCH" value="RADIO_GEAR"/>
    </subsystem>
      <!-- MPU6000 is configured to output data at 2kHz, but polled at 512Hz PERIODIC_FREQUENCY -->
    </target>


    <target name="nps" board="pc">
      <subsystem name="fdm" type="jsbsim"/>
      <subsystem name="radio_control" type="ppm"/> 
    </target>


    <configure name="LISA_M_BARO" value="BARO_MS5611_SPI" />

    <define name="NO_GPS_LOST_WITH_RC_VALID" value="TRUE"/>    
    <define name="NO_RC_THRUST_LIMIT" value="TRUE"/>       




    <subsystem name="actuators"     type="pwm">
    <define name="SERVO_HZ" value="400"/>
    <define name="USE_SERVOS_7AND8"/>
    </subsystem>

    <subsystem name="motor_mixing"/>


Thanks alot

2015-03-31 14:43 GMT+03:00 Felix Ruess <address@hidden>:
Then it should work.
Did you actually add a servo definition for the one you want to use?

Probably easiest if you point to your airframe file if you have it uploaded somewhere (github, pastebin, ...)

On Tue, Mar 31, 2015 at 12:16 PM, Görkem Bam <address@hidden> wrote:

Hello Felix

I added it to lisa_m2_pwmspectrum xml in the paparazzi 5.4 , in the subsystem actuators type pwm.

Thanks

31 Mar 2015 12:30 tarihinde "Felix Ruess" <address@hidden> yazdı:

Hi Görkem,

you added it to the firmware section?

Cheers, Felix

On Tue, Mar 31, 2015 at 10:27 AM, gork <address@hidden> wrote:
Hello ,

I am beginner in the paparazzi and trying to use servos 7 and 8 instead of
i2c. Added <define name="USE_SERVOS_7AND8> command in the airframe xml but
still get no pwm on the pins. What would you suggest me?

Thanks a lot
Görkem



--
View this message in context: http://lists.paparazziuav.org/Lisa-M-Servo-7-8-tp16925.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
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


_______________________________________________
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



_______________________________________________
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



reply via email to

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