Git Product home page Git Product logo

timschneider42 / franky Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pantor/frankx

18.0 18.0 5.0 2.66 MB

High-Level Motion Library for Collaborative Robots

Home Page: https://timschneider42.github.io/franky/

License: GNU Lesser General Public License v3.0

C++ 68.22% Python 10.02% Mathematica 19.20% CMake 1.27% Dockerfile 1.02% Shell 0.27%
franka franka-panda franka-panda-python franka-research-3 python3 robotics

franky's People

Contributors

0wu avatar galaxies99 avatar lukashermann avatar nily-dti avatar pantor avatar timschneider42 avatar toni-sm avatar

Stargazers

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

Watchers

 avatar

franky's Issues

Impedance control question

Hello,

We have been trying to use franky with impedance control using CartesianImpedenceMotion but haven't gotten it to work. There is no error when running the code. Below is the code we tried. Any idea what is wrong (maybe we are setting the translational_stiffness correctly)?

from franky import Affine, CartesianMotion, CartesianImpedanceMotion, Robot, ReferenceType, CartesianPoseStopMotion
import time

robot = Robot("172.16.0.2")
robot.recover_from_errors()
robot.relative_dynamics_factor = 0.2

motion = CartesianImpedanceMotion(Affine([0.103205, -0.554416, 0.399998], [0.768303, -0.637665, 0.0449731, 0.0327324]), 100, translational_stiffness=10)

robot.move(motion, asynchronous=True)
time.sleep(30)

Question about cartesian control

This is an awesome fork! Thanks for sharing it. I was wondering if you've had problems with the cartesian control. Specifically, we randomly get joint acceleration and velocity discontinuity errors when using frankx. Has that been your experience too? Do you use a realtime kernel for this?

Thanks again for the great work.

Kinematics example outdated

First of all, thank you for keeping the library alive through this fork!

I noticed that the kinematics example uses a vector() method on the Affine type:

q_new = Kinematics.inverse(x_new.vector(), q, null_space)

But when I try to run this example, I get the following error:

AttributeError: 'franky._franky.Affine' object has no attribute 'vector'

It appears that the reason for this is that the Affine type is now a type alias to Eigen and thus no longer uses the affx library where this method is defined.

Should it still be possible to run this example, am I doing something wrong?

Note that I'm using franky-panda 0.4.4 because I'm currently using a Panda instead of an FR3, but it seems to me that the situation for the latest version is the same.

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.