Skip to content

stoneeve415/Volleyball-simulation-platform-based-on-quadrotor-UAV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Volleyball-simulation-platform-based-on-quadrotor-UAV

仿真环境搭建

1. Ros kinetic 安装

$ 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://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
$ sudo apt-get update
$ sudo apt-get install ros-kinetic-desktop-full
$ sudo rosdep init
$ rosdep update
$ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
终端输入roscore(若出现 started core service [/rosout] 则说明安装成功)
安装网址:http://wiki.ros.org/kinetic/Installation/Ubuntu

2. 创建ros工作空间

$ mkdir -p ~/catkin_ws/src
$ cd ~/catkin_ws
$ catkin_make (编译)
$ source devel/setup.bash

3.ardrone 驱动程序安装

$ cd ~/catkin_ws/src
$ git clone https://github.com/AutonomyLab/ardrone_autonomy.git -b SDK2
$ catkin_make (编译)
$ source devel/setup.bash

4. ardrone_simulator仿真环境包安装

$ cd ~/catkin_ws/src
$ git clone https://github.com/iolyp/ardrone_simulator_gazebo7
$ catkin_make (编译)
$ source devel/setup.bash

5. 启动仿真环境

$ cd ~/catkin_ws
$ source devel/setup.bash
$ roslaunch cvg_sim_gazebo ardrone_testworld.launch
注意:若3、4中出现编译错误,即不能完成编译的情况下,运行以下代码:
$ sudo apt-get install ros-kinetic-ardrone-autonomy

排球仿真竞技平台搭建

1.put the volleyball_fira/models to your folder home/.gazebo,put volleyball_fira/ardrone_volley to your workspace
2.update the related model file volleyball_fira/ardrone_volley/models(some model I just use the absolute path ,so you should update it to your own path)
3.run roslaunch ardrone_volley ardrone_volleyball.launch
4.run python Game.py to start up
5.run teamA.py to ready

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published