Skip to content

Instantly share code, notes, and snippets.

Getting FRCSim working on Fedora 25

These are my notes (as best I can remember) on getting FIRST Robotics Competition FRCSim simulator working on Fedora 25 in hopes of being able to build robot code and run it on the simulator.

Current Status

Gazebo plugins and gazebo_msgs build. Can run a simulation but joystick controls are messed up.

How To

Keybase proof

I hereby claim:

  • I am msoucy on github.
  • I am msoucy (https://keybase.io/msoucy) on keybase.
  • I have a public key whose fingerprint is 33A9 6558 38DE 94B9 B85B A0DC 7996 734F B237 0F0C

To claim this, I am signing this object:

@msoucy
msoucy / gist:4146051
Created November 26, 2012 00:53
Brainf*ck to D to executable, at compile time.
import std.stdio;
// As according to the specs...
enum DATA_SIZE = 30_000;
string bnf(string input) {
string ret;
foreach(c;input) {
switch(c) {
case '.': {
@msoucy
msoucy / compose.py
Created September 3, 2012 23:06 — forked from rossdylan/compose.py
Function composition in python
from functools import partial
def compose(*a):
try:
return partial(lambda f,g,*args,**kwargs:f(g(*args, **kwargs)), a[0], compose(*a[1:]))
except:
return a[0]