Giter Site home page Giter Site logo

4-legged-robot-model's People

Contributors

cyan-at avatar miguelasd688 avatar zsc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

4-legged-robot-model's Issues

Don't obviously about IK

Hi, thanks for sharing, I've read your code.
At line "FR_angles = IK.solve_R(_FRcoord , self.coxa , self.femur , self.tibia)", it means get foot_position in local coordinate. But the formula is to find angles with input which is foot_position in body frame? Can you explain it to me?
Correct me if I'm wrong. Thank you very much!!!

'IMUSetup' was not declared in this scope

When I compile arduino_com, I have an error in the setup and in the loop which are related to the IMU. In the arduino files there is gy_521_send_serial where I can find the functions IMUSetup(); and readAngles();.
Do i have to include #include <gy_521_send_serial.ino>? but that seems weird to me.
I copied the whole gy_521_send_serial.ino and pasted it in arduino_com and everything seems to work between the Raspberry pi and the arduino mega

Might be an error in kinematic_model.py

"""defines 4 vertices which rotates with the body"""
_bodytoFR0 = geo.transform(self.bodytoFR0 , orn, pos)
_bodytoFL0 = geo.transform(self.bodytoFL0 , orn, pos)
_bodytoBR0 = geo.transform(self.bodytoBR0 , orn, pos)
_bodytoBL0 = geo.transform(self.bodytoBL0 , orn, pos)

In this portion of code, a vector is being transformed from one frame to the other. However, bodytoFR0, bodytoFL0, bodytoBR0, bodytoBL0 are vectors in the initial frame and they are being multiplied as ornposvector by using the transform() function. But this multiplication is valid if the "vector" is in the rotated (new) frame and not in the initial frame. Since bodyto* vectors are all in the initial frame before rotation, we could not get the new vectors after rotation with respect to the intial frame.

Correct me if I'm wrong. Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.