miguelasd688 / 4-legged-robot-model Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
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!!!
I'm looking for the urdf file of the robot (including the mesh).
Is it provided? I couldn't find it
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
"""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.
I think you have missed a <robot/>
tag in the URDF
great work !!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.