Skip to content

Instantly share code, notes, and snippets.

View cjds's full-sized avatar
🦚
{something_smart}

Carl Saldanha cjds

🦚
{something_smart}
View GitHub Profile
@cjds
cjds / main.cpp
Last active February 17, 2021 14:47
The Sensor Filter Problem
#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include <memory>
#include <chrono>
/*
* @brief Packet struct is the main struct that contains the data to send to the filter
* @warn DO NOT EDIT THIS STRUCT IT IS THE BACKBONE OF THE SYSTEM
@cjds
cjds / freight.urdf
Created December 27, 2020 23:10
freight.urdf
<robot name="fetch"> [95/1300]
<link name="base_link">
<inertial>
<origin rpy="0 0 0" xyz="-0.0036 0.0 0.0014" />
<mass value="70.1294" />
<inertia ixx="1.225" ixy="0.0099" ixz="0.0062" iyy="1.2853" iyz="-0.0034" izz="0.987" />
</inertial>
<visual>
<origin rpy="0 0 0" xyz="0 0 0" />
<geometry>
sudo add-apt-repository ppa:tigerite/bluez5
sudo apt-get update
sudo apt-get install -y bluez=5.36.0~18358~ubuntu14.04.4
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
@cjds
cjds / .vimrc
Last active June 26, 2019 04:43
My Vimrc. To Use Launch vim and run :PluginInstall
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@cjds
cjds / tmux.conf
Last active January 11, 2017 02:13
My TMUX Configuration
unbind C-a
set-option -g prefix C-z
bind-key C-z send-prefix
bind | split-window -h
bind - split-window -v
unbind '"'
unbind %
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
@cjds
cjds / LoginActivity.java
Created October 24, 2016 20:11
Android GTJourney CAS Login
package edu.gatech.t_squaremobile;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.provider.Browser;
import android.view.View;