Peter Johnson
b80fde4388
[wpigui] Add wpigui wrappers for GLFW+imgui
...
These hide the platform specifics behind a common C++ API. Platforms:
- Windows: DirectX 11 (with 10 backwards compatibility)
- Linux: OpenGL 3
- Mac: Metal
2020-08-27 21:05:17 -07:00
Thad House
3005803598
[build] Update to latest native utils ( #2591 )
...
By default, release projects do not include symbols in the new version.
This updates that to now work correctly.
2020-07-11 23:00:18 -07:00
Peter Johnson
227084e92e
[hal] Implement stub mockdata on RoboRIO ( #2575 )
...
This makes it much more user-friendly to use simulation classes without needing
to ifdef for C++ to avoid linker errors or be very careful about construction
to avoid runtime errors in Java.
2020-07-07 21:49:05 -07:00
Thad House
21740fd2c5
[build] Add PDBs to jnicvstatic archives ( #2573 )
...
The tools plugin won't include them in the binary, but it will be easy to look them up if needed.
2020-07-05 22:11:42 -07:00
Thad House
b1353e4d6e
[cscore] Fix jnicvstatic classifier ( #2561 )
...
The archive needed to be zip, additionally the library needed to statically link to cscore. All better now
2020-06-30 22:50:02 -07:00
Thad House
9f4de91554
[cscore] Add new jnicvstatic artifact type ( #2560 )
...
With the new extraction method, we would need to provide an opencv. However, all of our tools that use opencv use an alternate version of OpenCV, so that would interfere.
This adds an artifact where opencv is statically linked into cscore, but wpiutil is a shared dependency. This solves some shared state hacks, and the extraction works so much better, so its worth making this change to allow that
2020-06-30 20:39:52 -07:00
Thad House
9796987d59
[wpiutil] Add new combined native class loader ( #2554 )
...
* Add new combined native class loader
Allows us to extract a list of binaries that depend on each other, and load them successfully
It is correct that there is no implementation in wpiutil for the new native method. That is a requirement, because its needed to load the libraries, and we cant load the wpiutiljni native library since it depends on wpiutil. Instead we have a separate library built with the tools plugin that handles everything
2020-06-27 18:05:14 -07:00
Peter Johnson
492d6c2826
[sim] Update thirdparty-imgui ( #2552 )
...
Updates the following dependencies:
- glfw to latest 3.3-stable
- imgui to 1.76
- stb to latest master
Removes libvulkan dependency.
Also adds implot.
2020-06-27 16:02:40 -07:00
Thad House
3bcb89fb84
Set rpath on all unix platforms to $ORIGIN ( #2299 )
...
* Set rpath on all unix platforms to $ORIGIN
Will make it possible to extract JNI libraries easier
2020-06-23 21:03:04 -07:00
Thad House
0b9316d94a
[build] Revert workaround for azure windows library loading issue ( #2481 ) ( #2499 )
2020-05-01 08:56:18 -07:00
Thad House
c82b8546bc
[build] Work around azure windows library loading issue ( #2481 )
...
Temporary fix until actions/virtual-environments#707 is deployed.
2020-04-12 10:36:25 -07:00
Dan Katzuv
5854e284ea
Convert license file to Markdown ( #2190 )
2020-03-14 22:18:33 -07:00
Dustin Spicuzza
7275ab9837
Add headerpad_max_install_names to Mac builds ( #2333 )
...
This allows dylib paths to be rewritten to a larger size by downstream tools.
2020-02-10 21:52:58 -08:00
Peter Johnson
c165dc5e50
Simulation GUI: Add 2D field view ( #2261 )
...
The field image and robot image can be loaded or just a wireframe used.
The robot can be moved and rotated with a mouse click + drag.
The robot position is settable in robot code via the Field2d class.
2020-02-01 21:30:23 -08:00
Oblarg
5b7dd186d2
Add templates for new commands for vscode plugin ( #2016 )
2019-12-29 15:02:49 -06:00
Thad House
5e08bb28f8
Add docs and lifecycle tasks for faster dev builds ( #2182 )
2019-12-20 13:48:26 -08:00
Thad House
0b80d566ad
Use ChipObject HMB function for LED ( #2173 )
...
It's fixed in v9 and up.
2019-12-14 21:15:32 -08:00
Peter Johnson
b78f115fcf
Work around VS2019 16.4.0 bugs ( #2171 )
...
Work around frontend bug in scoped_lock and code generation bug in reverse_iterator in gtest.
See https://github.com/google/googletest/pull/2635
2019-12-14 10:48:19 -08:00
Thad House
d003ec2dc9
Update to 2020v9 image ( #2154 )
...
- Fix VISA include and FPGA header
- Fix missing VISA lib from executables
2019-12-04 20:38:43 -08:00
Thad House
59507b12dc
Bump to 2020 v7 image ( #2086 )
2019-11-15 21:51:31 -08:00
Thad House
b7bc1ea745
Update to 2020v6 image ( #2078 )
2019-11-13 21:35:52 -08:00
Thad House
708009cd20
Update to gradle 6.0 ( #2074 )
2019-11-12 17:14:04 -08:00
Thad House
629e95776a
Add VendorDeps JSON files for command libraries ( #2048 )
...
Add commandversion flag to the examples and templates json files.
2019-11-07 17:38:07 -08:00
Thad House
916596cb01
Fix invalid examples json, add validator ( #2001 )
2019-10-28 20:10:05 -07:00
Thad House
989df1b461
Bump Native Utils and OpenCV dependencies ( #1993 )
...
OpenCV doesn't change anything other then the hash file. NativeUtils is needed to get the newest compiler.
2019-10-26 16:21:29 -07:00
Thad House
a83fb47933
Update to 2020v5 image ( #1983 )
...
* Update to 2020v5 image
2019-10-24 12:14:22 -07:00
Peter Johnson
5bce489b98
Add ProggyDotted font to imgui (both cmake and gradle)
2019-10-21 16:16:17 -07:00
Thad House
ec9738245d
Bump to 2020 v4 image ( #1931 )
2019-10-10 10:11:59 -07:00
Thad House
4e183eb104
Bump to 2020 v3 image ( #1929 )
2019-10-09 22:24:17 -07:00
Peter Johnson
2b4894038e
Add simulation GUI plugin
...
This uses Dear Imgui to provide a cross-platform integrated GUI for robot
simulation. The GUI provides fully integrated DS and joystick support so it's
not necessary to run the official DS.
2019-10-06 17:28:39 -07:00
Thad House
846d8def00
Update to 2020 v2 image ( #1913 )
...
* Update to 2020 v2 image
2019-10-02 13:14:30 -07:00
Peter Johnson
971303da8c
Add PortForwarder class ( #1890 )
...
This class provides an easy way to forward local ports to another host/port.
This is primarily useful to provide a way to access Ethernet-connected devices
from a computer tethered to the RoboRIO USB port.
The most natural spot to put the shared implementation of this class was into
wpiutil, so a wpiutilJNI library has been added.
2019-09-26 22:53:21 -07:00
Thad House
f49859ebfd
Remove NI VISA headers, as they are now included in NI Libraries ( #1879 )
2019-09-07 23:01:27 -05:00
Thad House
5ffe15d5ff
Remove ability to build all combined artifacts ( #1867 )
2019-09-04 13:06:46 -07:00
Thad House
f7ad363d86
Add jni cross compile options for aarch64 ( #1853 )
2019-08-26 11:56:35 -07:00
Thad House
9afea33403
Add support for aarch64 jetson bionic builds ( #1844 )
2019-08-26 09:49:58 -07:00
Thad House
b2861f8948
Use 2020 artifacts and artifactory server ( #1838 )
...
Uses 2020 artifacts and artifactory server, and new versioning and repository plugins.
2019-08-22 21:48:43 -07:00
Thad House
823174f30a
Update native utils to 2020.0.4 ( #1783 )
...
Adds -latomic by default to all linux builds
2019-07-30 00:40:23 -07:00
Austin Shalit
e488861877
Move unit tests from integration test suite ( #1170 )
2019-07-16 00:02:52 -05:00
Thad House
804926fb5b
Unconditionally skip athena builds for sim ( #1748 )
...
They'll pretty much never work
2019-06-30 19:45:33 -07:00
Thad House
2994250714
Update jni library, fix cross builds of the jni symbol check ( #1742 )
2019-06-29 21:31:55 -07:00
Thad House
a6b0e9b856
Only disable execution of cross compile google tests ( #1741 )
...
Still build them and link them, just don't execute them.
Google test is still disabled completely for the HAL and wpilibc.
2019-06-29 21:31:27 -07:00
Peter Johnson
0fbb0d989e
Update to 2020 compilers ( #1733 )
...
Also link to libatomic in cmake and for Raspbian only in gradle.
2019-06-29 09:28:28 -07:00
Thad House
2dc94e6052
Disable google tests on cross compilers ( #1738 )
...
Removes checks for onlyathena and onlyraspbian, and just disables gtest for cross compilers.
2019-06-29 09:27:11 -07:00
Austin Shalit
f7cfdd7cee
Replace crlf line endings with lf ( #1731 )
2019-06-28 20:55:14 -07:00
Austin Shalit
b6d5d90d9d
Add JaCoCo Support ( #1734 )
2019-06-28 20:01:02 -07:00
Thad House
c7ab2baa6e
Add way to disable the jni check tasks from a property ( #1736 )
2019-06-28 20:00:35 -07:00
Thad House
0c45c5b7ea
Fix skip athena and skip raspbian flags ( #1735 )
2019-06-28 20:00:09 -07:00
Thad House
3dfb01d45b
Update to new Native Utils ( #1696 )
...
Also update to azure 2019 windows image
2019-06-28 14:09:10 -07:00
Peter Johnson
55cb683db4
Change compiler flags to C++17 ( #1723 )
...
The current versions of the RoboRIO and Raspbian compilers support the flag but have
minimal actual C++17 support. Changing the flag is the first step.
2019-06-20 22:32:50 -07:00