I’m a non-programmer Mentor for a FRC team attempting to fill the gaps of a missing Programming C++ Mentor. Our team is going to try to implement XRP robots as training aids in proxy of RoboRIOs. The example code provided via the WPILib installation is pretty good as far as it goes. But I can’t find any examples for the Rangefinder or Linefollower. I know we will probably never use the line follower as intended in a “real FRC” scenario. But it will still be a good tool for learning Automomous routines. If the XRP is going to be a REAL training tool, it will need complete support for all of its functions soon. The lack of input from the creators of the device on this page is very discouraging.
@ZeeQueue Does support for this currently exist, or can it be added if not? Thanks!
The XRP vendordep (allwpilib/xrpVendordep at main · wpilibsuite/allwpilib · GitHub) which is automatically included in XRP template/example projects provides access to the XRPRangefinder and XRPReflectanceSensor classes that interface with the hardware.
Please add an issue here: Issues · wpilibsuite/allwpilib · GitHub to keep track of this. Alternatively, this is also a great opportunity for contributing to WPILib!
I found the CPP and Header files under the C++ dependencies. But, as I stated, I’m NOT a programmer and neither are the kids. That’s why we need “Example Code” so we can learn.
Thank you
Larry Chladek
Mentor FRC Team 4624
Rebel Alliance