Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit f22af2f

Browse files
committed
Remove unnecessary configs to avoid overwriting user changes during updates
1 parent eb16344 commit f22af2f

6 files changed

Lines changed: 5 additions & 274 deletions

File tree

configs/ACTIVE_CONFIG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dynamixel.json
1+
example.json

configs/dynamixel.json

Lines changed: 0 additions & 136 deletions
This file was deleted.

configs/sabertooth.json

Lines changed: 0 additions & 134 deletions
This file was deleted.

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Updater in install.sh now reconfigures Apache and Supervisor
1414
- Simulation of sensors in demo mode now uses the demo config with variable periods
1515
- Thermal camera is now animated in demo mode
16+
- Removed unnecessary example configs to avoid overwriting user changes during updates. Replaced virtual.json with example.json
1617

1718
### Bug fixes
1819

interface/js/sights.demo.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,9 @@ function demoMode() {
170170
<a href="#" class="dropdown-item config-delete-button" style="display:block;" data-file="dynamixel.json"><i class="fa fa-fw fa-trash-alt"></i></a>\
171171
</div>'
172172
);
173-
$('#config_selector').append('<div class="btn-group float-right" data-file="serial.json">\
174-
<a href="#" class="dropdown-item text-monospace config-item-button" style="display:block;">serial.json</a>\
175-
<a href="#" class="dropdown-item config-delete-button" style="display:block;" data-file="serial.json"><i class="fa fa-fw fa-trash-alt"></i></a>\
173+
$('#config_selector').append('<div class="btn-group float-right" data-file="sabertooth.json">\
174+
<a href="#" class="dropdown-item text-monospace config-item-button" style="display:block;">sabertooth.json</a>\
175+
<a href="#" class="dropdown-item config-delete-button" style="display:block;" data-file="sabertooth.json"><i class="fa fa-fw fa-trash-alt"></i></a>\
176176
</div>'
177177
);
178178
$('#config_selector').append('<div class="btn-group float-right" data-file="demo.json">\

0 commit comments

Comments
 (0)