GithubHelp home page GithubHelp logo

kashishkebab9 / bubastis_quadruped_ros Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 104 KB

My Quadruped Robot, Bubastis, simulated on ROS with Jacobian Kinematics

CMake 17.99% C 5.68% C++ 8.77% Makefile 23.35% Python 39.08% Shell 5.12%

bubastis_quadruped_ros's Introduction

bubastis_quadruped_ros

About

My Quadruped Robot, Bubastis, simulated on ROS with Jacobian Kinematics.

There are two repositories for this project. This one and one named bubastis_quadruped_support. This is due to my lack of knowledge of github, oh well.

This repository contains all the code I wrote to ensure my math for the kinematics of a mammalian quadruped robot is correct. If you are interested in only looking at the math by referencing src/xbox_control/src/bubastis_backplane.py

Pre-Requisites

  1. A machine running Ubuntu. Only tested at this point on Ubuntu 16.04.06 LTS (Xenial)
  2. ROS Kinetic installed
  3. An Xbox 360 controller to interface with linux
  4. Have the Joy Node set up in your ROS Distro: http://wiki.ros.org/joy
  5. Python 2.7 needs to be installed, Python 3 will NOT work

Directions for Install

  1. If you don't have a catkin workspace you'll have to generate one:

     cd ~
     mkdir -p catkin_ws/src
    
  2. Check out the project into the src directory:

     cd ~/catkin_ws/src
     git clone https://github.com/kashishkebab9/bubastis_quadruped_ros.git
    
  3. Install the dependencies for this project:

     cd ~/catkin_ws
     rosdep install --from-paths src -i -y
    
  4. Build and source your workspace:

     cd ~/catkin_ws
     catkin_make
     source devel/setup.bash
    

These instructions have been brought to you by user ahendrix (https://answers.ros.org/question/230798/sourcing-exsisting-ros-project-running-someone-elses-project/)

Directions for Use:

  1. Open three Terminal Windows (T1, T2, T3)

  2. In T1, source the project:

             cd ~/catkin_ws/src/bubaastis_quadruped_ros
             source devel/setup.bash
    
  3. Launch the robot model in rviz:

             cd ~/catkin_ws/src/bubaastis_quadruped_ros/src
             roslaunch robot_model rviz.launch
    
  4. Connect the xbox controller and get the controller 'jsx' (it will be js1, js2, etc. for you) configured in T2 with the following:

             ls dev/input
             sudo chmod a+rw /dev/input/jsX
             rosparam set joy_node/dev "/dev/input/jsX"
             rosrun joy joy_node
    

    4a. You can run the following and start pressing buttons on the controller to make sure communcation is working between your machine and xbox:

             rostopic echo /joy
    
  5. In T3, run the following:

             cd ~/catkin_ws/src/bubaastis_quadruped_ros
             source devel/setup.bash
             cd src
             rosrun xbox_control jacobian_directional_walking_controller.py
    
  6. Now you can move the left joystick in any direction, and while holding it there, press the right back trigger, Bubastis should move in that direction!

bubastis_quadruped_ros's People

Contributors

kashishkebab9 avatar

Stargazers

 avatar  avatar Tomato1107 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.