mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Change-Id: If6082f6b92b4be5e328278ba536d5a7681082c9f (+4 squashed commit) Squashed commit: [86b4ae7] * Port I2C to roboRIO in JNI and Java. Left read method as a transaction and added readOnly. Left write as a single byte and added writeBulk. Need to go back to C++ and update to match. Change-Id: I290d84211a4b7bb942d785730c0e6929449cf69f [7d37419] * Remove HiTechnic sensors from Java. May be added back later as examples Change-Id: Ie93e23a70fd953c99c03d50d9529220f86d32e03 [e62bfbf] * I2C ported to roboRIO i2clib in HAL and C++ Change-Id: Idb0e8cee5a1e8c1a0b0733ca94b528f659352915 [1059a48] * Remove HiTechnic sensors (Lego connector) may be added back as examples later Change-Id: I84b8e1e022db2c69d487ed9ad5b3ec0e7ea57282 (+2 squashed commit) Squashed commit: [e62bfbf] * I2C ported to roboRIO i2clib in HAL and C++ Change-Id: Idb0e8cee5a1e8c1a0b0733ca94b528f659352915 [1059a48] * Remove HiTechnic sensors (Lego connector) may be added back as examples later Change-Id: I84b8e1e022db2c69d487ed9ad5b3ec0e7ea57282
92 lines
2.6 KiB
C++
92 lines
2.6 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 "Accelerometer.h"
|
|
#include "ADXL345_I2C.h"
|
|
#include "ADXL345_SPI.h"
|
|
#include "AnalogInput.h"
|
|
#include "AnalogOutput.h"
|
|
#include "AnalogPotentiometer.h"
|
|
#include "AnalogModule.h"
|
|
#include "AnalogTrigger.h"
|
|
#include "AnalogTriggerOutput.h"
|
|
#include "Buttons/AnalogIOButton.h"
|
|
#include "Buttons/DigitalIOButton.h"
|
|
#include "Buttons/InternalButton.h"
|
|
#include "Buttons/JoystickButton.h"
|
|
#include "Buttons/NetworkButton.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 "Counter.h"
|
|
#include "Dashboard.h"
|
|
#include "DigitalInput.h"
|
|
#include "DigitalModule.h"
|
|
#include "DigitalOutput.h"
|
|
#include "DigitalSource.h"
|
|
#include "DoubleSolenoid.h"
|
|
#include "DriverStation.h"
|
|
#include "DriverStationEnhancedIO.h"
|
|
#include "DriverStationLCD.h"
|
|
#include "Encoder.h"
|
|
#include "ErrorBase.h"
|
|
#include "GearTooth.h"
|
|
#include "GenericHID.h"
|
|
#include "Gyro.h"
|
|
#include "interfaces/Potentiometer.h"
|
|
#include "I2C.h"
|
|
#include "IterativeRobot.h"
|
|
#include "InterruptableSensorBase.h"
|
|
#include "Jaguar.h"
|
|
#include "Joystick.h"
|
|
#include "Kinect.h"
|
|
#include "KinectStick.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 "SimpleRobot.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"
|