You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On these lines, we search for the data to generate the curve on the edit screen.
When the curve is world/[siam,tre], then curve_x = siam and curve_y = tre, these will not be found in _mapped_data.numeric because all the values there have their full path. So, world/siam.
So, one solution could be to save curve_x and curve_y with their full path.
Another is adding an attribute of the path to the curve_element and combining them on the fly.
I at first thought This would happen with all prefixed paths, but it seems to only happen with data loaded from CSV.
#756 Layout doesn't restore XY plots when multiple sources with prefixes are used
this bug seems related because it describes the same problem with the prefix and XY plots
The text was updated successfully, but these errors were encountered:
Thanks for contributing to PlotJuggler. You are great!
Problem description
The style of prefixed XY curves can not be edited because they are not found.
Debug steps
I've already done some digging and found the following:
PlotJuggler/plotjuggler_app/plotwidget.cpp
Lines 810 to 816 in a123c36
On these lines, we search for the data to generate the curve on the edit screen.
When the curve is
world/[siam,tre]
, thencurve_x = siam
andcurve_y = tre
, these will not be found in_mapped_data.numeric
because all the values there have their full path. So,world/siam
.So, one solution could be to save
curve_x
andcurve_y
with their full path.Another is adding an attribute of the path to the
curve_element
and combining them on the fly.I at first thought This would happen with all prefixed paths, but it seems to only happen with data loaded from CSV.
Steps to reproduce (important)
download csv_files.zip
int there are two CSV files
Edit Curves...
Can't find one or more curves
here is a video of me doing it:
https://github.com/facontidavide/PlotJuggler/assets/2423856/805bb81f-891c-412f-93ed-fddf52e18066
Related bug
#756 Layout doesn't restore XY plots when multiple sources with prefixes are used
this bug seems related because it describes the same problem with the prefix and XY plots
The text was updated successfully, but these errors were encountered: