Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mayankm96/ethz_polyhack
Repository for the drone hackathon: Polyhack
https://github.com/mayankm96/ethz_polyhack
eth-zurich hackathon ros uav
Last synced: 11 days ago
JSON representation
Repository for the drone hackathon: Polyhack
- Host: GitHub
- URL: https://github.com/mayankm96/ethz_polyhack
- Owner: Mayankm96
- License: mit
- Created: 2018-10-26T11:43:56.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-28T07:21:35.000Z (about 6 years ago)
- Last Synced: 2024-11-12T14:26:39.704Z (2 months ago)
- Topics: eth-zurich, hackathon, ros, uav
- Language: C++
- Homepage: http://polyhack.ch
- Size: 385 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ethz_polyhack
Repository for the drone hackathon: Polyhack__Collaborators:__ [Mayank Mittal](https://github.com/Mayankm96), [Francesco Milano](https://github.com/francescomilano172), [Yasser Belal](https://github.com/yasserbelal)
## Trajector Generation Library
![Different Generators](img/generators.png)
## Instructions to Setup
### PX4 and Gazebo
* Follow the instructions to install PX4 and Gazebo:
```bash
cd installation_scripts
./ubuntu_sim.sh
```
* After the installation is complete, log out and log back in. Check out the latest stable release:
```bash
cd ~/src/Firmware
git checkout v1.8.0
git submodule update
```
* Check that your setup works by compiling and running SITL:
```bash
make posix_sitl_default gazebo
```### DronecodeSDK
* Create a folder and clone DronecodeSDK:
```
mkdir ~/projects
cd projects
git clone git clone https://github.com/Dronecode/DronecodeSDK.git
cd DronecodeSDK
```
* Checkout the release/branch you want to build:
```
git checkout master
```
* Update the submodules:
```
git submodule update --init --recursive
```
* Build the (debug) C++ library by calling:
```bash
make BUILD_TYPE=Release
sudo make default install # sudo required to install files to system directories!# First installation only
sudo ldconfig # update linker cache
```## Building the repository
* Follow these instructions to build
```bash
mkdir build && cd build
cmake ..
make
```
* To run the code:
```bash
./takeoff_and_land udp://:14540
```## Visualization
* Install ROS and dependecy packages for PX4
* Launch the ROS node for interfacing with PX4 in SITL
```bash
roslaunch mavros px4.launch fcu_url:="udp://:[email protected]:11345"
```
* Run rviz
```bash
rviz
```