开发者

Rotation matrix for a bicycle

开发者 https://www.devze.com 2022-12-17 08:40 出处:网络
Assume you have a flat plane, with a bicycle resting on it.As the bicycle enters a turn, it leans into the turn with angle theta.At the same tim开发者_开发技巧e, the bike frame points in the same dire

Assume you have a flat plane, with a bicycle resting on it. As the bicycle enters a turn, it leans into the turn with angle theta. At the same tim开发者_开发技巧e, the bike frame points in the same direction as the bike velocity.

Thus, given the bike velocity vector v (assumed to be in the XZ plane) and the lean angle theta, how can you find the rotation matrix for the bike?


Use a quaternion. Axis is bike velocity and 'lean into turn' is axis angle. Then convert to rotation matrix

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号