Leds in 2.6 and camera roll trouble

Finally made some flights with 2.5.5 after months of trouble just getting it flying acceptably.Now i have a few minor issues:1I want to put on some led strips,does any one know which an pins supplies which led function in the new 2.6 code by Robert Lefebvre?2My camera mount roll adjustment is very jerky around centre, small movements of the copter makes the camera gimbal move a long way across centre,after that it moves ok, tilting the copter the other way,also works fine until around centre, then it jerks for quite a distance, any one seen this?Thanks for all the hard work!Geir

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • +1 for the camera jerk near center.  did you find a fix?

  • Hello,

    Here is a snapshot of the LEDs related code where you can see the name of pins in both APM1 and APM2

     

    #if CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
    #define COPTER_LED_1 AN4   // Motor or Aux LED
    #define COPTER_LED_2 AN5   // Motor LED or Beeper
    #define COPTER_LED_3 AN6  // Motor or GPS LED
    #define COPTER_LED_4 AN7  // Motor LED
    #define COPTER_LED_5 AN8 // Motor LED
    #define COPTER_LED_6 AN9  // Motor LED
    #define COPTER_LED_7 AN10  // Motor LED
    #define COPTER_LED_8 AN11  // Motor LED
    #elif CONFIG_APM_HARDWARE == APM_HARDWARE_APM1
    #define COPTER_LED_1 AN8   // Motor or Aux LED
    #define COPTER_LED_2 AN9   // Motor LED
    #define COPTER_LED_3 AN10  // Motor or GPS LED
    #define COPTER_LED_4 AN11  // Motor LED
    #define COPTER_LED_5 AN12 // Motor LED
    #define COPTER_LED_6 AN13  // Motor LED
    #define COPTER_LED_7 AN14  // Motor LED
    #define COPTER_LED_8 AN15  // Motor LED

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
14 hours ago
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
14 hours ago
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
14 hours ago
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
Dec 4, 2021
DIY Robocars via Twitter
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Nov 28, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26, 2021
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23, 2021
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31, 2021
More…