@robotical/webapp-types 3.25.3 → 3.25.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-types/package.json
CHANGED
package/dist-types/src/components/oneoffs/calibration-screens/ColourSensorCalibration/messages.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const english: {
|
|
|
8
8
|
readonly air: "Lift Marty about 30 cm above the surface with both feet clear. Hold it steady and capture the air readings.";
|
|
9
9
|
readonly white: "Place the foot with the selected colour sensor flat on a matt white surface, with the sensor fully over it. Hold Marty steady and capture the white readings.";
|
|
10
10
|
readonly purple: "If you have a purple colour card, place the foot with the selected sensor flat on it and capture the readings. This helps the sensor tell a dark card from air. This step is optional: choose Skip and save calibration to finish using your air and white readings and keep the current ground threshold.";
|
|
11
|
-
readonly duration: "Each capture takes about
|
|
11
|
+
readonly duration: "Each capture takes about 3–4 seconds once sampling starts. Preparing or restoring sensor settings can take a few extra seconds.";
|
|
12
12
|
readonly preparing: "Preparing the sensor…";
|
|
13
13
|
readonly warmingUp: "Waking the colour sensor…";
|
|
14
14
|
readonly sensorPowerFailed: "The colour sensor did not wake up. Check its connection, reconnect Marty and try again.";
|
|
@@ -42,10 +42,11 @@ declare const english: {
|
|
|
42
42
|
readonly saturated: "The air or purple reference reached the sensor's reporting limit of 255. Check Marty's placement for this step and retry. No new calibration was saved.";
|
|
43
43
|
readonly weakWhite: "The white reading is too weak. Use a matt white surface with the sensor close to it, then start again.";
|
|
44
44
|
readonly overlap: "Air and purple readings are too close to choose a reliable ground threshold. Check the sensor position and lighting, then start again. No new calibration was saved.";
|
|
45
|
+
readonly overlapDetails: "Air Clear maximum: {{airClearMax}}. Purple Clear minimum: {{purpleClearMin}}. Purple must be at least {{minimumGap}} counts above air. You can retry purple, start again with the same lighting, or skip purple to keep the current ground threshold.";
|
|
45
46
|
readonly settingsChanged: "The sensor settings changed during calibration. Start again to collect a consistent set of readings.";
|
|
46
47
|
readonly writeFailed: "The new calibration could not be saved and verified. The previous settings were restored. Try again.";
|
|
47
48
|
readonly verificationFailed: "The sensor did not return the expected reading after calibration. The previous settings were restored. Keep Marty steady and try again.";
|
|
48
|
-
readonly restoreFailed: "The previous sensor settings could not be
|
|
49
|
+
readonly restoreFailed: "The previous sensor settings could not be confirmed. This attempt has stopped. Keep Marty on USB power and reconnect if needed, then capture air again. The app will recover the backed-up settings before collecting new readings.";
|
|
49
50
|
readonly storageUnavailable: "The app could not back up the current sensor settings. Allow storage for this app or free some space, then try again. No new calibration was saved.";
|
|
50
51
|
readonly busy: "A previous calibration is still finishing or restoring settings. Wait a few seconds, then try again.";
|
|
51
52
|
readonly sampleTimeout: "Collecting the readings took too long. Keep Marty connected and try this step again.";
|
package/dist-types/src/components/oneoffs/calibration-screens/ColourSensorCalibration/messages.js
CHANGED
|
@@ -8,7 +8,7 @@ var english = {
|
|
|
8
8
|
air: "Lift Marty about 30 cm above the surface with both feet clear. Hold it steady and capture the air readings.",
|
|
9
9
|
white: "Place the foot with the selected colour sensor flat on a matt white surface, with the sensor fully over it. Hold Marty steady and capture the white readings.",
|
|
10
10
|
purple: "If you have a purple colour card, place the foot with the selected sensor flat on it and capture the readings. This helps the sensor tell a dark card from air. This step is optional: choose Skip and save calibration to finish using your air and white readings and keep the current ground threshold.",
|
|
11
|
-
duration: "Each capture takes about
|
|
11
|
+
duration: "Each capture takes about 3–4 seconds once sampling starts. Preparing or restoring sensor settings can take a few extra seconds.",
|
|
12
12
|
preparing: "Preparing the sensor…",
|
|
13
13
|
warmingUp: "Waking the colour sensor…",
|
|
14
14
|
sensorPowerFailed: "The colour sensor did not wake up. Check its connection, reconnect Marty and try again.",
|
|
@@ -42,10 +42,11 @@ var english = {
|
|
|
42
42
|
saturated: "The air or purple reference reached the sensor's reporting limit of 255. Check Marty's placement for this step and retry. No new calibration was saved.",
|
|
43
43
|
weakWhite: "The white reading is too weak. Use a matt white surface with the sensor close to it, then start again.",
|
|
44
44
|
overlap: "Air and purple readings are too close to choose a reliable ground threshold. Check the sensor position and lighting, then start again. No new calibration was saved.",
|
|
45
|
+
overlapDetails: "Air Clear maximum: {{airClearMax}}. Purple Clear minimum: {{purpleClearMin}}. Purple must be at least {{minimumGap}} counts above air. You can retry purple, start again with the same lighting, or skip purple to keep the current ground threshold.",
|
|
45
46
|
settingsChanged: "The sensor settings changed during calibration. Start again to collect a consistent set of readings.",
|
|
46
47
|
writeFailed: "The new calibration could not be saved and verified. The previous settings were restored. Try again.",
|
|
47
48
|
verificationFailed: "The sensor did not return the expected reading after calibration. The previous settings were restored. Keep Marty steady and try again.",
|
|
48
|
-
restoreFailed: "The previous sensor settings could not be
|
|
49
|
+
restoreFailed: "The previous sensor settings could not be confirmed. This attempt has stopped. Keep Marty on USB power and reconnect if needed, then capture air again. The app will recover the backed-up settings before collecting new readings.",
|
|
49
50
|
storageUnavailable: "The app could not back up the current sensor settings. Allow storage for this app or free some space, then try again. No new calibration was saved.",
|
|
50
51
|
busy: "A previous calibration is still finishing or restoring settings. Wait a few seconds, then try again.",
|
|
51
52
|
sampleTimeout: "Collecting the readings took too long. Keep Marty connected and try this step again.",
|