Thomas Clark
191e9d5d6b
AnalogInput::PIDGet returns an average voltage[artf2391]
...
Previously it returned a raw value instead of a voltage.
Change-Id: Ia7f06ca24a6c79468c7be89a07c615d7015ffef9
2014-07-25 09:41:06 -04:00
thomasclark
78dac49cf6
Remove the Kinect code from C++
...
Change-Id: Ifef909a8948f1d0f881bf394b9a3ba925644306f
2014-07-23 16:55:45 -04:00
Jonathan Leitschuh (WPI)
c3d1e80a62
Merge "Fixed some bugs with CANJaguar verification in C++"
2014-07-23 12:48:17 -07:00
Jonathan Leitschuh (WPI)
01ca19f78f
Merge "Added a Jaguar brownout test in C++, cleaned up some C++ tests"
2014-07-23 12:46:27 -07:00
thomasclark
202bfb2959
Added a Jaguar brownout test in C++, cleaned up some C++ tests
...
Change-Id: I8fe26c0c3fab35bf783f6c5dfe0c16a991ec06cd
2014-07-23 15:24:39 -04:00
thomasclark
b0369342e9
Fixed some bugs with CANJaguar verification in C++
...
Change-Id: I3f17c090e26c6019523eb92eb47714464aa01baf
2014-07-23 15:22:26 -04:00
Alex Henning
26d101caf9
Restructure WPILibJ to share code.
...
wpilibJavaDevices now contains RoboRIO specific code and wpilibJava has
shared high level information. The restructuring was mostly just copy
and paste. The three big exceptions are Timer, RobotState and
HLUsageReporting. Those require some dependencies injection since that
appears to be the cleanest way to share the code.
Change-Id: Ie7011e32bc95953a87801a9905b3bfec7f8de285
2014-07-23 14:11:52 -04:00
Jonathan Leitschuh
e84e0ebab8
Updates the TestBench to use parameters to run specific test methods or test/suite classes.
...
Updates the test bench to only print "Waiting for enable" on one line with a counter.
Updates all SubSuites to extend the AbstractTestSuite class.
Also includes a small set of tests to prove the validity of the base AbstractTestSuite
Change-Id: I447ca2537a08c84ab1d69fa200cb8125b448a589
2014-07-23 10:43:42 -04:00
Jonathan Leitschuh (WPI)
0704a697ce
Merge "Updated the C++ TiltPanCameraTest"
2014-07-23 07:02:46 -07:00
Jonathan Leitschuh (WPI)
13f97bb6e3
Merge "Added an Accelerometer interface"
2014-07-23 06:57:42 -07:00
thomasclark
5eddb69aa0
Updated the C++ TiltPanCameraTest
...
The gyro sensitivity is fixed, the Accelerometer interface is
now used, and some tolerances are adjusted.
Change-Id: Iac1f3c4fbae3be923bd97692684ff72cd2f623f9
2014-07-23 09:36:27 -04:00
thomasclark
41c2b9402c
Added an Accelerometer interface
...
ADXL345_I2C, ADXL345_SPI, and BuiltInAccelerometer implement this interface.
The analog accelerometer class Accelerometer was renamed to
AnalogAccelerometer.
Change-Id: Iaae79d582a24c36c372f5fd4ea6df37be289b9c1
2014-07-22 18:04:00 -04:00
Jonathan Leitschuh (WPI)
99632e003b
Merge "Fixed the Command-Based Robot template [artf2550]"
2014-07-22 11:00:46 -07:00
thomasclark
fe12394c93
Fixed the Command-Based Robot template [artf2550]
...
Change-Id: I49361a70fd19d59fbeb9e22a8f65de875fa5a04a
2014-07-22 13:57:45 -04:00
Jonathan Leitschuh (WPI)
fbf196763f
Merge "Removed AnalogModule, DigitalModule, and Module from C++"
2014-07-22 10:53:21 -07:00
thomasclark
b5fb35c0c4
Removed AnalogModule, DigitalModule, and Module from Java
...
Change-Id: I42c58237f1e14d0ebae1c7266aecda00d51eeae1
2014-07-22 13:33:00 -04:00
Alex Henning (WPI)
48e8b2136e
Merge "Add support for downloading models hosted on FIRSTForge."
2014-07-22 09:54:23 -07:00
Alex Henning (WPI)
e962c770bb
Merge "Fixed installation of frc_gazebo_plugins and a few minor fixes."
2014-07-21 14:12:38 -07:00
Alex Henning
1b7a352cbb
Add support for downloading models hosted on FIRSTForge.
...
Change-Id: I191dc2620b5907316fbc38275d68c568656fa863
Completes: artf2620
2014-07-21 17:09:29 -04:00
thomasclark
1a77cea13a
Removed AnalogModule, DigitalModule, and Module from C++
...
The HAL calls from Analog/DigitalModule are now directly in the classes
that use them.
Change-Id: I1cf879ab2979be903d03ab8282dfe5a5e7ae9443
2014-07-21 16:32:36 -04:00
Alex Henning
afa39deec5
Fixed installation of frc_gazebo_plugins and a few minor fixes.
...
Change-Id: I1cb30acb69526455469ad890dfee8edd42958a5d
2014-07-21 14:55:43 -04:00
Jonathan Leitschuh
f27e16735f
Adds resource tracking to CANJaguar in C++
...
Change-Id: I0d562af5e9f4f50f79d61db15ff25eaf4dae00d5
2014-07-21 14:36:43 -04:00
Thomas Clark (WPI)
d8a5ced015
Merge "Fixes a bug with ErrorBase where the correct error code would not be set when using wpi_setWPIErrorWithContext()"
2014-07-21 08:23:59 -07:00
Jonathan Leitschuh
8fe606a4b1
Fixes a bug with ErrorBase where the correct error code would not be set when using wpi_setWPIErrorWithContext()
...
Change-Id: I6ed75428d31df219daf55969e9cd019bf9e0e117
2014-07-21 11:21:36 -04:00
thomasclark
6053a0cc24
Added BuiltInAccelerometer in Java and updated C++
...
Change-Id: I5a3360c51334e85da6a15fd640f9420bc3b64dca
2014-07-21 10:09:41 -04:00
Jonathan Leitschuh (WPI)
be106b3527
Merge "Added a C++ built-in accelerometer class"
2014-07-21 06:11:59 -07:00
Jonathan Leitschuh (WPI)
ebaf2ef058
Merge "Added HAL methods for using the built-in accelerometer"
2014-07-21 06:02:32 -07:00
thomasclark
9f1a9a07c9
Added a C++ built-in accelerometer class
...
Change-Id: I80cee788912277f06ac4bdda40261f160de0cbaa
2014-07-21 08:57:03 -04:00
thomasclark
ec2a455bc7
Added HAL methods for using the built-in accelerometer
...
Change-Id: I5372f5df9b29c546dab3913fcf983a7a9a5427dc
2014-07-21 08:49:51 -04:00
Jonathan Leitschuh
3d740a9a25
Adds Resource tracking to CANJaguar
...
Change-Id: Ic5da91d378d997f57c65b3bace5fcfd24485dddb
2014-07-18 15:00:59 -04:00
Thomas Clark (WPI)
1dd1e0be1e
Merge "Adds a Unit Test for the Resource object in Java. Fixes a bug in the Resource class caused by allocating a negative resource value."
2014-07-17 12:55:24 -07:00
Jonathan Leitschuh
437e3ff266
Adds a Unit Test for the Resource object in Java. Fixes a bug in the Resource class caused by allocating a negative resource value.
...
Change-Id: I3a3b368d429dc5cd00baf94ccd80a676a10cbb48
2014-07-17 15:51:01 -04:00
Jonathan Leitschuh (WPI)
f373c8708d
Merge "The camera fixture tests now include an SPI accelerometer test"
2014-07-17 12:48:32 -07:00
thomasclark
54a657a7d4
The camera fixture tests now include an SPI accelerometer test
...
Change-Id: I5dae746541d1d0e29f7d7c140a8fed8418502f45
2014-07-17 15:44:51 -04:00
Kevin O'Connor
60d8508a65
Fix artf2636 Don't consume ByteBuffer when checking class specific status
...
Change-Id: I94e46bd436cc8fd41c7550f1135287027e8be9c4
2014-07-17 15:22:53 -04:00
Kevin O'Connor
02a28c8f04
Add allocation checking for I2C MXP. Update DIO counts in Lib layer until resource checking moves down to HAL
...
Change-Id: I0abe80bcbe9cbbc81f0887a1cd1a3aa0862df5f1
2014-07-17 15:22:53 -04:00
Kevin O'Connor
b128828977
Update Digital Pin count to reflect full 16 DIO on MXP
...
Change-Id: I180dee11c2c2a7e0585f153ba4b1832bce2bd6d3
2014-07-17 15:22:52 -04:00
Kevin O'Connor
1a1a12316b
Remove JNA hack no longer being used
...
Change-Id: If85d24003524af71d47115ac0ef31ebc88b70f42
2014-07-17 15:22:51 -04:00
Thomas Clark (WPI)
d0fdb3e704
Merge "Port SPI to roboRIO. Java SPIDevice renamed to SPI and rewritten to match C++ API."
2014-07-17 12:16:14 -07:00
Jonathan Leitschuh (WPI)
5d2e20eaec
Merge "More CANJaguar integration tests"
2014-07-17 11:39:26 -07:00
Jonathan Leitschuh
fc0eb4e956
Adds/updates the documentation for the CANJaguar Classes for C++ & Java.
...
Also removes private unused methods in Java and an unused constructor.
Change-Id: I0a810a4839a5c6752872d947239dd9305141672e
2014-07-17 14:36:51 -04:00
thomasclark
968b69d37d
More CANJaguar integration tests
...
Change-Id: I92e6bb7ee0e7d43c1468650e2c69bb8f46a0154d
2014-07-16 16:45:52 -04:00
Kevin O'Connor
343c7f4f3e
Port SPI to roboRIO. Java SPIDevice renamed to SPI and rewritten to match C++ API.
...
Change-Id: I9b2c05a05cbe443331a5b6da6a6d7c7be751a5e7
2014-07-16 16:34:37 -04:00
Jonathan Leitschuh (WPI)
80c5c09f77
Merge "Encoders and counters work on the MXP"
2014-07-16 12:10:30 -07:00
thomasclark
cb9df310dc
Encoders and counters work on the MXP
...
Change-Id: Ifeb0533dde53a1ccba841b29e2b86f6f4a1bb33f
2014-07-16 15:06:08 -04:00
thomasclark
f566c087dc
Fix a few wrong messages in CANJaguar
...
Change-Id: I8e1a8fa9b0c20a40e060a8319dbbd605173dc407
2014-07-16 10:27:17 -04:00
Brad Miller (WPI)
7ca1b498e4
Merge "Added generic CAN methods to the HAL"
2014-07-11 12:09:46 -07:00
thomasclark
8bba58b9ab
Added generic CAN methods to the HAL
...
Packing, unpacking, caching, receiving, and sending CAN messages can be done
with a thin wrapper around CANSessionMux now, removing the need for duplicated
code between different CAN devices and languages.
Change-Id: If40181e479f45a443db7a1c264437f7f89ff54d9
2014-07-11 11:38:22 -04:00
Colby Skeggs
8ae64a12ea
Removed modules from the simulation infrastructure and refactored FRCPlugin.
...
Pneumatics still have CAN modules. The refactored code is now eight
plugins for sensors and actuators. There is some code reuse that should
be refactored out, but that level of abstraction will wait until we
figure out how these plugins are integrating with gazebo proper.
Change-Id: I357e695ef05af6dda83a39ba60380686bd57d11a
Closes: artf2610, artf2623
2014-07-07 13:33:34 -07:00
Alex Henning (WPI)
3b4718fc92
Merge "Fixed FRCSim artf2609 - double ports handled wrong."
2014-07-07 12:22:39 -07:00