Giter Site home page Giter Site logo

gliehu / clever Goto Github PK

View Code? Open in Web Editor NEW

This project forked from copterexpress/clover

0.0 0.0 0.0 192.96 MB

Software, RPi image and docs for Clover drone kit

Home Page: https://clever.coex.tech

License: MIT License

CMake 6.27% C++ 48.26% Shell 10.05% Python 21.07% Ruby 0.12% Swift 2.01% HTML 1.49% CSS 1.54% JavaScript 7.59% Kotlin 1.41% C 0.19%

clever's Introduction

CLEVER

CLEVER drone

CLEVER (Russian: "Клевер", meaning "Clover") is an educational programmable drone kit consisting of an unassembled quadcopter, open source software and documentation. The kit includes Pixhawk/Pixracer autopilot running PX4 firmware, Raspberry Pi 3 as companion computer, a camera for computer vision navigation as well as additional sensors and peripheral devices.

Copter Express has implemented a large number of different autonomous drone projects using exactly the same platform: automated pizza delivery in Samara and Kazan, coffee delivery in Skolkovo Innovation Center, autonomous quadcopter with charging station for site monitoring and security, winning drones on Robocross-2016 and Robocross-2017 competitions and many others.

The main documentation is available on Gitbook.

Use it to learn how to assemble, configure, pilot and program autonomous CLEVER drone.

Raspberry Pi image

Preconfigured image for Raspberry Pi 3 with installed and configured software, ready to fly, is available in the Releases section.

Build Status

Image includes:

  • Raspbian Buster
  • ROS Melodic
  • Configured networking
  • OpenCV
  • mavros
  • Periphery drivers (pigpiod, rpi_ws281x, etc)
  • CLEVER software bundle for autonomous drone control

API description (in Russian) for autonomous flights is available on GitBook.

Manual installation

Install ROS Melodic according to the documentation, then create a Catkin workspace.

Clone this repo to directory ~/catkin_ws/src/clever:

cd ~/catkin_ws/src
git clone https://github.com/CopterExpress/clever.git clever

All the required ROS packages (including mavros and opencv) can be installed using rosdep:

cd ~/catkin_ws/
rosdep install -y --from-paths src --ignore-src

Build ROS packages (on memory constrained platforms you might be going to need to use -j1 key):

cd ~/catkin_ws
catkin_make -j1

To complete mavros install you'll need to install geographiclib datasets:

curl https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh | sudo bash

You may optionally install udev rules to provide /dev/px4fmu symlink to your PX4-based flight controller connected over USB. Copy 99-px4fmu.rules to your /lib/udev/rules.d folder:

cd ~/catkin_ws/src/clever/clever/config
sudo cp 99-px4fmu.rules /lib/udev/rules.d

Alternatively you may change the fcu_url property in mavros.launch file to point to your flight controller device.

Running

Enable systemd service roscore (if not running):

sudo systemctl enable /home/<username>/catkin_ws/src/clever/builder/assets/roscore.service
sudo systemctl start roscore

To start connection to SITL, use:

roslaunch clever sitl.launch

To start connection to the flight controller, use:

roslaunch clever clever.launch

Note that the package is configured to connect to /dev/px4fmu by default (see previous section). Install udev rules or specify path to your FCU device in mavros.launch.

Also, you can enable and start the systemd service:

sudo systemctl enable /home/<username>/catkin_ws/src/clever/deploy/clever.service
sudo systemctl start clever

License

While the Clever platform source code is available under the MIT License, note, that the documentation is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

clever's People

Contributors

okalachev avatar urpylka avatar sfalexrog avatar svetk0 avatar yuliya1404 avatar goldarte avatar alamoris avatar alekseyshlykov avatar apostololeg avatar korigod avatar kishere avatar mmkuznecov avatar timkondratiev avatar thomashamain avatar gitbook-bot avatar tenessinum avatar hany606 avatar copterspace avatar vilesovds avatar artemosokin avatar veneradal avatar garinegor avatar ohiskyy avatar tndrd avatar xsestech avatar kpetrykin avatar gasabr avatar marias2000 avatar torshin5ergey avatar stinger000 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.