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 @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Sunday
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23
DIY Robocars via Twitter
Oct 23
DIY Robocars via Twitter
Oct 19
DIY Robocars via Twitter
Oct 18
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13
More…