Git Product home page Git Product logo

franka_motion_control's Introduction

Lower level ROS controllers for following joint commands with Franka Emika robot. This code runs on computer attached to the robot with real-time kernel.

System Requirements

[1] Ubuntu 18.04

[2] ROS Melodic

[3] libfranka v0.7

Setup

We assume libfranka has been setup using the instructions here.

ROS Package Dependencies

[1] We use franka_panda_description for URDFs. However, you can use another package using $robot_urdf parameter in our launch files.

[2] franka_gripper (part of franka_ros) is required for parallel jaw gripper support.

Building

[1] mkdir -p ~/catkin_ws/src && cd ~/catkin_ws/src

[2] git clonehttps://github.com/mohakbhardwaj/franka_motion_control.git

[3] git clone https://github.com/frankaemika/franka_ros.git

[4] git clone https://github.com/justagist/franka_panda_description.git

[5] catkin_make -DCMAKE_BUILD_TYPE=Release -DFranka_DIR:PATH=/path/to/libfranka/build

(Optional) source ~/catkin_ws/src/franka_motion_control/config/franka_setup.sh. This adds a few home configs as environment variables.

Examples

[1] Moving to Joint Configurations

roslaunch franka_motion_control move_to_joint_config.launch goal_config:="" robot_ip:="" speed_factor=""

If franka_setup.sh was sourced, we can use roslaunch franka_motion_control move_to_joint_config.launch goal_config:="${home_1}" robot_ip:="172.16.0.2" speed_factor:="0.2"

[2] Monitor Mode

Runs robot in monitor mode where it publishes robot state to a ROS topic.

roslaunch franka_motion_control monitor_mode.launch robot_ip:="" load_gripper:="" robot_urdf:=""

Example usage:

roslaunch franka_motion_control monitor_mode.launch robot_ip:="172.16.0.2" load_gripper:="true" robot_urdf:="$(rospack find franka_panda_description)/robots/panda_arm_hand.urdf.xacro"

You can see published joint states using (arm only)

rostopic echo /franka_motion_control/joint_states

The node also launches joint_state_publisher and robot_state_publisher. Use following to see published joint states for gripper and arm

rostopic echo joint_states

You can also view RobotModel by running RVIZ

[3] Gravity Compensation Mode

Runs robot in gravity compensation mode

roslaunch franka_motion_control gravity_mode.launch

Example usage same as Monitor Mode

[4] Tracking Controller

Runs a torque controller that tracks joint position, velocity and acceleration commands sent as sensor_msgs/JointState message.

roslaunch franka_motion_control command_mode.launch

Example usage same as Monitor Mode

franka_motion_control's People

Contributors

mohakbhardwaj avatar cpaxton avatar

Watchers

 avatar

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.