Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <numeric>
#include <fstream>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/dnn.hpp>
#include "dataStructures.h"
@rummanwaqar
rummanwaqar / sat_applications.ipynb
Created October 17, 2019 04:53
SAT_applications.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Summary of work at GSoC - OSRF 2019

During my time at OSRF, I primarliy worked on the Virtual RobotX repository. Below is a chronological list of tasks I worked on during my time at OSRF:

  1. Updated the VRX world by adding groundstation models with tents, chairs and antennas (PR#96)
  2. One of my major project was improving the buoyancy plugin by allowing users to specify the object shape using cylinder, box and sphere primitives for each link (PR#122, PR#135). Documentation for the plugin can be found in the Wiki here
  3. Added waypoint marker visualizations to station keeping and waypoint following mission ([PR#162](https://bitbucket.org/osrf/vrx/pull-requests/162/wayp
# Summary of work at GSoC - OSRF 2019
During my time at OSRF, I primarliy worked on the [Virtual RobotX repository](https://bitbucket.org/osrf/vrx/src/default/). Below is a chronological list of tasks I worked on during my time at OSRF:
1. I started by getting acquianted with the VRX reposit
@rummanwaqar
rummanwaqar / rtl8811cu.sh
Last active August 13, 2019 15:33
Ubuntu install drivers for rtl8811cu
https://github.com/whitebatman2/rtl8821CU
For newer kernels use
https://github.com/brektrou/rtl8821CU
@rummanwaqar
rummanwaqar / slack_emails.py
Created September 18, 2018 22:48
Retrieves emails for all users in a slack channel
'''
pip install slackclient
You can generate or find your personal Slack token here: https://api.slack.com/custom-integrations/legacy-tokens
'''
import sys
from slackclient import SlackClient
if len(sys.argv) != 3:
puzzle = [[5, 3, 0, 0, 7, 0, 0, 0, 0],
[6, 0, 0, 1, 9, 5, 0, 0, 0],
[0, 9, 8, 0, 0, 0, 0, 6, 0],
[8, 0, 0, 0, 6, 0, 0, 0, 3],
[4, 0, 0, 8, 0, 3, 0, 0, 1],
[7, 0, 0, 0, 2, 0, 0, 0, 6],
[0, 6, 0, 0, 0, 0, 2, 8, 0],
[0, 0, 0, 4, 1, 9, 0, 0, 5],
[0, 0, 0, 0, 8, 0, 0, 7, 9]]
#include <ros/ros.h>
#include <sensor_msgs/Imu.h>
#include <geometry_msgs/Vector3.h>
#include <au_core/math_util.h>
#include <tf2/transform_datatypes.h>
#include <tf2/LinearMath/Matrix3x3.h>
#include <mutex>
const double EPSILON = 0.01;
### METHOD 1
# install wpa tools
sudo apt install wpasupplicant
# get essid of network
sudo iwlist scan
# create wpa configuration file
wpa_passphase ESSID > wpa.conf # type password
@rummanwaqar
rummanwaqar / clone_organization.sh
Created May 2, 2017 05:59
Clone all github repos
function git.github.clone.organization() {
if [ $# -ne 0 ]
then
mkdir $1
cd $1
curl -s https://api.github.com/orgs/$1/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
else
echo "git.github.clone.organization <organization>"
fi
}