Go to Post Drive yourself, ride Amtrak or Greyhound bus, or bend space-time to the point of singularity and you'll just poof into existence in Atlanta. - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 8 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:21.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi