GithubHelp home page GithubHelp logo

Comments (1)

justagist avatar justagist commented on June 12, 2024

Hi,
The code and all methods should work directly on the real robot once you run "interface.launch" of the franka_ros_interface package, but you have to be careful with parameters such as the controller gains, control loop rate, etc. These values may not be the same for sim and real. I would suggest you test your code with a simple motion first (or even zero motion) on the real robot to find a reasonable set of control parameters. Then you can improve from there. You may also find that you have to run the control loop at a higher frequency to get smooth motion.

Just as an aside, for my experiments, I run the control loop in one machine as a node that subscribes to a topic listening for the goal values. A second node publishes the trajectory points as required from another machine where all my other computations are done (I have some learning, planning etc. algorithms running on this machine). The control loop runs on the first machine alone at a high frequency ensuring that control commands to the robot are sent without additional delay.

P.S. You don't have to copy the file to the package. You can leave it anywhere (as long as you have sourced your catkin workspace) and run it as python [file_name].

Hope this helps.
-- Saif

from panda_simulator.

Related Issues (20)

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.