Skip to content

AlboAlby00/CrazyflieControllers

Repository files navigation

CrazyflyControllers

  • Tested with Ubuntu 20.04.
  • Uses ros2 galactic

Installation

  1. Install ros2 galactic, see galactic_installation_documentation
  2. Clone this repository, inclusive recursive submodules
$ git clone git@github.com:AlboAlby00/CrazyflieControllers.git
$ git submodule update --init --recursive
  1. Install the dependencies listed in apt_dependencies
  2. Install pip requirements

Start commands for controllers

  • launch the pid attitude controller: ros2 launch crazyflie_controllers attitude_pid_controller.launch.py
  • launch the pid position controller: ros2 launch crazyflie_controllers position_pid_controller.launch.py (it launches both attitude and position controller)
  • launch just drone with still-standing proppellers: ros2 launch crazyflie_ros2_driver crazyflie_ros2_driver.launch.py

Start commands for apriltag detection in apartment

  • ros2 launch crazyflie_detectors sim_target_publisher.launch.py

Crazyflie 2.1

motor numbers and spinning orientation

m1 - clockwise

m1

Dependencies for Visual Odometry with ORBSLAM3

Usage

Build via

$ colcon build

This will create an install folder. Make sure to source the install:

$ source ./install/setup.bash

Launch via

ros2 launch <crazyflie_<package_name>> <launch_script_name>

Visualization with plotjuggler

To start plotjuggler, run

ros2 run plotjuggler plotjuggler

For explanations on how to use plotjuggler, see plotjuggler.io

Control topics with rqt

To start rqt, run

rqt

With rqt, values to topics can be published.

More documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •