vstadnytskyi / intel-realsense-devices

BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

L515 live example Gyro and Accelerometer #12

Open vstadnytskyi-FDA opened 2 years ago

vstadnytskyi-FDA commented 2 years ago

https://github.com/vstadnytskyi/intel-realsense-devices/blob/e3ac6832939fe92bfbe02a3d3327675485cdd350/intel_realsense_devices/examples/simple_L515_multiple_pipelines.py

The multiple pipeline example shows real-time live graph of gyroscope and accelerometer data but matplotlib needs to be cleared every time we plot new data.

vstadnytskyi-FDA commented 2 years ago

@AbdelRahmanNasser20

AbdelRahmanNasser20 commented 2 years ago

Okay I can do that.

On Fri, Jun 10, 2022 at 6:02 PM Valentyn Stadnytskyi FDA < @.***> wrote:

@AbdelRahmanNasser20 https://github.com/AbdelRahmanNasser20 you can play with this example and see how you can improve it.

— Reply to this email directly, view it on GitHub https://github.com/vstadnytskyi/intel-realsense-devices/issues/12#issuecomment-1152767014, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXA5T2XXVIS2GVAVFYT7JM3VOO3P7ANCNFSM5YO7AO7A . You are receiving this because you were mentioned.Message ID: @.***>

vstadnytskyi-FDA commented 2 years ago

There are ways to clear plots before plotting new data. You might need to use maplotlib axes instead. There are some nice tutorials only. For example, https://towardsdatascience.com/what-are-the-plt-and-ax-in-matplotlib-exactly-d2cf4bf164a9 Matplotlib is very good library for visualization and would be useful to get more experience with,

AbdelRahmanNasser20 commented 2 years ago

Thanks for the information, I will look over this over the weekend.

On Fri, Jun 10, 2022 at 7:04 PM Valentyn Stadnytskyi FDA < @.***> wrote:

There are ways to clear plots before plotting new data. You might need to use maplotlib axes instead. There are some nice tutorials only. For example, https://towardsdatascience.com/what-are-the-plt-and-ax-in-matplotlib-exactly-d2cf4bf164a9 Matplotlib is very good library for visualization and would be useful to get more experience with,

— Reply to this email directly, view it on GitHub https://github.com/vstadnytskyi/intel-realsense-devices/issues/12#issuecomment-1152790999, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXA5T2QRTAYNEDBATRBWB7LVOPCYZANCNFSM5YO7AO7A . You are receiving this because you were mentioned.Message ID: @.***>