GSoC 2021 - Week 4
06 Jul 2021Key highlights
of this week’s work are:
-
Implement PinJoint and Joint class
- After doing hours of work and handling all the complicated corner cases, like
when
parent_axis
andchild_axis
are oppposite to each other, finally got this PR merged!! PinJoint is ready to roll.
- After doing hours of work and handling all the complicated corner cases, like
when
-
Check order of arguments in orient_axis()
- When we broke
orient()
toorient_axis
, we by chance changed the order of arguments of angle and axis, since that change had been released we handled this case by changing arugments in source code if their types is correct, i.e if correct parameters are in wrong order.
- When we broke
-
Add new features to class body
- Since Body is general class for
Particle
andRigidBody
, is synonymous to RefernceFrae and is to be used withJoints
,Body
class needed some functions from these classes for smooth functioning and less typing. I curently added the functions which I thought would be needed by the user again and again. Namely :-maascenter_vel()
,and_vel_in()
,dcm()
.
- Since Body is general class for
-
- Since Body is almost synonymous to ReferenceFrame, added the basis vector
to class
Body
, so now vector with Body’s frame can be generated from Body.
- Since Body is almost synonymous to ReferenceFrame, added the basis vector
to class
-
- I had been working on SlidingJoint for a while, this week I cleaned the code, added tests for corner cases and completed the docstring with examples.