PlotJuggler icon indicating copy to clipboard operation
PlotJuggler copied to clipboard

Plot uORB topic nearly at real time

Open avcuenes opened this issue 2 years ago • 7 comments

Thanks for contributing to PlotJuggler. You are great!

Problem description

Plotjuggler plot log data but cant plot real time uORB messages

Steps to reproduce (important)

  • Ubuntu 20.04

avcuenes avatar Jan 23 '23 20:01 avcuenes

????????????????????????

facontidavide avatar Jan 23 '23 20:01 facontidavide

I feel like you should share more information. Is this a feature you suggest implementing? Any reference to this uORB? Requirements?

facontidavide avatar Jan 23 '23 20:01 facontidavide

uORB messages are PX4 pub/sub message type. And plotjuggler can plot uORB messages after software ın the loop test as .ulg format. However, I want see uORB messages at real time not after flight.this feature will accelerate the development of autopilot algorithms.

uORB ==> https://docs.px4.io/main/en/middleware/uorb.html

avcuenes avatar Jan 24 '23 07:01 avcuenes

I can write pluggin to handle mavlink messages to reach uORB messages

avcuenes avatar Jan 24 '23 07:01 avcuenes

To have realtime plotting from px4 autopilot, you can also directly use existing bridge: the ros way: uorb => mavlink => mavros => plotjuggler https://github.com/mavlink/mavros or via dds/ros2 via micrortps https://docs.px4.io/main/en/middleware/micrortps.html uorb => micrortps => ros2 => plotjuggler

aeudes avatar Jan 25 '23 17:01 aeudes

I am not personally going to work on this, unles as commercial support, sorry. If anyone implement this plugin, I will be happy to add the link in the official README

facontidavide avatar Jan 25 '23 20:01 facontidavide

To have realtime plotting from px4 autopilot, you can also directly use existing bridge:

Hey! By the way, are you interested in writing a tutorial on how to set this up for this for the PX4 Community? It sounds like it would be very useful for a lot of developers out there!

junwoo091400 avatar Feb 16 '23 15:02 junwoo091400