dilevin / computer-graphics-kinematics

Computer Graphics Assignment about Kinematics
3 stars 4 forks source link

Forward Kinematics Interpolation looks different than README #3

Closed IgorStempen closed 4 years ago

IgorStempen commented 5 years ago

Hi,

My Forward kinematics for the robot-arm looks smooth but does not seem to match the example shown in the README. I was wondering if this is ok? Or do we need to match the README exactly?

arm

The arm looks a little choppy in the gif but it looks very smooth on my computer.

itsvismay commented 5 years ago

I'm not sure what key-frame data the readme animation is using for the arm. I can check with Gavin or Dave, but I think if the input data is the same, it should match the README.

IgorStempen commented 5 years ago

Could my interpolation produce an animation that looks slightly off, even if all the individual key-frames are correct?

AllenLXL commented 5 years ago

I think example of README uses linear interpolation...

bod11 commented 5 years ago

The position of the arm in the readme is an at angle and not the default position, so make sure you match it up. But I got the movement in the readme, or very close to it, with catmull-rom interpolation. You arm seems to spin a bit while it's moving at the beginning and end of the animation, mine isn't doing that. If that's any help....

IgorStempen commented 5 years ago

Did you use standard catmull-rom interpolation or some variant on it (such as centripital catmul rom)?

bod11 commented 5 years ago

I used standard catmull-rom straight from wikipedia

bod11 commented 5 years ago

Not sure if it matters if it's slightly off, hopefully the prof lets you know. Yours still looks good so idk :P.

buencons commented 5 years ago

I used centripetal catmull-rom and my robot arm looks like this: demo Would this be fine?