Kevin O'Connor
cd29e1c32f
Handle cases where no DS is attached (initial m_controlWord, reportError, getAlliance and getLocation) fixes artf3778
...
Change-Id: I6befa8e31e6762a101cd0a19641e558c955865b9
2014-11-18 16:54:06 -05:00
Kevin O'Connor
e73b3ed7b5
Add methods for checking Watchdog status, ds status, and brownout status
...
Change-Id: I723c87d0c50612cbffbb81b0e039efd0ef05fcd0
2014-11-18 15:56:59 -05:00
Fred Silberberg (WPI)
c7a90b2ccc
Merge "Fix write when used with long byte array."
2014-11-17 11:56:51 -08:00
Brad Miller (WPI)
e5443f0e78
Merge "Added in new headers and libraries for image version 18. This image contains a change to fix artf3773, which switched setDataSem to be a pthread_cond_t variable instead of a mutex. As a result, a few new HAL functions had to be exposed over JNI, specifically the functions for MultiWait."
2014-11-17 11:28:36 -08:00
Brad Miller (WPI)
0abe19a1ae
Merge "Added support for launching a simulation friendly SmartDashboard."
2014-11-17 11:27:13 -08:00
Joe Ross
ccd64090bb
Fix write when used with long byte array.
...
If the byte array allocated is longer then the count passed to the
write method, there will be a buffer overflow exception. Only put
the number of bytes specified by count.
Change-Id: I10ff48d5a5cf3f82c4e4e347326be033db300cdb
2014-11-16 16:40:49 -08:00
Fredric Silberberg
c6891fc034
Added in new headers and libraries for image version 18. This image contains a change to fix artf3773, which switched setDataSem to be a pthread_cond_t variable instead of a mutex. As a result, a few new HAL functions had to be exposed over JNI, specifically the functions for MultiWait.
...
Change-Id: I28be07c8102acb078440ee74ded46527328dd271
2014-11-16 17:01:44 -05:00
Thomas Clark
6f4d6ed998
Add support for vision in C++
...
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
2014-11-16 13:06:49 -05:00
Brad Miller (WPI)
0670ff145f
Merge "Using netconsole-host to start programs and get output directed to netconsole and the log file (fixes artf3777, artf3750)"
2014-11-15 16:27:27 -08:00
Brad Miller
655ade6436
Using netconsole-host to start programs and get output directed to netconsole and the log file (fixes artf3777, artf3750)
...
Change-Id: I904989f94132dd0031b5bec9cca2c8dee46070fe
2014-11-15 19:19:36 -05:00
Alex Henning
7cfa0d04d7
Added support for launching a simulation friendly SmartDashboard.
...
Change-Id: I84176cf522da20a74234f7cfb7b8a6aaca7d9248
2014-11-14 16:08:17 -05:00
James Kuszmaul
f1476be276
Reverted accidental commits
...
Change-Id: Ieee3600da11df698f1025c85972acd979e486aa0
2014-11-14 15:28:48 -05:00
James Kuszmaul
9be6ee4712
CANTalon throttle works.
...
Fleshed out CANTalon interface; it currently works just to write a
throttle. The firmware doesn't fully support everything yet, so we are
still significantly limited.
Change-Id: I2868c4c168a8cb42cda754589777beef31ffd354
2014-11-14 15:21:12 -05:00
Thomas Clark
9050ea7e3d
Generalize CANJaguar and CANTalon with a CANSpeedController interface in C++
...
CANSpeedController is a subinterface of SpeedController that adds method
prototypes and enums for all of the common smart speed controller features.
CANJaguar implements this interfaces. CANTalon does too, but
most methods are stubs right now.
Change-Id: I67e0177d91e45444657280502a247d787ad5c74c
2014-11-14 15:21:12 -05:00
Thomas Clark
c1f68eb2b0
Stick the CanTalonSrx code in, get it to compile
...
There's a CANTalon class, but it doesn' do anything yet
Change-Id: Ib397db6fc0376f9de95e5efc42a223700be3dbca
2014-11-14 15:21:12 -05:00
Brad Miller (WPI)
fb53eea6b2
Merge "[artf3749] Repaired undefined behavior in takeMultiWait."
2014-11-13 10:07:50 -08:00
Brad Miller
6c294e137b
Increase timeout on network table test
...
Change-Id: I362209954a0abf09c1cd9a0421c2e67a15a58dc6
2014-11-13 09:49:30 -05:00
Brad Miller (WPI)
988defee16
Merge "Adds the new shared object libraries and headers for image version 17"
2014-11-13 06:39:03 -08:00
Brad Miller (WPI)
279ae1cd9d
Merge "Removed remains of the old toolchain method."
2014-11-13 05:09:49 -08:00
Brad Miller (WPI)
49f6b90d15
Merge "Removed the timing option from Iterative Robot Template since it conflicted with its purpose (artf3751)"
2014-11-12 12:50:27 -08:00
Fredric Silberberg
6cd5eeab6f
Adds the new shared object libraries and headers for image version 17
2014-11-12 15:43:58 -05:00
Brad Miller
c883c9e2fc
Removed release configuration from template (fixes artf3688)
...
Change-Id: I4e6d1abc68f23f870911b7d871b5a835cc26afef
2014-11-12 15:41:55 -05:00
Alex Henning
54951c888f
Removed remains of the old toolchain method.
...
Change-Id: Ib885730acdbb27707ce2caadadc3f9ce86fdd0ca
2014-11-12 15:27:29 -05:00
Brad Miller (WPI)
739508ff83
Merge "First cut at pulling in riolog plugin."
2014-11-12 12:22:04 -08:00
James Kuszmaul
f67849a9b1
[artf3749] Repaired undefined behavior in takeMultiWait.
...
Change-Id: Ieae7d602472f585db2a896cc76355a5c23d1d670
2014-11-12 15:21:53 -05:00
Brad Miller (WPI)
7c5b3c6286
Merge "Added the OutlineViewer to distribute with the plugins."
2014-11-12 11:47:29 -08:00
Brad Miller (WPI)
eb536ba340
Merge "Added default world files to examples."
2014-11-12 11:40:13 -08:00
Brad Miller (WPI)
19737ba443
Merge "Implement user API for roboRIO power methods (fixes artf3728 and artf3537)"
2014-11-12 06:35:48 -08:00
Brad Miller (WPI)
9f0bed2e6f
Merge "Correct off-by-one error in DigOut PWM Gen B HAL code (fixes artf3705 for C++/Java)"
2014-11-12 06:32:07 -08:00
Brad Miller (WPI)
86e4c3b77c
Merge "athena-deploy now calls the clean step to deal with a known ant issue where it does not detect changed constants. This addresses art3766."
2014-11-12 06:30:26 -08:00
Fred Silberberg (WPI)
e216d1abd6
Merge "Fix all the samples to build with the C++11/14 language features (constexpr)"
2014-11-11 13:52:33 -08:00
Alex Henning
20aeb5c6cc
Added the OutlineViewer to distribute with the plugins.
...
Change-Id: I958050675782ad2c16e44fad4e272204e19d7d48
2014-11-11 16:39:10 -05:00
Kevin O'Connor
3ad31dd4d7
Implement user API for roboRIO power methods (fixes artf3728 and artf3537)
...
Change-Id: I7501a83dcdd81d45b298e044379ea4ac3670c742
2014-11-11 15:42:56 -05:00
Kevin O'Connor
4c5b8c8c46
Correct off-by-one error in DigOut PWM Gen B HAL code (fixes artf3705 for C++/Java)
...
Change-Id: I4cd65089690463b69cfe815bd078d744fb21ff0f
2014-11-11 15:40:48 -05:00
Fredric Silberberg
747cdc8a58
Updated an incorrect voltage constant for the 5V input rail, and added
...
parenthesis to make the order of operations explicit.
Fix for artf3728
Change-Id: I2dfbad03980c4154cf253fbb06792b8502fcca02
2014-11-11 15:29:20 -05:00
Brad Miller
c3c7baa15c
Removed the timing option from Iterative Robot Template since it conflicted with its purpose (artf3751)
2014-11-11 14:49:05 -05:00
Fredric Silberberg
2fdb7c8eba
athena-deploy now calls the clean step to deal with a known ant issue where it does not detect changed constants. This addresses art3766.
...
Change-Id: I0bead9f585c610bb10faef3494c0b3358a79447f
2014-11-11 14:16:43 -05:00
Brad Miller
1d0a6b8ace
Fix all the samples to build with the C++11/14 language features (constexpr)
2014-11-11 09:15:46 -05:00
Alex Henning
08fdf45f6e
Added default world files to examples.
...
This saves a step and prevents one of the biggest user errors with the
pacgoat example.
Change-Id: Icdceb1da37c4b456f1a34daa815f3bbe2a47e18e
2014-11-09 14:26:23 -05:00
Paul Malmsten
7338471194
First cut at pulling in riolog plugin.
...
Plugin was retrieved from https://github.com/mstoeckl/riolog.git with minimal changes to
make it compile.
Change-Id: I340d77c69fe7598595deeaba8d4cd9414b971399
2014-11-08 12:56:45 -05:00
Brad Miller (WPI)
da0cc0c83f
Merge "Fixes for 0 based joysticks and joystick axes in simulation."
2014-11-07 08:33:33 -08:00
Brad Miller (WPI)
6e0637e771
Merge "Upped the limits for the output on some PID tests."
2014-11-07 08:31:59 -08:00
Brad Miller (WPI)
8d49d8255b
Merge "Move SerialPort to HAL and add SerialPort support for Java Squashed commit of the following:"
2014-11-07 08:27:36 -08:00
Alex Henning
3b53f84c8f
Fixes for 0 based joysticks and joystick axes in simulation.
...
Change-Id: I67608450d0818b38f6d5b5c709190433f2dc5cf5
2014-11-06 19:00:02 -05:00
James Kuszmaul
05bb3cdd71
Upped the limits for the output on some PID tests.
...
We were having issues with intermittent PID tests because one of the
motors on the test stand was sticky and needed a bit of a push to start.
Change-Id: Ic75cd38de867a74be3e4e445bd0d02323dfc4df8
2014-11-06 14:05:35 -05:00
Kevin O'Connor
18de3aebdd
Make sure the whole JVM exits if an exception is thrown. This prevents the DS thread, NT thread or any additional user thread from keeping the program alive when the main thread exits (fixes artf3743)
...
Change-Id: Ide89a3abe57171553af0a8c68077391b9a91fd29
2014-11-05 15:51:15 -05:00
Brad Miller (WPI)
de5e5ab405
Merge "[artf3709] Fixed PIDController loop timing."
2014-11-05 11:51:04 -08:00
Kevin O'Connor
6b6e5d9530
Move SerialPort to HAL and add SerialPort support for Java
...
Squashed commit of the following:
commit 4359262e2fef69b1646e3d76641fe622a78dfd89
Author: Kevin O'Connor <koconnor@usfirst.org >
Date: Wed Oct 29 13:43:12 2014 -0400
Add SerialPort to JNI and modify Java SerialPort to use it.
Change-Id: Id3e6fa538a50e6a96274d8fb1be546dc396fc9c6
commit 114b192388c2fb01745cb3d5ad83612e9d66ea83
Author: Kevin O'Connor <koconnor@usfirst.org >
Date: Tue Oct 28 15:46:06 2014 -0400
Move Serial port handling to HAL and define serial errors
Change-Id: I4cc73b64d71aafacb410bce080cb29e5fdf565a3
Change-Id: I35b729ad502137ee4c877a415d78007861991e31
2014-11-05 13:58:14 -05:00
Kevin O'Connor
fa20e6ca4f
Check for fatal interrupt status on multiple interrupt methods to avoid hanging program (fixes artf3602)
...
Change-Id: I31cb499fd1641deec26001b719fd0a6f07d20692
2014-11-05 13:19:41 -05:00
Brad Miller (WPI)
e56aa87af4
Merge "Change Talon to use 1x update rate (fixes artf3733)"
2014-11-05 09:55:39 -08:00