mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Add IMAQdx and its dependencies Change-Id: I6befa563e96db224db83fb90985c86eb3e8d4f3e Add a "CameraServer" class for C++ This class allows the driver station's camera viewer to interact with a C++ program. It includes both an automatic mode to send images from a webcam to the dashboard in a background thread, and an option to manually feed it IMAQ images. Change-Id: I54fdb164c00dce165859c22f435be647dc9927cc
87 lines
2.4 KiB
C++
87 lines
2.4 KiB
C++
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) FIRST 2008. All Rights Reserved. */
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
|
|
/*----------------------------------------------------------------------------*/
|
|
#pragma once
|
|
|
|
#define REAL
|
|
|
|
#include "string.h"
|
|
#include <iostream>
|
|
|
|
#include "ADXL345_I2C.h"
|
|
#include "ADXL345_SPI.h"
|
|
#include "AnalogAccelerometer.h"
|
|
#include "AnalogInput.h"
|
|
#include "AnalogOutput.h"
|
|
#include "AnalogPotentiometer.h"
|
|
#include "AnalogTrigger.h"
|
|
#include "AnalogTriggerOutput.h"
|
|
#include "BuiltInAccelerometer.h"
|
|
#include "Buttons/InternalButton.h"
|
|
#include "Buttons/JoystickButton.h"
|
|
#include "Buttons/NetworkButton.h"
|
|
#include "CameraServer.h"
|
|
#include "CANJaguar.h"
|
|
#include "Commands/Command.h"
|
|
#include "Commands/CommandGroup.h"
|
|
#include "Commands/PIDCommand.h"
|
|
#include "Commands/PIDSubsystem.h"
|
|
#include "Commands/PrintCommand.h"
|
|
#include "Commands/Scheduler.h"
|
|
#include "Commands/StartCommand.h"
|
|
#include "Commands/Subsystem.h"
|
|
#include "Commands/WaitCommand.h"
|
|
#include "Commands/WaitForChildren.h"
|
|
#include "Commands/WaitUntilCommand.h"
|
|
#include "Compressor.h"
|
|
#include "ControllerPower.h"
|
|
#include "Counter.h"
|
|
#include "DigitalInput.h"
|
|
#include "DigitalOutput.h"
|
|
#include "DigitalSource.h"
|
|
#include "DoubleSolenoid.h"
|
|
#include "DriverStation.h"
|
|
#include "Encoder.h"
|
|
#include "ErrorBase.h"
|
|
#include "GearTooth.h"
|
|
#include "GenericHID.h"
|
|
#include "Gyro.h"
|
|
#include "interfaces/Accelerometer.h"
|
|
#include "interfaces/Potentiometer.h"
|
|
#include "I2C.h"
|
|
#include "IterativeRobot.h"
|
|
#include "InterruptableSensorBase.h"
|
|
#include "Jaguar.h"
|
|
#include "Joystick.h"
|
|
#include "Notifier.h"
|
|
#include "PIDController.h"
|
|
#include "PIDOutput.h"
|
|
#include "PIDSource.h"
|
|
#include "Preferences.h"
|
|
#include "PowerDistributionPanel.h"
|
|
#include "PWM.h"
|
|
#include "Relay.h"
|
|
#include "Resource.h"
|
|
#include "RobotBase.h"
|
|
#include "RobotDrive.h"
|
|
#include "SensorBase.h"
|
|
#include "SerialPort.h"
|
|
#include "Servo.h"
|
|
#include "SampleRobot.h"
|
|
#include "SmartDashboard/SendableChooser.h"
|
|
#include "SmartDashboard/SmartDashboard.h"
|
|
#include "Solenoid.h"
|
|
#include "SpeedController.h"
|
|
#include "SPI.h"
|
|
#include "HAL/cpp/Synchronized.hpp"
|
|
#include "Talon.h"
|
|
#include "Task.h"
|
|
#include "Timer.h"
|
|
#include "Ultrasonic.h"
|
|
#include "Utility.h"
|
|
#include "Victor.h"
|
|
// XXX: #include "Vision/AxisCamera.h"
|
|
#include "WPIErrors.h"
|