Coder Social home page Coder Social logo

rovio_ros's Introduction

The WowWee driver based on ROS (Robot Operation System)

The package of rovio_base


encapsulated some of WowWee Rovio APIS as follow functions:

  • ManualDrive()
  • GetMCUReport()
  • GetImage()

How to use the package of rovio_base

  • Create a rovio_ws workspace for catkin
mkdir -p ~/rovio_ws/src
cd ~/rovio_ws/src
catkin_init_workspace
cd ~/rovio_ws/
catkin_make
source devel/setup.bash (To make sure the workspace is in your ROS environment variable)
  • Copy the rovio_base package to ~/rovio_ws/src/
  • Build the workspace
cd ~/rovio_ws/
catkin_make
  • run the node of rovio_base, roslaunch the Server
roslaunch rovio_base rovioServer.launch

The package of rovio_test

The Rovio WowWee would head middle and head down, and you would view the images from camera 2 seconds.

How to use the package of rovio_test

  • Copy the rovio_test package to ~/rovio_ws/src/
  • Build the workspace
cd ~/rovio_ws/
catkin_make   (if you get the error tell you "rovio_base/manDrv.h: No file or directory", Please source ~/rovio_ws/setup.bash)

The package of obstacle_avoidence

The Rovio WowWee would avoid the obstacle and keep moving.

How to use the package of obstacle_avoidence

  • Copy the obstacle_avoidence package to ~/rovio_ws/src/
  • Build the workspace
cd ~/rovio_ws/
catkin_make   (if you get the error tell you "rovio_base/manDrv.h: No file or directory", Please source ~/rovio_ws/setup.bash)

The package of rovio_keyboard

The Rovio WowWee could be controlled by keyboard.

How to use the package of obstacle_avoidence

  • Copy the rovio_keyboard package to ~/rovio_ws/src/
  • Build the workspace
cd ~/rovio_ws/
catkin_make   (if you get the error tell you "rovio_base/manDrv.h: No file or directory", Please source ~/rovio_ws/setup.bash)

How to run the package of rovio_test, obstacle_avoidence, rovio_keyboard

  • run the follow commands in three terminals respectively
roscore
roslaunch rovio_base rovioService.launch
rosrun rovio_test rovioTest
(rosrun obstacle_avoidence obstacleAvoidence)
(rosrun rovio_keyboard roviokeyboard)

References


This work would be impossible without the excellent open source projects:

Contributor



Cheers! :panda_face:

rovio_ros's People

Contributors

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