Skip to content
forked from denkrau/ar_nav

Autonomous hovering of a Crazyflie 2.0 using ArUco markers

Notifications You must be signed in to change notification settings

raultron/ar_nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ar_nav

A ROS package offering an autonomous flight including waypoint navigation with a quadcopter using ArUco markers

Installation

Clone repository and and compile it

git clone https://github.com/denkrau/ar_nav.git
catkin_make ar_nav

This builds two nodes. The correct node for hovering is single and for waypoint navigation multi.

Dependecies (non-native)

The following packages are necessary in order to run ar_nav properly:

  • ar_nav
  • crazyflie_ros
  • tud_img_prep

Usage

If necessary, edit the marker board files in /data/ before running the node with

rosrun ar_nav single [params]

or

rosrun ar_nav multi [params]

Due to the many parameters, the recommended way is using the launch files with

roslaunch ar_nav ar_nav_prep_single.launch

or

roslaunch ar_nav ar_nav_prep_multi.launch

Interaction

Subscriber

  • marker_pose <geometry_msgs::TransformStamped> (in single <geometry_msgs::PoseStamped>)

Publisher

  • cf_pose
  • debug_pose

Services

  • next_waypoint
  • prev_waypoint

Parameter

  • marker_pose_topic std::string
  • world_frame std::string
  • cf_frame std::string
  • waypoints std::string (seperated by |)
  • method std::string (either auto or manual)

About

Autonomous hovering of a Crazyflie 2.0 using ArUco markers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.3%
  • CMake 36.7%