SachemAftershock / 2019-robot-code

Sachem Aftershock's code for FRC 2019 Destination: Deep Space
3 stars 0 forks source link

Upload Limelight source(or settings) to new folder of this github project. #11

Open JimTripi opened 5 years ago

JimTripi commented 5 years ago

The limelight processing needs to be captured just like the other CSCIs. If it can export all settings and custom code to a file, then check it in. If its purely or partially shown only in dialogs,then do screen captures of each needed page, paste into a word document, then check that in.

mehabu commented 5 years ago

In order to set up limelight we need to setup static IP for Limelight which is already done. The static IP for Limelight is 10.2.63.33 To access limelight web page, we can use http://10.2.63.33:5801 To view the camera stream, we can use http://10.2.63.33:5800 We can also use http://limelight.local:5801 to view the page If connect the usb camera to limelight usb port, we need to restart

camMode Sets limelight’s operation mode 0 Vision processor 1 Driver Camera (Increases exposure, disables vision processing)

Java sample code to access network table NetworkTableInstance.getDefault().getTable("limelight").getEntry("").getDouble(0);

Dan already put the limelight code to 2018 as per the pull request below. We need to test this and add to 2019 code https://github.com/SachemAftershock/2018-robot-code/pull/16 LimelightMath.java #16

mehabu commented 5 years ago

I can ask @AKKM457 to download the code uploaded by Dan and test it using Limelight. However, need a quick intro from Dan as we don't want to take chances with limelight.

mehabu commented 5 years ago

LimeLight_status.docx

mehabu commented 5 years ago

I will borrow limelight and capture some screen shot to complete this document

DanWaxman commented 5 years ago

@mehabu that pull request was for some processing with it, written by another team member. We ended up not using that code directly. Here is the code that was written for Limelight Network Table values.

mehabu commented 5 years ago

Limelight.zip

mehabu commented 5 years ago

Please check in this Limelight.java as I don't have permission

mehabu commented 5 years ago

LimeLight_settings_Export_Dual_tape_2019.zip

mehabu commented 5 years ago

This is the export of the limelight settings