Skip to content

WIP: RFC: JSON Config stuff

Jakob Bornecrantz requested to merge jakob-config-json into master

This is just to get some comments on the directions for the config file.

First off the prober looks for the config file here ~/.config/monado/config_v0.json or in $XDG_CONFIG_HOME/monado/config_v0.json.

The JSON currently looks like this, there is a version field in the tracking part as each part is doing their own thing. Simple put this is just all of the hardcoded stuff put into a JSON file. Below is what the configuration looks for my ELP fisheye 3D camera.

{
	"tracking": {
		"version": 0,
		"camera_name": "3D USB Camera",
		"camera_mode": 2,
		"camera_sbs": true,
		"camera_ps4": false,
		"calibration_path": "~/.config/monado/ELP.calibration"
	}
}
Edited by Jakob Bornecrantz

Merge request reports