View Single Post
  #13   Spotlight this post!  
Unread 08-12-2014, 20:47
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: Open Source Cross Platform Driver Station; Ready for Testing

I was able to get it to compile and run successfully on Arch Linux!

Here are the commands I used:
Code:
sudo pacman -S --needed nodejs # Only necessary if Node.js is not already installed
git clone git@github.com:gixxy/DriverStation.js.git # Use https if you don't have ssh set up
cd DriverStation.js
npm install
sudo npm install -g node-gyp # Install node-gyp globally
sudo npm install -g nw-gyp
cd node_modules/nodewebkit/nodewebkit
sed -i 's/udev\.so\.0/udev.so.1/g' nw
cd ../../gamepad
./node_modules/node-pre-gyp/bin/node-pre-gyp build --runtime=node-webkit --target=0.8.6 --python=python2.7
cd ../..
./node_modules/nodewebkit/nodewebkit/nw ./
This is basically everything in gixxy's CD posts and README, put in one spot.

Everything looks like it is working, but I probably won't be able to test it on a real robot until a few days from now. If I have time, I'll try to see if I can get it to work on windows too.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists