Git Product home page Git Product logo

thymio_course_skeleton's Introduction

Skeleton files to bring up gazebo and the Mighty Thymio model

Add the thymio_course_skeleton package to your your_catkin_workspace:

cd <your_catkin_workspace>/src
git clone https://github.com/romarcg/thymio_course_skeleton.git
catkin build

Refer to the launch files in launch folder to:

  1. Bring up gazebo and the MyT's model. You must name your simulated MyT with the name parameter, e.g. thymio10. In addition you must indicate a world to simulate:
roslaunch thymio_course_skeleton thymio_gazebo_bringup.launch name:=thymio10 world:=empty

Examples of world definitions are stored in .world files in launch/worlds/. Two worlds are included, one empty with a large plane and another with a large plane and a wall.

If you want to modify the MyT's spawing pose, explore thymio_gazebo_bringup.launch file.

  1. Visualize a full set of topics exposed by the simulated low-level MyT controller:
roslaunch thymio_course_skeleton thymio_rviz.launch name:=thymio10

All topic names from the simulated MyT have as prefix the chosen name, e.g. /thymio10/odom

Refer to the skeleton rospy node to:

Perform basic interfacing tasks:

  • A simple controller that sets constant velocities by publishing cmd_vel messages.
  • A subscriber that receives odometry information from simulation.

basic_move.py indefinitely performs the above tasks on a simulated MyT. It requires the MyT's name to interface with the correct topics.

rosrun thymio_course_skeleton basic_move.py thymio10

thymio_course_skeleton's People

Contributors

alessandro-giusti avatar romarcg avatar

Stargazers

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