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
The display of chart traces is unreliable. Sometimes closing and opening the chart window can get things restarted. You also need to remember to enable particular traces. And log data into the console so that it can be displayed.
One of the issues with any fix is just being mindful of not adding any delay into the control loop. It's cluttered enough already. Not sure if things can be handled better in js using other processes to monitor things and do the charting based on watching for updates somewhere else.
The text was updated successfully, but these errors were encountered:
Not sure if the chart is properly setup in the first instance. When we click to show the chart, should we create a new chart eg as Plotly.newPlot('plotlyDiv', chart_lines);? If there is no chart previously set should we new Plot it, then .react() to update it if it does exist?
Current setup is setupFunctionToggleHandler('roboSim-display-chart', setupChartView);
So maybe update to:
function clearChart() {
sim.previousChartTraces = [];
set_chartlines()
if (isEmpty($('#plotlyDiv'))) {
Plotly.newPlot('plotlyDiv', chart_lines);
} else {
Plotly.react('plotlyDiv', chart_lines);
}
Also, it's not clear that the chart lines are updated when we hit the checkboxes? How / when are lines added / removed to the chart?
The display of chart traces is unreliable. Sometimes closing and opening the chart window can get things restarted. You also need to remember to enable particular traces. And log data into the console so that it can be displayed.
One of the issues with any fix is just being mindful of not adding any delay into the control loop. It's cluttered enough already. Not sure if things can be handled better in js using other processes to monitor things and do the charting based on watching for updates somewhere else.
The text was updated successfully, but these errors were encountered: