Alex Henning (WPI)
338120c3a5
Merge "Fixed wpi_setErrnoError to print the error name"
2014-07-28 07:05:51 -07:00
Alex Henning (WPI)
a7efbe0d7a
Merge "Fixed Preferences in C++"
2014-07-28 07:04:13 -07:00
Thomas Clark (WPI)
4c78280308
Merge "Correct voltage range in javadocs for RoboRIO"
2014-07-28 06:37:02 -07:00
Joe Ross
5a3889a3aa
Correct voltage range in javadocs for RoboRIO
...
Change-Id: I6049fac62bb4f1fb15364bd26d0511d0603c0aee
2014-07-28 09:34:48 -04:00
Thomas Clark (WPI)
2fd4964b62
Merge "ADXL345_I2C: Make constructor explicit."
2014-07-28 06:26:10 -07:00
Thomas Clark (WPI)
6ae6394548
Merge "AnalogPotentiometer: Make constructors explicit."
2014-07-28 06:25:43 -07:00
Peter Johnson
310151132d
AnalogPotentiometer: Make constructors explicit.
...
The second and third arguments have default values, so it needs to
be explicit.
Change-Id: I893a45d750291f96983bef6b753d91f10c44d2ab
2014-07-28 00:01:42 -07:00
Peter Johnson
7f4e1e39ae
ADXL345_I2C: Make constructor explicit.
...
The second argument has a default value, so it needs to be explicit.
Change-Id: I5c38f8f55f9c21576835c005acd8d80fe6864140
2014-07-27 23:59:59 -07:00
Peter Johnson
eebdc3d20c
BuiltInAccelerometer: Add virtual destructor.
...
Change-Id: I38e5ca92ba6c5b395366cfd8ea35acd2a08dbdac
2014-07-27 23:52:00 -07:00
Thomas Clark
980ea96b05
Fixed Preferences in C++
...
The file name was never updated from the old path, a deadlock occured
sometimes. A "resource not found" message was also set when fopen()
returns an error, which should be an errno message because it's a C
library error.
Change-Id: Ic913a08f6f5d73219cb6625198f5a4519c039956
2014-07-25 17:03:28 -04:00
Thomas Clark
1038f98e83
Fixed wpi_setErrnoError to print the error name
...
Previously, wpi_setErrnoError and wpi_setErrnoErrorWithContext
always printed "Unknown errno" whenever a C library error
occured.
Change-Id: Ib235138eea0e83b0d7462dfd6e834e3499e3b0c5
2014-07-25 16:52:00 -04:00
thomasclark
f958b65ba6
CANJaguar can be disabled [artf2647]
...
The CANJaguar class now stores a controlEnabled flag. When disabled, it
won't verify the control mode, which involves sending enable messages.
Change-Id: I8baa48eec31de6b4d3fee2b5a074320542a1bbef
2014-07-25 12:59:47 -04:00
Brad Miller (WPI)
f4f7588cfb
Merge "A few small changes to the C++ ITs"
2014-07-25 08:54:42 -07:00
Brad Miller (WPI)
80ecff6bdb
Merge "AnalogInput::PIDGet returns an average voltage[artf2391]"
2014-07-25 08:52:16 -07:00
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
fdbe750d3d
A few small changes to the C++ ITs
...
A PDP channel number is correct now, the deploy script was changed to
kill Java programs before running and ignore useless messages,
the "Waiting for enable" message is only printed once, and the accelerometer
test is more robust.
Change-Id: I2226140d8c3e44c452e039c27f4f1cf11c952c42
2014-07-24 18:22:31 -04:00
thomasclark
c81d510ebe
CANJaguar::ChangeControlMode marks the controlmode as unverified
...
This previous caused a bug where the Jaguar would sometimes
behave as if it were in the wrong mode, even when everything was
verfied.
Change-Id: Id5b96e0f7e64066eaaa0e5be4ba53fca76ba0703
2014-07-24 13:54:01 -04:00
Alex Henning (WPI)
25e7a077c1
Merge "Implemented FRCSim artf2628, fixed bugs in non-sim Relay.java and sim PWM.cpp."
2014-07-24 08:59:51 -07:00
Colby Skeggs
dc48dc7f7b
Implemented FRCSim artf2628, fixed bugs in non-sim Relay.java and sim PWM.cpp.
...
Change-Id: Ic00fcd5026ce0570c79a65be178e45eeb94b3deb
2014-07-24 11:54:46 -04:00
Colby Skeggs
2dd45c3ea6
Fixed FRCSim artf2619, and misc reformatting.
...
Change-Id: I7133f46f88f7e2cb2451c2a6714daa8f3f368b40
2014-07-23 14:43:11 -07: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
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
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
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
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
thomasclark
9f1a9a07c9
Added a C++ built-in accelerometer class
...
Change-Id: I80cee788912277f06ac4bdda40261f160de0cbaa
2014-07-21 08:57:03 -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
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
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
thomasclark
f566c087dc
Fix a few wrong messages in CANJaguar
...
Change-Id: I8e1a8fa9b0c20a40e060a8319dbbd605173dc407
2014-07-16 10:27:17 -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
Colby Skeggs
55fde6b616
Fixed FRCSim artf2609 - double ports handled wrong.
...
Change-Id: I2dc59c8d3113f3024d237763eb4e2f94bb85ff1a
2014-07-03 12:23:29 -07:00
Colby Skeggs
5ddacb43c1
Fixed FRCSim artf2599.
...
Made the wpilibC++Sim codebase's motor control as
similar to the wpilibC++ motor control as possible.
Change-Id: I5510d952cb40c4a3def210f46a566d7102d604ee
2014-07-02 15:43:12 -07:00
Brad Miller (WPI)
65c3c0ba09
Merge "Updated the HAL, wpilibj, and wpilibc for PCM and PDP"
2014-07-02 14:04:51 -07:00
thomasclark
255a3a5b12
Updated the HAL, wpilibj, and wpilibc for PCM and PDP
...
Removed #if 0...#endif from PCM.cpp
Change-Id: I2d117c87a3fa10bddebf83706f79c2e767d22a0d
Update the HAL to the PCM/PDP changes
Change-Id: If554b650e263f174e90864f1e9ffba91daf20f7e
Update C++ to the PCM/PDP changes
Change-Id: Ia3114d4526be1dc5cc2f74fd8f7ab44f204d15f2
Updated PCM/PDP in Java
Change-Id: I8fe03afbcb1739d555e86abc0eaae1e12313d490
2014-07-02 16:49:36 -04:00
thomasclark
b97d2eb0c3
Fixed periodic voltage status message
...
Previously, the voltage was requested as a percentage and decoded as
a number of volts, which resulted in values being scaled wrong. The
correct message is requested now.
Change-Id: I5e81c7a4a2e2698f2e8a84ba747217e0e14f7676
2014-07-02 12:14:49 -04:00
Brad Miller (WPI)
ff8016c088
Merge "Fixes CounterTest for C++"
2014-07-01 13:01:10 -07:00