Telemetry MAVLink messages

DIYDrones,

I'm wondering if anyone can answer a simple question related to the MAVLink messages sent from the APM.  I am running a program that uses a XBEE via USB to monitor the messages sent from the APM. When I run this program, using an APM1, I see over 10 different messages sent from the APM.  These messages are sent from pwr on, until the APM is powered down.  Moreover, only heartbeat messages are sent until the APM is initialized.  But, once initialized, the APM sends many different messages.

The problem comes about when I try to do the same using the APM2 hardware.  The APM2 will only send out heartbeat messages (id#0) and an occasional STATUSTEXT message (id#253).  Why doesn't the APM2 send just as many messages as the APM1??  Is the APM2 waiting for a response before it starts sending all of the messages that the APM1 will send?  I'm deadlocked at this point in my program, and need to be able to use the APM2 hardware while monitoring the mavlink messages.  Does anyone know why the APM2 is not sending these messages?

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

Join diydrones

Replies are closed for this discussion.

Replies

  • Developer

    David,

        Michael O and Tridge probably know better than me but I think that the APM2 does wait for a request message from the GS saying which messages it wants...but i'm not sure.  I'm surprised there's a difference between APM1 and APM2.

  • Hello David,

    You need to have the data stream rates configured correctly. To do so, connect to Mission Planner. Go to configuration. Locate EEPROM parameters and verify that you have the following parameters configured as here:

    SR0_EXT_STAT,2

    SR0_EXTRA1,15

    SR0_EXTRA2,10

    SR0_EXTRA3,3

    SR0_PARAMS,50

    SR0_POSITION,3

    SR0_RAW_CTRL,0

    SR0_RAW_SENS,25

    SR0_RC_CHAN,3

    SR3_EXT_STAT,2

    SR3_EXTRA1,15

    SR3_EXTRA2,5

    SR3_EXTRA3,3

    SR3_POSITION,0

    SR3_RAW_CTRL,0

    SR3_RAW_SENS,25

    SR3_RC_CHAN,0

    Change accordingly and save the parameters to APM. The numbers refer to the telemetry data rate for the specific message group. The data rates in the list above are just suggestion. Hope this can help you.

    Pedro

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…
Nov 27, 2022
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, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
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, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
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, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
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, 2022
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, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
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, 2022
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, 2022
More…