GithubHelp home page GithubHelp logo

tubbz-alt / oslsim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from homebrew-bionics/oslsim

0.0 0.0 0.0 81.61 MB

A ROS package that provides the necessary interfaces to simulate the Open-source leg (OSL) proposed by the Neurobionics Lab at UMich

License: MIT License

CMake 5.52% Python 94.48%

oslsim's Introduction

oslsim

OSL ROS License

A ROS package that provides the necessary interfaces to simulate the Open-source leg (OSL) proposed by the Neurobionics Lab at the University of Michigan to unify the research field of prosthetic leg controls. OSL is a robust and relatively inexpensive system that can be easily manufactured, assembled, and controlled. OSL is licensed under a Creative Commons Attribution 3.0 Unported License. To know more, visit https://opensourceleg.com

Getting Started

This package requires an installation of ROS and Gazebo.

$ sudo apt-get install ros-<ros-distro>-desktop-full
$ sudo apt-get install ros-<ros-distro>-ros-control
$ sudo apt-get install ros-melodic-effort-controllers

Preferred <ros-distro>: melodic. If you are new to ROS, read more about Configuring your ROS environment.

Build the package along with Gazebo ROS motor plugins in your catkin workspace.

$ cd <catkin-workspace>/src
$ git clone https://github.com/nilseuropa/gazebo_ros_motors
$ git clone https://github.com/homebrew-bionics/oslsim.git
$ cd ../
$ catkin_make
$ source devel/setup.bash

Sensors

The Open-source Leg (OSL) model depicted in this package comprises

  • 2 Inertial Measurement Units (IMU)
  • 2 Actuators (with Rotary encoders, Motor Joint states, Current, and Voltage data)
  • a Load cell

Configuration

Actuator parameters are loaded from yaml files (osl_knee.yaml and osl_ankle.yaml). They can also be set through dynamic reconfiguration server,

$ rqt

>> Plugins >> Configuration >> Dynamic reconfigure

Topics

Load cells

osl_foot has a bumper plugin that acts as a load cell. The plugin publishes

  • Force (fx, fy, fz)
  • Torque (Tx, Ty, Tz)
  • Contact positions
  • Contact normals

A python script is included within this package that subscribes to the above sensor data and publishes the required ones to any desired ROS topic.

Run

To launch the simulation:

$ roslaunch oslsim main.launch control:=true

The oslsim_controller node contains an example PID controller that publishes joint commands to the respective motors (osl_knee and osl_ankle).

Issues and Feature requests

Please report bugs or request features here.

oslsim's People

Contributors

imsenthur avatar shankarutthandy 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.