Back
[05:57:17] <veverak> is here quaternion expertc? :)
[05:58:13] <veverak> what's most sleek way to implement: "I have quaternion A which represent actual state, quaternion B which represents goal and time 't' which represents how long it should take to go from state A to B"
[05:58:58] <veverak> and now... I need to calculate quaternion A', which represents actual in time range (0, t)
[05:59:05] <veverak> *actual state in time range
[06:01:03] <Jak_o_Shadows> Can't you just add quaternions? Isn't that their magic? Then renormalise?
[06:01:11] <veverak> not really add
[06:01:24] <veverak> I need something like
[06:01:31] <veverak> A' = A + (B - A)*dt
[06:01:44] <Jak_o_Shadows> Does something like that not work?
[06:01:57] <veverak> I am not sure it works, that's why I am asking :)
[06:02:26] <Jak_o_Shadows> ah
[06:04:20] <veverak> P.S: want to use C++ boost quaternions for this
[06:04:38] <veverak> and quaternions for rotation ... :)
[13:15:52] <rue_shop5> blasphomy, I'm taking the cnc machine I was making that was to use DC servo drives and putting steppers on it
[13:19:15] <veverak> :D
[13:21:19] <veverak> well
[13:21:42] <veverak> my problems with interpolation for quaternions solved
[13:21:57] <veverak> I can't just make A' = A + (B - A)*dt
[13:22:01] <veverak> buuuuut
https://en.wikipedia.org/wiki/Slerp this
[13:22:03] <veverak> :)