-
Notifications
You must be signed in to change notification settings - Fork 3
MyQUprightTab
fitze edited this page Aug 20, 2011
·
3 revisions
Upright Stability tab
- Get rid of pitch guess in lieu of choosing between the upright and "downright" configurations that solve the holonomic constraint. We had discussed making this a radio selection, perhaps with little images that show the difference between the two holonomic constraint solutions (for the "upright" case).
- Inform the user of how to manipulate the interactor There are keyboard keys that the renderwindowinteractor has bindings to; let the user know about these.
- Process eigenvalues Find intersections etc, following the model set by the Meijaard 2007 paper. Can also draw vertical or horizontal lines in the plot that correspond to these intersections.
- Save plot as image Image is currently a very low quality .PS file. The postscript file is not actually vectorized I think.
- Save data as text This currently works just fine; creates N text files, where N is the number of bikes selected for upright analysis. The user enters a filename, and the program appends the name of the bicycle to this supplied filename. Files are ASCII .TXT files.
- Multiple bikes only the bikes that have the "upright" checkbox checked in the Bicycle Library have their eigenvalues show up in the eigenvalue plot. However, the color coding can be done in a better way: currently both the red and green color values are set on a linear scale that has as many gradations as there are bikes (to accomodate any positive number of bikes). There is no fixed-size colormap currently.
- Plot does not clear When the plot is redrawn because some parameter is changed (e.g. number of velocity points, etc.) sometimes the old plot remains, and is updated incrementally as the Update plot button is pressed multiple times. I've tried a few things to fix this but have not been terribly successful.
- Eigenvalue sorting This is moreso an issue with the whipple class and related functions; the eigenvalues do not have the desired sign for the plot. Also, the points in the plot keep switching between what I've been calling "eig1" through "eig4". That is, the values in the "eig1" column are not all on the same curve in the plot. To temporarily deal with this, I've tried to selectively take abs value of "eig3", and also plot the curve as vtkChart::POINTS, rather than vtkChart::LINE.
- Deleting the last bicycle The code I added into myqwhipple to make upright stability causes an exception to be thrown when deleting the LAST BIKE; can delete non-last bikes just fine. i think it's because vtkChart is hooked up to the table that is a member of the MyQWhipple.