3d, camera calibration, backend settings hookup (#80)

* Implement new UI backend stuff

* Kinda partially add resolution accuracy list

* camera calibration go brrrrrrrr

* ayyyy calibration works

* Maybe fix grouping

* Reorganize camera view

* Fix settings not getting sent

* Make pretty (#4)

* Reorganize camera view

* Apply some cosmetic layout changes to the cameras page

* Fix pipeline rollback bug when starting on non-dashboard pages

Co-authored-by: Matt <matthew.morley.ca@gmail.com>

* Fix naming mismatch

* Mostly make stuff work

* rename robot-relative pose to camera-relative pose

* SolvePNP memes, fix isFovConfigurable

* Change config path to photonvision_config

* netmask go poof, fix zip download?

* Update index.js

* Fix multi cam stuff?

* Use LinearFilter instead

* Fix multicam

* aaa

* start adding restart device and restart program, fix square size bug

* Add some debug stuff

* oop

* Start fixing tests

* Fix tests

* Make target box proportinal

* run spotless

* Make crosshair h o t p i n k

* Address review comments

* Address review 2 electric booaloo

* Possibly implement vendor FOV?

* Make centroid crosshair gren

* actually use FOV

* Fix tests

* actually fix tests

Co-authored-by: Declan Freeman-Gleason <declanfreemangleason@gmail.com>
This commit is contained in:
Matt
2020-08-14 12:39:21 -07:00
committed by GitHub
parent 86ea661ed9
commit b3436765e1
86 changed files with 2106 additions and 1173 deletions

View File

@@ -2,23 +2,20 @@
"deviceName": "PhotonVision",
"deviceLogoPath": "photonvision.png",
"supportURL": "https://support.photonvision.com",
"hardware": {
"leds": [2,13],
"ledSetCommand": "",
"ledsCanDim": true,
"ledPWMRange": [0, 100],
"ledPWMFrequency" : 800,
"ledPWMSetRange": "",
"ledDimCommand": "",
"ledBlinkCommand": ""
},
"metrics": {
"cpuTemp": "echo 10",
"cpuMemory": "echo 10",
"cpuUtil": "echo 10",
"gpuMemory": "echo 10",
"gpuUtil": "echo 10",
"ramUtil": "echo 10"
}
}
"ledPins" : [2, 13],
"ledSetCommand" : "",
"ledsCanDim" : true,
"ledPWMRange" : [0, 100],
"ledPWMSetRange" : "",
"ledPWMFrequency" : 800,
"ledDimCommand" : "echo 10",
"ledBlinkCommand" : "echo 10",
"cpuTempCommand" : "echo 10",
"cpuMemoryCommand" : "echo 10",
"cpuUtilCommand" : "echo 10",
"gpuMemoryCommand" : "echo 10",
"gpuTempCommand" : "echo 10",
"ramUtilCommand" : "echo 10",
"restartHardwareCommand" : "echo 10",
"vendorFOV" : 40.0
}