Git Product home page Git Product logo

robocupap2018rvrl_demo's Introduction

RoboCupap2018 Rescue Simulation Virtual Robot League

You can access the scoring by the clicking here

Installation

You can install Ros(Kinetic), Gazebo 8, necessary packages by the following command using the ubuntu 16.04:

$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'   
$ sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-key 0xB01FA116   
$ sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-latest.list'   
$ wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -     
$ sudo apt-get update   
$ sudo apt-get install -y cmake g++ protobuf-compiler pavucontrol libignition-math3 libsdformat5 libignition-math3-dev libignition-msgs0-dev gazebo8-plugin-base libgazebo8 libgazebo8-dev ros-kinetic-desktop  ros-kinetic-ros-control ros-kinetic-ros-controllers ros-kinetic-image-view2 ros-kinetic-rqt ros-kinetic-rqt-common-plugins ros-kinetic-joy ros-kinetic-teleop-twist-keyboard ros-kinetic-message-to-tf ros-kinetic-tf2-geometry-msgs ros-kinetic-audio-common ros-kinetic-costmap-2d ros-kinetic-image-transport ros-kinetic-image-transport-plugins ros-kinetic-hector-mapping ros-kinetic-hector-geotiff 
$ sudo apt-get install ros-kinetic-hector-pose-estimation ros-kinetic-hector-sensors-description ros-kinetic-controller-manager ros-kinetic-gmapping ros-kinetic-move-base ros-kinetic-hector-mapping ros-kinetic-gazebo8* 

Network Setup

check the network folder and setup your computer based on the coressponding files.

Server Setup

$ cd ~/RoboCup2018RVRL_Demo  
$ ./cleanup    
$ catkin_make  

Server Setup for world_Pre_outdoor_1.launch

Launch the server

At terminal1 :  

$ cd ~/RoboCup2018RVRL_Demo  
$ . setup.bash  
$ roslaunch setup world_pre_outdoor_1.launch  

Spawn robots

At terminal2 :  

$ cd ~/RoboCup2018RVRL_Demo  
$ . setup.bash  
$ roslaunch robot_description spawn_multi_robots_pre_outdoor_1.launch  
(roslaunch quadrotor_description spawn_multi_robots.launch)  

Server Setup for world_Pre_indoor_1.launch

Launch the server

At terminal1 :  

$ cd ~/RoboCup2018RVRL_Demo  
$ . setup.bash  
$ roslaunch setup world_pre_indoor_1.launch  

Spawn robots

At terminal2 :  

$ cd ~/RoboCup2018RVRL_Demo  
$ . setup.bash  
$ roslaunch robot_description spawn_multi_robots_pre_indoor_1.launch  
(roslaunch quadrotor_description spawn_multi_robots.launch)  

Run the robot controller

At terminal3 :  

$ cd ~/RoboCup2018RVRL_Demo  
$ . setup.bash  
$ rosrun teleop_twist_keyboard teleop_twist_keyboard.py cmd_vel:=robot0/cmd_vel  
(roslaunch hector_quadrotor_teleop SELECT_YOUR_GC.launch robot:=robot0)  

For quadrotors.

At terminal3 :  

$ cd ~/RoboCup2018RVRL_Demo  
$ . setup.bash  
$ rosrun hector_quadrotor_teleop logitech_gamepad.launch robot:=robot0  
(Push button4, to start motors)  

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.