Giter VIP home page Giter VIP logo

freefloating_gazebo_demo's Introduction

freefloating_gazebo_demo

This package contains two examples of underwater robot using the freefloating_gazebo plugin.

The first example uses UWSim for the rendering and Gazebo for the dynamics. Waypoints are given and followed by a simple PID controller.

  1. Synchronize UWsim and Gazebo files (to do once)
    This will scan the launchfile to create urdf from xacro files to be used in UWsim
    roslaunch freefloating_gazebo_demo g500arm5e.launch parse:=true

  2. Launch the simulators
    This launches UWsim for the graphical part, and Gazebo to allow dynamic simulation.
    Gazebo is launched with the freefloating_gazebo_fluid and freefloating_gazebo_control plugins.
    A pid_control node is also launched and allows position and velocity control of the robot body and joints.

    • UWsim: roslaunch freefloating_gazebo_demo g500arm5e.launch
    • Gazebo: roslaunch freefloating_gazebo_demo g500arm5e_gazebo.launch uwsim:=false
  3. Run the demo
    This will unpause the physics (that are paused by default) and run the open-loop recovery of the black box.
    Due to open-loop behavior the recovery will not always be performed.
    rosrun freefloating_gazebo_demo freefloating_gazebo_demo

  4. Manual control
    The robot can also be controlled by hand using:
    roslaunch freefloating_gazebo_demo g500arm5e_manual.launch
    Two gui will appear, allowing to control the axes of the body and the joints of the arm.

The second example shows how to use steering thrusters and uses Gazebo only (rendering + dynamics): roslaunch freefloating_gazebo_demo steering_thrusters.launch Again, two gui will appear to control the thruste forces and two of the thruster orientation.

freefloating_gazebo_demo's People

Contributors

kalyan-kumar avatar okermorgant avatar wit00 avatar

Watchers

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