• Diff for "clover"
Differences between revisions 2 and 3
Revision 2 as of 2021-03-26 19:43:15
Size: 1990
Editor: deadln
Comment:
Revision 3 as of 2021-05-19 14:26:17
Size: 192
Editor: deadln
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
A bundle for autonomous navigation and drone control.

= Manual installation =

Install ROS Melodic according to the [[http://wiki.ros.org/melodic/Installation|documentation]], then [[http://wiki.ros.org/catkin/Tutorials/create_a_workspace|create a Catkin workspace]].

Clone this repo to directory ''~/catkin_ws/src/clover'' :
{{{
cd ~/catkin_ws/src
git clone https://github.com/CopterExpress/clover.git clover
}}}
All the required ROS packages (including [[http://wiki.ros.org/mavros|mavros]] and opencv) can be installed using [[http://wiki.ros.org/rosdep|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 [[http://wiki.ros.org/mavros|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/clover/clover/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 =

To start connection to the flight controller, use:
{{{
roslaunch clover clover.launch
}}}
For the simulation information see the [[https://clover.coex.tech/en/simulation.html|corresponding article]].

    Note that the package is configured to connect to /dev/px4fmu by default (see [[http://wiki.ros.org/clover#Manual_installation|previous section]]). Install udev rules or specify path to your FCU device in ''mavros.launch''.
See [[https://github.com/CopterExpress/clover/blob/master/clover/README.md|README]] for package documentation.

See README for package documentation.

Wiki: clover (last edited 2021-05-19 14:44:00 by deadln)