rosettadrone icon indicating copy to clipboard operation
rosettadrone copied to clipboard

Where to find the list of MAVLINK msgs supported and publishing frequency

Open frontw opened this issue 3 years ago • 4 comments

Hi!

I just found this interesting project and trying to understand the possibility of its usage for drone control to fly along a given trajectory with ROS from PC.

Where could I get the list of data I could obtain? Could I get the position, orientation, linear and angular velocity? What is the frequency of this data? Could it be 50 Hz or something like this? How I could control the drone?

Thanks a lot!

frontw avatar Aug 23 '21 13:08 frontw

Looks like I could find whar rosettadrone receives and sends in app/src/main/java/sq/rogue/rosettadrone/MAVLinkReceiver.java and app/src/main/java/sq/rogue/rosettadrone/DroneModel.java Am I right that maximum frequency is 10Hz? (according to void tick() { // Called ever 100ms...)?

frontw avatar Aug 23 '21 13:08 frontw

Yes, can be changed if you need faster updates, but it is a CPU tradeoff.

On 23 Aug 2021, at 15:58, Roman Fedorenko @.***> wrote:

Looks like I could find whar rosettadrone receives and sends in app/src/main/java/sq/rogue/rosettadrone/MAVLinkReceiver.java and app/src/main/java/sq/rogue/rosettadrone/DroneModel.java Am I right that maximum frequency is 10Hz? (according to void tick() { // Called ever 100ms...)?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/The1only/rosettadrone/issues/91#issuecomment-903796771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABS7SLA3667T3FXACSBDYB3T6JHYTANCNFSM5CUS62YQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

The1only avatar Aug 23 '21 14:08 The1only

Thanks for answering! According to your practice, does Mobile SDK itself let to get new data at a frequency around 50 Hz?

frontw avatar Aug 23 '21 14:08 frontw

I did not try but it can be set. However I fly using computer vision AI in a PC on the ground and Dronekit as a controller all the time, and 10Hz is no problem, remember the drone is actually flying, all you need to to correct it’s heading/altitude/direction etc. Unless you whant to fly very fast, then 50Hz make sense.

The1only avatar Aug 23 '21 14:08 The1only

Check the code. Search for "MAV_"

kripper avatar Feb 17 '23 22:02 kripper