Coder Social home page Coder Social logo

jc-cr / hector-quadrotor-noetic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafalamao/hector-quadrotor-noetic

0.0 0.0 0.0 7.34 MB

Hector Quadrotor ported to ROS Noetic with Gazebo 11

C++ 87.59% Python 2.71% C 0.38% MATLAB 1.00% CMake 8.32%

hector-quadrotor-noetic's Introduction

hector_quadrotor ported to ROS Noetic & Gazebo 11

.:: First version, please tell me the issues or help me to fix it ::.

I took part of this from The Construct's repo and YouTube chanel.

Requirements

I. You need the following packages before install hector_quadrotor_noetic.

  • unique_identifier:
    git clone https://github.com/ros-geographic-info/unique_identifier.git
  • geographic_info:
    git clone https://github.com/ros-geographic-info/geographic_info.git

II. Build.

cd ~/catkin_ws && catkin_make

III. Clone hector_quadrotor_noetic.

git clone https://github.com/RAFALAMAO/hector_quadrotor_noetic.git

IV. Repeat step II.

Usage

Run a simulation by executing the launch file in hector_quadrotor_gazebo and hector_quadrotor_demo packages (only these work at the momment, but you can try other ones):

  • Run the following for one drone inside an empty world:
    roslaunch hector_quadrotor_gazebo quadrotor_empty_world.launch
  • Run the following for one dron outdoor:
    roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch
  • Run the following for one dron outdoor without rviz interface:
    roslaunch hector_quadrotor_demo outdoor_flight_gazebo_no_rviz.launch
  • Run the following for two drones inside an empty world:
    roslaunch hector_quadrotor_demo two_drones_empty.launch

You can control it with:

  • teleop_twist_keyboard.
    git clone https://github.com/ros-teleop/teleop_twist_keyboard
    Note: check use in: https://github.com/ros-teleop/teleop_twist_keyboard
  • User interface, shared by my friend anderdefector and adapted by me. You can find the code in hector_ui/src folder inside this repo.
    • Run the following for one dron ui:
      rosrun hector_ui ui_hector_quad.py
    • If you are working with two_drones_empty.launch.
      • Run the following for leader dron ui:
        rosrun hector_ui ui_hector_quad_leader.py
      • Run the following for follower dron ui:
        rosrun hector_ui ui_hector_quad_follower.py
    • Note: Land and Take Off buttons don't work with hector_quadrotor.

Test

Here is a video testing it:

hector-quadrotor-noetic's People

Contributors

rafalamao avatar jc-cr 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.