Closed Panmani closed 5 years ago
Well you have to implement the tasks
On Sun, Nov 18, 2018 at 15:39 Ian Y. Ma notifications@github.com wrote:
After make, I ran by typing in ./kinematics. But the robot arm does not move at all. When I print out the xzx variable, it is equal to 0, 0, 0, all the time. But when I checked the robot-arm.json file, I can see the data for animation.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alecjacobson/computer-graphics-kinematics/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ACI0mTuWGWD9zGpx-5V4yOsNwYwOZ4gBks5uwcWCgaJpZM4YoINk .
Yeah, I have implemented the first five files. Not sure whether I am toggling the animation correctly.
I suggest (if you haven't) going to main.cpp and figure out how all the files are interconnected and also see the parameters that are being passed to the function call
@Panmani some of the bones do not come with any keyframes, but the others have. I guess that is what you observed ;p
Sorry, I figured it out. Thank you!
As I understand it, the key "i" is used for toggling animation. But when I printed out the size of the parameter "keyframes" in "catmull_rom_interpolation.c", it is zero. Not sure what is wrong.