View Single Post
  #4   Spotlight this post!  
Unread 14-01-2017, 00:09
virtuald's Avatar
virtuald virtuald is online now
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,102
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: RoboRio + Labview: Is it possible to _also_ run python code on RoboRio?

It's just linux, there's nothing stopping you from doing both at the same time. The tricky bit would be getting the python code to launch and deploying it (this is just normal linux system administration stuff). You might be able to call it from LabVIEW too.

You probably wouldn't be able to use "Call Library Function Node" as that would require a C/C++ shared library... but, google "call python from labview" and you'll find some stuff.

At the moment, I don't have OpenCV/Python for RoboRIO compiled, but I do have numpy. I'll probably work on it either tomorrow night or Sunday night.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff

Last edited by virtuald : 14-01-2017 at 00:11.
Reply With Quote