Event marking

Issue #97 resolved
Stephen Gatesy created an issue

We'd like to be able to save simple frame data for events like toe on and toe off to define stance and swing phase.

I could imagine adding additional points (right foot on/off, left foot on/off, etc.) and being able to mark frames, possibly just with integers. For footfall patterns this could be simple 0 or 1, probably represented as a square wave in the plot window when chosen. But other events might also be worth tagging once we see how this goes.

We'd also need a way to export these data so that they could be brought into Maya

Comments (7)

  1. Benjamin Knorlein

    Hi Steve,

    Just to follow up. Is it sufficient for you to mark certain frames as an event with a name, e.g. Frame 15Foot on, Frame 43 Foot off or do you want to have a state associated with the whole sequence, e.g.. Foot on : 0 0 0 0 0 1 1 1 1 1

    Hope you understand what i mean. Ben

  2. Stephen Gatesy reporter

    I know what you mean. What's the alternative to 0 0 0 1 1 1 0 0? Would it be 0 NaN NaN 1 NaN NaN 0 NaN?

    I think either could work. Go with whatever is easier.

    Is binary easier than adding more states? I'm not sure if you're thinking of having one of these for each foot, for example, or a single "channel" for all foot states.

    Thanks,

    steve

  3. Benjamin Knorlein

    Actually just having an event with frame is easier. It will just be a list of text with associated frame Number. Each Event will be drawn as a vertical line in the Plotwindow (with the text rendered if possible). You could also see all events in an extra dialog and it would be possible to mark them if you want to break the filtering at certain events, e.g. due to an impact.

    Would that work?

    Ben

  4. Stephen Gatesy reporter

    We'd like there to be something to export, so having data for each frame would fit with our normal Maya input scripts. I'd rather not have to modify input scripts if we didn't have to.

    Seeing events in XMALab is important, but not the primary goal of implementation.

  5. Log in to comment