Coder Social home page Coder Social logo

fa-hexarotor's Introduction

FA-Hexarotor

Code for the fully actuated Hexa-rotor

To update the original PX4 firmware from the PX4 Autopilot repository, first, you need to clone the master repository into your computer with the following command

$ git clone https://github.com/PX4/PX4-Autopilot.git

After that, one must replace the folders from this repository to the respective folders of the original PX4 firmware

  1. the folder MultirotorMixer must be replaced in PX4-Autopilot/src/lib/mixer/
  2. the folder mc_att_control must be replaced in PX4-Autopilot/src/modules/
  3. the contents files in mc_pos_control must be replaced in PX4-Autopilot/src/modules/mc_pos_control/PositionControl/
  4. the folder mc_rate_control must be replaced in PX4-Autopilot/src/modules/

Once all the files are replaced, it is necessary to build the firmware for the first time

$ DONT_RUN=1 make px4_sitl gazebo

this command will generate a new folder in

PX4-Autopilot/build/ named px4_sitl_default. In this folder, we will replace the file mixer_multirotor_normalized.generated.h in PX4-Autopilot/build/px4_sitl_default/src/lib/mixer/MultirotorMixer/; by replacing this file, we modify the mixer parámeters enabling the fully actuation mixing in the Hexa-rotor.

Finally, for simulation only, it is required to replace the last file typhoon_h480.sdf in PX4-Autopilot/Tools/sitl_gazebo/models/typhoon_h480/; this file is a modification of the Hexa-rotor model rotating the motors according to the calculated mixing matrix.

Now it is possible to run the SITL simulation by running

$ make px4_sitl gazebo_typhoon_h480

fa-hexarotor's People

Contributors

gfloresc avatar

Stargazers

Michael Chen avatar Zhang Caixia avatar  avatar  avatar FENG YIFAN avatar Jinming Zhang avatar  avatar Roberto Masocco avatar  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.