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

Data Visualization #103

Open
mposa opened this issue Oct 2, 2019 · 3 comments
Open

Data Visualization #103

mposa opened this issue Oct 2, 2019 · 3 comments
Assignees

Comments

@mposa
Copy link
Contributor

mposa commented Oct 2, 2019

Per a group meeting discussion, we laid out a number of goals for data visualization and the outline of a path forward.

Goals

  • Save and load trajectory sets (a map from a string name to a saved trajectory object). Adding skeleton code for saving/loading trajectories #104

    • Each saved trajectory would be
      • A VectorXd of times
      • A MatrixXd of data points
      • A vector of strings, naming the rows of the data matrix
      • The string name of the trajectories (also the map key)
    • A saved trajectory set would also include meta data
      • Date/time
      • Name
      • Description
      • Git commit number (to be parsed automatically)
      • Git dirty flag (parsed automatically, true if there are uncommitted changes)
  • Visualize a saved trajectory

    • Maybe eventually visualize multiple trajectories
  • Visualize single and multiple saved states

  • Visualize kinematics

  • Trace forward kinematic paths over trajectories

  • Plot trajectories (matplotlib)

  • Plot forward kinematic trajectories

@yminchen
Copy link
Contributor

yminchen commented Apr 27, 2020

Just throwing out an idea: visualizing the planned trajectory online (e.g. COM trajectory, swing foot trajectory) like what Agility Robotics does in this video: https://youtu.be/2CYOrkwJzag

@mposa
Copy link
Contributor Author

mposa commented Aug 2, 2020

Some of this list has been addressed. I've updated the main comment accordingly. @yminchen @Jianshu-Hu @yangwill I'm guessing you're using some mechanism to visualize saved trajectories. Is this something in master that we can point to?

@yangwill
Copy link
Contributor

yangwill commented Aug 2, 2020

The feature exists in master and can be seen in run_dircon_jumping.cc and visualize_trajectory.cc in examples/Cassie/. However it requires a decent amount of boilerplate code, so I'm working on creating a specific API for saving/loading/visualizing dircon trajectories.

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

5 participants