PJ Reiniger
67de595c85
ADXRS450_Gyro: Add null check around reset ( #948 )
...
Reset() is the only function without a null check around it. We call the function on startup, which means if it is unplugged the robot crashes.
Also added an accessor for checking if it is connected, as some teams (us) would like to handle the case where it was not connected on startup.
2018-03-03 01:57:45 -08:00
Thad House
82152e90fe
Adds defaults to PWM config ( #961 )
2018-03-03 01:56:49 -08:00
Dustin Spicuzza
1e7d439899
HAL Notifier: Don't disable the notifier manager when the last handle is cleaned up ( #960 )
...
- Addresses #959 , but not a good long term solution
2018-03-03 01:56:24 -08:00
Tyler Veness
979984fa6b
Fix Travis CI wpiformat install ( #947 )
2018-02-20 23:01:57 -08:00
Thad House
57e9fb33d2
Fixes C++ SendableChooser using invalid temp variable ( #945 )
v2018.3.3
2018-02-15 23:00:46 -08:00
Thad House
f5a292dadd
Adds TriState JNI entry point ( #938 )
...
Also adds missing sim TriState DIO HAL call, and a ToDo for later
v2018.3.2
2018-02-12 16:05:10 -08:00
Sam Carlberg
77d6c11743
Invert right side motors in MecanumDrive sendable ( #933 )
...
This aligns with the current behavior of DifferentialDrive
Fixes shuffleboard#404
v2018.3.1
2018-02-09 08:30:12 -08:00
Tyler Veness
67f9c9a5b3
Fixed TimedRobot.java hanging if an exception was thrown ( #926 )
2018-02-04 22:38:19 -08:00
Thad House
f720cbb121
Switches CtreCanNode to use locking and std::chrono for time ( #909 )
2018-02-01 21:39:06 -08:00
Tyler Veness
64a7e57fe0
Added output normalization to DifferentialDrive::CurvatureDrive() ( #924 )
...
This normalizes within -1..1 to avoid clipping and maintain the ratio between
wheel speeds, since that ratio determines the center of rotation.
Fixes #923 .
2018-02-01 21:17:04 -08:00
Tyler Veness
5ca00dddbe
Added TimedRobot::GetPeriod() ( #915 )
...
Fixes #914 .
2018-01-27 01:01:15 -08:00
Tyler Veness
120ceb3427
Fix channel reassignments for C++ Joystick twist and throttle axes ( #903 )
2018-01-26 17:26:10 -08:00
Thad House
5cbafc1382
Updates to image 17 ( #913 )
...
These should be binary compatible, so safe to use with image 16.
2018-01-26 17:21:13 -08:00
Thad House
39d1650d51
Fixes double to int to double cast in encoderJNI ( #918 )
...
Fixes #916
2018-01-26 17:20:20 -08:00
Thad House
02336fc478
Makes FMS data never be a null string. ( #900 )
...
Fixes #895
v2018.2.2
2018-01-19 23:49:34 -08:00
Thad House
c00848c060
Fixes indexed classed handle resource ( #899 )
...
Nothing in WPILib uses it, so it was not tested
2018-01-19 22:31:59 -08:00
Dustin Spicuzza
738a1c015c
PIDController: setContinuous should only check input range if continuous is true ( #896 )
2018-01-19 22:31:08 -08:00
Thad House
48ae6c954a
Publishes match specific data and other FMS info to NT ( #874 )
...
This is so products like SB can present the current setup.
v2018.2.1
2018-01-18 23:17:28 -08:00
Thad House
07f70cf784
Fixes control data packet delay ( #875 )
...
Because of an expected change in 2018 that didn't happen, we had a race
condition causing a 1 packet delay on all DS values. This fixes that.
2018-01-18 21:54:33 -08:00
sciencewhiz
e4e1eab413
Fix cancel of inner commands in ConditionalCommands ( #858 )
2018-01-18 20:04:33 -08:00
Nic Hodlofski
0e8ff4663d
SpeedControllerGroup: Call set() from pidWrite()
...
This means pidWrite() now takes m_isInverted into account.
Fixes #887 .
2018-01-18 20:03:13 -08:00
HeroCC
54a0a7654a
Link to replacements for RobotDrive in JavaDocs ( #879 )
...
In smart IDEs, this will allow users to easily view source for these two classes by linking to it
2018-01-11 22:17:33 -08:00
Rohit Vighne
59f938b584
Invert when getting motor speed in SpeedControllerGroup ( #886 )
2018-01-11 22:16:42 -08:00
sciencewhiz
5513888457
Fix PIDController with Continous and no Input Range set. ( #883 )
2018-01-11 21:06:25 -08:00
Peter Johnson
02b6615042
RobotController: Make getBatteryVoltage() static. ( #869 )
2018-01-04 23:12:13 -06:00
Tyler Veness
1f4822f332
Replaced Talon motor controller in DifferentialDrive class docs with Spark ( #868 )
v2018.1.1
2018-01-03 20:27:34 -06:00
Peter Johnson
bb38ef5642
DifferentialDrive: Invert right motor in LiveWindow. ( #867 )
2018-01-02 21:15:15 -06:00
PJ Reiniger
ca36d1dce6
Adding callbacks for notifying when the distance per pulse changes ( #861 )
2018-01-02 16:53:39 -06:00
Sam Carlberg
ee33296e1f
SmartDashboard override .name entry in putData(String, Sendable) ( #866 )
...
Fixes #865
2018-01-02 16:39:16 -06:00
Tyler Veness
0ef9803363
Update copyright year to 2018 ( #864 )
...
Also fix a few files with incorrect line endings.
2018-01-02 11:20:21 -06:00
Tyler Veness
eedb8910c3
Removed extra newlines from beginning of Java classes ( #859 )
...
The content of this PR was generated by styleguide#111.
2018-01-02 11:17:46 -06:00
Sam Carlberg
8346caed9c
Move subsystem command metadata to metadata key format ( #863 )
2018-01-01 17:05:03 -05:00
PJ Reiniger
55b6764d50
Fix bugs in simulation libraries ( #853 )
...
Some thing got broken in the past couple of weeks with updates to the
HAL.
2017-12-31 14:37:14 -06:00
Thad House
2c4faee667
Fixes -Og compile and strip binaries ( #838 )
2017-12-29 22:18:35 -06:00
Jaci R
8d1dee16be
Add DriverStation NetworkTables HAL Extension ( #829 )
2017-12-29 21:55:31 -06:00
Jaci R
76b182600a
Add Low Fidelity NetworkTables simulation extension ( #823 )
2017-12-29 21:54:18 -06:00
sciencewhiz
c647a801ad
Add Encoder Index as a child ( #857 )
2017-12-29 21:48:39 -06:00
sciencewhiz
02131639bc
Add Digilent DMC 60 Speed Controller ( #855 )
2017-12-28 21:42:19 -06:00
Noah Gleason
566e283694
Make setDefaultCommand public ( #854 )
2017-12-28 12:48:15 -06:00
Peter Johnson
40eb6dfc9b
Fix SmartDashboard PutData to hook setters. ( #851 )
...
* Fix SmartDashboard PutData to hook setters.
Also update all PutData values in main periodic loop (same as LiveWindow).
* Improve SmartDashboard.putData() repeat call handling.
2017-12-26 18:18:02 -05:00
Dustin Spicuzza
a3e5378d14
SPI: Check for null ( #850 )
2017-12-25 22:03:22 -06:00
Thad House
691741cfcb
Fixes non public static methods in RobotController. ( #852 )
2017-12-25 20:26:05 -06:00
Thad House
166d9e01bf
Add PWMVictorSPX ( #842 )
2017-12-17 19:59:30 -08:00
Thad House
7eab4371f4
Adds TriState DIO functionality to the HAL ( #835 )
...
Adds a function to raw set the DIO direction. Also adds a C++ unsafe
function to enable fast setting of DIO direction.
v2018.1.1-beta-5
2017-12-14 00:17:29 -08:00
Peter Johnson
de134a5c60
Add deprecated shims for LiveWindowSendable and NamedSendable. ( #834 )
...
This will help prevent old code from breaking (not all cases, but should help).
2017-12-13 23:45:12 -08:00
Peter Johnson
7f074563d0
Add support for automatic SPI transfer engine. ( #836 )
...
The SPI Accumulator functions have been moved from HAL to wpilib and rewritten
to use the automatic transfer engine.
2017-12-13 23:41:37 -08:00
Thad House
d3dd586362
Revert "Fixes SPI bad chip select ( #818 )" ( #822 )
...
This is no longer required for image 2018v16.
This reverts commit b42285fddd .
2017-12-12 11:31:20 -08:00
Thad House
9c85105591
Update to image 2018v16 ( #833 )
2017-12-12 11:03:53 -08:00
Peter Johnson
86ac70a125
Fix wpilibcIntegrationTests RobotController warnings. ( #832 )
v2018.1.1-beta-4
2017-12-11 22:15:29 -08:00
Austin Shalit
3c3a448d47
Deprecate SampleRobot ( #472 )
...
Suggest TimedRobot as an alternative.
Remove -Werror from examples to avoid breaking build.
2017-12-11 22:06:01 -08:00