Skip to content

整合uav模型与gazebo环境,开放测试demo,可使用键盘控制无人机进行遥控飞行与飞行状态数据检测等,是本项目的初步仿真环境成果展示。

License

Notifications You must be signed in to change notification settings

NEU-ROS-packages-for-DJI-M100-drone/NEU_M100_GazeboEnv_Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a UAV gazebo simulator

Conquerors M100 open source code

Information

Thanks for the work of Rotosr and CrazyS, we are happy to open this project as a tutorial for Conquerors team members.

Dependances

    1. Ubuntu18.04
    1. ROS Melodic
    1. gazebo 9

How to install

  • 1.Download the project and unzip src.zip
$ git clone https://gitee.com/NEU_Conqueror/M100_open.git
$ cd M100_open/
$ unzip src.zip
  • 2.make sure that u have installed the gazebo plugs,such as Ros_melodic version
$ rosdep install --from-paths src -i
$ sudo apt install ros-melodic-rqt-rotors ros-melodic-rotors-comm ros-melodic-mav-msgs ros-melodic-rotors-control
$ sudo apt install ros-melodic-rotors-gazebo ros-melodic-rotors-evaluation ros-melodic-rotors-joy-interface
$ sudo apt install ros-melodic-rotors-gazebo-plugins ros-melodic-mav-planning-msgs ros-melodic-rotors-description ros-melodic-rotors-hil-interface
$ rosdep update
$ catkin build
  • 3.catkin make this project
$ catkin_make             tips:pls waiting for a long time...
  • 4.Add sourcing to your .bashrc or .zshrc file
$ echo "source ~/M100_open/devel/setup.bash" >> ~/.bashrc
or if you use zsh
$ echo "source ~/M100_open/devel/setup.zsh" >> ~/.zshrc

$ source ~/.bashrc
or 
$ source ~/.zshrc

How to use

  • 5.Then u can use this command to run the code which will start an empty environment and neu_m100 will fly automaticly after a while.
$ roslaunch rotors_gazebo neu_m100_start.launch 

After this you can use keyboard to control the uav, Maybe u should use this one:

$ roslaunch rotors_gazebo neu_m100_with_keyboard.launch

Notice:

  • 1.You can use Tab to completion the command you want :)
  • 2.There is also a branch which was published in March 8 2020,which can show the detail of our M100 model :P
  • 3.This code is published in Github and Gitee

Hope you can enjoy it ~

Team mambers

yunfei and Lordon.

About

整合uav模型与gazebo环境,开放测试demo,可使用键盘控制无人机进行遥控飞行与飞行状态数据检测等,是本项目的初步仿真环境成果展示。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published