-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve code quality of 4 specific modules #47
Comments
|
|
def find_twist_frame(old_ground_contacts, new_ground_contacts): |
Move
hexapod-robot-simulator/hexapod/models.py
Line 222 in f67434e
def _find_if_might_twist(self, poses): |
To an independent function which is not a method of hexapod.models.VirtualHexapod
-
I don't thing anyone uses the lists
self.body_dimensions
andself.leg_dimensions
maybe we should delete that -
change
_store_body_dimensions()
function name to_store_attributes()
which is more meaningful
hexapod-robot-simulator/hexapod/models.py
Line 201 in f67434e
def _store_body_dimensions(self, f=0, m=0, s=0, a=0, b=0, c=0): -
hexapod.models.VirtualHexapod.update()
could definitely be more elegant
hexapod-robot-simulator/hexapod/models.py
Line 167 in f67434e
def update(self, poses):
hexapod.models
hexapod.linkage
hexapod.ik_solver.ik_solver
hexapod.ground_contact_solver
https://github.com/mithi/hexapod-robot-simulator/blob/master/hexapod/models.py
https://github.com/mithi/hexapod-robot-simulator/blob/master/hexapod/linkage.py
https://github.com/mithi/hexapod-robot-simulator/blob/master/hexapod/ground_contact_solver.py
https://github.com/mithi/hexapod-robot-simulator/blob/master/hexapod/ik_solver/ik_solver.py
The text was updated successfully, but these errors were encountered: