GithubHelp home page GithubHelp logo

ignaciotb / smarc_utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smarc-project/smarc_utils

0.0 2.0 0.0 111 KB

Common utils that are needed for different AUVs

License: Other

CMake 43.25% Shell 1.26% Python 35.54% C++ 19.96%

smarc_utils's Introduction

smarc_utils

Common utils that are needed for different AUVs

smarc_bringup

The bringup scripts are used to start tmux sessions with ROS nodes and launch files. To install tmux, type sudo apt-get install tmux.

Running a bringup script will start a new tmux session from which you can start all the nodes necessary for that particular session, including a roscore. Everything in a tmux session is organized as tabs.

After starting, ctrl+b+n takes you to the next tab, while ctrl+b+p takes you to the previous. ctrl+b+d allows you to disconnect and tmux at attaches again. Step through all the tabs and start the nodes using ENTER. After you get to the last node, or back to the first one, everything is launched. For more information on tmux, see http://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/ .

As an alternative to tmux, the launch files under this folder can be used to launch an AUV, a Gazebo world and the control and navigation components required.

This is the only launch file that has to be modified in order to boot up a SMARC simulation.

smarc_keyboard_teleop

To use this node, you need to install the pygame player. Install it with sudo apt-get install python-pygame.

Run the node with rosrun smarc_keyboard_teleop. In the resulting window, you can press UP, DOWN,LEFT, RIGHT to steer, w to start the thruster, and s to stop it.

odom_tf_bc

This node broadcasts the tf world --> odom (see REP105 ROS), with the odom frame being instantiated in the pose where the AUV is initialized.

An example of the current, simplified tf tree can be seen below alt Text

It also publishes the ground truth pose of the AUV provided by Gazebo and referred to the odom reference frame.

If there isn't an odometry provider, it will broadcast the odom --> base_link transform based on the pose in Gazebo (set in the smarc_bringup launch files).

smarc_utils's People

Contributors

nilsbore avatar ignaciotb avatar

Watchers

James Cloos 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.