To be updated
This document covers building a drone simulation envrionment which utilizes PX4. The simulation testbed consists of gazebo, PX4 firmware, and ROS melodic. It reffered to this installation guide and includes includes and integration of each software, and troubleshooting of errors in the building process. This document is tested on nvidia/cuda:10.0-devel-ubuntu18.04 docker image. You can download my image.
- Your host OS should be Ubuntu 18.04. Otherwise, this intruction will malfunction.
- You should run your container with the environment variable LC_ALL. This locale setting is for the px4 firmware compiling.
docker run [your option] -e LC_ALL=en_US.UTF-8 hslyu/drone:cuda10.0-devel-ubuntu18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
# Import packages | |
import gym | |
import math | |
import random | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
from collections import namedtuple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
def get_parser(): | |
parser = argparse.ArgumentParser(description="Extract bounding boxes using Detectron2", | |
formatter_class=argparse.ArgumentDefaultsHelpFormatter) | |
parser.add_argument( | |
"--config-file", | |
default="/home/appuser/detectron2_repo/configs/COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml", | |
metavar="FILE", | |
help="path to config file", | |
) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Overleaf jump $ | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @match https://www.overleaf.com/project/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |