This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod ba { | |
#[link(name="ba")] | |
extern "Rust" { | |
#[link_name = "_ZN2ba5hello17hb8c57573de8c5a19E"] | |
pub fn hello(); | |
} | |
} | |
fn main() { | |
unsafe { ba::hello() } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use main_app::my_mod::my_callable; | |
pub extern fn plugin_main() { | |
my_callable(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.usfirst.frc.team1573.robot; | |
import edu.wpi.first.wpilibj.DoubleSolenoid; | |
import edu.wpi.first.wpilibj.DoubleSolenoid.Value; | |
import edu.wpi.first.wpilibj.RobotDrive; | |
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; | |
public class AutonomousProcedure { | |
// Autonomous variables | |
private DoubleSolenoid grip; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.usfirst.frc.team1573.robot; | |
import com.ni.vision.NIVision; | |
import com.ni.vision.NIVision.Image; | |
import edu.wpi.first.wpilibj.CameraServer; | |
/** | |
* Combines multiple cameras into a single server/stream | |
* @author David Sh. from 1573 | |
* | |
*/ |