Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative methods for visualizing joint trajectories #126

Closed
marip8 opened this issue Oct 28, 2024 · 5 comments
Closed

Alternative methods for visualizing joint trajectories #126

marip8 opened this issue Oct 28, 2024 · 5 comments

Comments

@marip8
Copy link
Contributor

marip8 commented Oct 28, 2024

When a new trajectory is received by the joint trajectory monitor, it always appends the trajectory to the visualization using the event linked below.

tesseract_gui::events::JointTrajectoryAdd event(component_info, trajectory_set);

This can be problematic for displaying the results of online planning (as in the example) because the computer will quickly run out of memory stashing all the trajectories.

We should consider adding a mechanism to the existing widget to allow a trajectory (maybe with the same namespace and identifier) to be overwritten rather than appended to the list of trajectories. Alternatively, we might also think about making a display specifically for joint trajectories that doesn't stash all trajectories

@rjoomen
Copy link
Contributor

rjoomen commented Oct 28, 2024

I agree, and overwriting when namespace and identifier match seems like the simplest and most logical solution.

@Levi-Armstrong
Copy link
Contributor

This should now be addressed but you need port changes from a PR recently merged into tesseract_ros repository.

@marip8
Copy link
Contributor Author

marip8 commented Nov 4, 2024

This should now be addressed but you need port changes from a PR recently merged into tesseract_ros repository.

Linking to the PR for reference

@marip8
Copy link
Contributor Author

marip8 commented Nov 4, 2024

On a related note, would it be difficult to visualize all individual states of the trajectory at once? That would also be a nice feature for the online demo so you could watch how all the states change as new trajectories are planned

@marip8
Copy link
Contributor Author

marip8 commented Nov 19, 2024

Closing; addressed in #131

@marip8 marip8 closed this as completed Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants