@robotical/webapp-types 3.25.6 → 3.25.7
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
|
@@ -7,14 +7,12 @@ declare const english: {
|
|
|
7
7
|
readonly uploadStorageWarning: "Some calibration data could not be saved on this device yet. Keep the app open and retry uploading before closing it.";
|
|
8
8
|
readonly phoneUploadPending: "Calibration data is waiting to upload. Keep the app open until uploading finishes so these readings are not lost.";
|
|
9
9
|
readonly retryUpload: "Retry calibration upload";
|
|
10
|
-
readonly introduction: "Keep Marty connected to USB power. We will collect {{count}} readings each for air and white
|
|
10
|
+
readonly introduction: "Keep Marty connected to USB power. We will collect {{count}} readings each for air and white, then save the calibration. Keep the lighting the same throughout.";
|
|
11
11
|
readonly sensor: "Colour sensor";
|
|
12
12
|
readonly selectSensor: "Select a colour sensor";
|
|
13
13
|
readonly step: "Step {{number}} of 2";
|
|
14
|
-
readonly optionalStep: "Optional step: purple colour card";
|
|
15
14
|
readonly air: "Lift Marty about 30 cm above the surface with both feet clear. Hold it steady and capture the air readings.";
|
|
16
15
|
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.";
|
|
17
|
-
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.";
|
|
18
16
|
readonly duration: "Each capture takes about 3–4 seconds once sampling starts. Preparing or restoring sensor settings can take a few extra seconds.";
|
|
19
17
|
readonly preparing: "Preparing the sensor…";
|
|
20
18
|
readonly warmingUp: "Waking the colour sensor…";
|
|
@@ -25,14 +23,10 @@ declare const english: {
|
|
|
25
23
|
readonly restoring: "Restoring the previous settings…";
|
|
26
24
|
readonly working: "Please wait…";
|
|
27
25
|
readonly captureAir: "Capture air readings";
|
|
28
|
-
readonly captureWhite: "Capture white
|
|
29
|
-
readonly capturePurple: "Capture purple and save calibration";
|
|
30
|
-
readonly skipPurple: "Skip and save calibration";
|
|
26
|
+
readonly captureWhite: "Capture white and save calibration";
|
|
31
27
|
readonly startAgain: "Start again";
|
|
32
28
|
readonly restartCalibration: "Calibrate this sensor again";
|
|
33
|
-
readonly saved: "Calibration saved on Marty: {{count}} readings
|
|
34
|
-
readonly savedWithoutPurple: "Calibration saved on Marty: {{count}} readings each for air and white. Purple was skipped, so the current ground threshold was kept.";
|
|
35
|
-
readonly savedWithRGB: "Calibration saved: {{count}} readings for air, white and purple. Purple's colour signal is usable, but its brightness overlaps air. The app will use the calibrated colour signal and keep Marty's current ground threshold.";
|
|
29
|
+
readonly saved: "Calibration saved on Marty: {{count}} readings each for air and white.";
|
|
36
30
|
readonly reconnectStep: "Final step: reconnect Marty";
|
|
37
31
|
readonly reconnect: "Disconnect Marty below, then use Connect Marty to connect the same robot again. Your calibration is saved. Colour diagnostics will unlock once Marty has loaded the new sensor settings.";
|
|
38
32
|
readonly disconnectToFinish: "Disconnect Marty to finish calibration";
|
|
@@ -51,10 +45,8 @@ declare const english: {
|
|
|
51
45
|
readonly unsupported: "This sensor or app connection does not support the new calibration yet. Update the app and reconnect Marty. Supported colour sensor firmware: type 97 / 1.3.1 and type 98 / 1.4.0–1.4.1.";
|
|
52
46
|
readonly readFailed: "A sensor reading could not be collected. Keep Marty connected and try this step again.";
|
|
53
47
|
readonly unstable: "The readings varied too much. Keep Marty steady and the lighting constant, then capture this position again.";
|
|
54
|
-
readonly saturated: "The air
|
|
48
|
+
readonly saturated: "The air readings reached the sensor's limit of 255. Lift Marty clear of the surface and keep it away from direct bright light, then retry. No new calibration was saved.";
|
|
55
49
|
readonly weakWhite: "The white reading is too weak. Use a matt white surface with the sensor close to it, then start again.";
|
|
56
|
-
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.";
|
|
57
|
-
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.";
|
|
58
50
|
readonly settingsChanged: "The sensor settings changed during calibration. Start again to collect a consistent set of readings.";
|
|
59
51
|
readonly writeFailed: "The new calibration could not be saved and verified. The previous settings were restored. Try again.";
|
|
60
52
|
readonly verificationFailed: "The sensor did not return the expected reading after calibration. The previous settings were restored. Keep Marty steady and try again.";
|
package/dist-types/src/components/oneoffs/calibration-screens/ColourSensorCalibration/messages.js
CHANGED
|
@@ -7,14 +7,12 @@ var english = {
|
|
|
7
7
|
uploadStorageWarning: "Some calibration data could not be saved on this device yet. Keep the app open and retry uploading before closing it.",
|
|
8
8
|
phoneUploadPending: "Calibration data is waiting to upload. Keep the app open until uploading finishes so these readings are not lost.",
|
|
9
9
|
retryUpload: "Retry calibration upload",
|
|
10
|
-
introduction: "Keep Marty connected to USB power. We will collect {{count}} readings each for air and white
|
|
10
|
+
introduction: "Keep Marty connected to USB power. We will collect {{count}} readings each for air and white, then save the calibration. Keep the lighting the same throughout.",
|
|
11
11
|
sensor: "Colour sensor",
|
|
12
12
|
selectSensor: "Select a colour sensor",
|
|
13
13
|
step: "Step {{number}} of 2",
|
|
14
|
-
optionalStep: "Optional step: purple colour card",
|
|
15
14
|
air: "Lift Marty about 30 cm above the surface with both feet clear. Hold it steady and capture the air readings.",
|
|
16
15
|
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.",
|
|
17
|
-
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.",
|
|
18
16
|
duration: "Each capture takes about 3–4 seconds once sampling starts. Preparing or restoring sensor settings can take a few extra seconds.",
|
|
19
17
|
preparing: "Preparing the sensor…",
|
|
20
18
|
warmingUp: "Waking the colour sensor…",
|
|
@@ -25,14 +23,10 @@ var english = {
|
|
|
25
23
|
restoring: "Restoring the previous settings…",
|
|
26
24
|
working: "Please wait…",
|
|
27
25
|
captureAir: "Capture air readings",
|
|
28
|
-
captureWhite: "Capture white
|
|
29
|
-
capturePurple: "Capture purple and save calibration",
|
|
30
|
-
skipPurple: "Skip and save calibration",
|
|
26
|
+
captureWhite: "Capture white and save calibration",
|
|
31
27
|
startAgain: "Start again",
|
|
32
28
|
restartCalibration: "Calibrate this sensor again",
|
|
33
|
-
saved: "Calibration saved on Marty: {{count}} readings
|
|
34
|
-
savedWithoutPurple: "Calibration saved on Marty: {{count}} readings each for air and white. Purple was skipped, so the current ground threshold was kept.",
|
|
35
|
-
savedWithRGB: "Calibration saved: {{count}} readings for air, white and purple. Purple's colour signal is usable, but its brightness overlaps air. The app will use the calibrated colour signal and keep Marty's current ground threshold.",
|
|
29
|
+
saved: "Calibration saved on Marty: {{count}} readings each for air and white.",
|
|
36
30
|
reconnectStep: "Final step: reconnect Marty",
|
|
37
31
|
reconnect: "Disconnect Marty below, then use Connect Marty to connect the same robot again. Your calibration is saved. Colour diagnostics will unlock once Marty has loaded the new sensor settings.",
|
|
38
32
|
disconnectToFinish: "Disconnect Marty to finish calibration",
|
|
@@ -51,10 +45,8 @@ var english = {
|
|
|
51
45
|
unsupported: "This sensor or app connection does not support the new calibration yet. Update the app and reconnect Marty. Supported colour sensor firmware: type 97 / 1.3.1 and type 98 / 1.4.0–1.4.1.",
|
|
52
46
|
readFailed: "A sensor reading could not be collected. Keep Marty connected and try this step again.",
|
|
53
47
|
unstable: "The readings varied too much. Keep Marty steady and the lighting constant, then capture this position again.",
|
|
54
|
-
saturated: "The air
|
|
48
|
+
saturated: "The air readings reached the sensor's limit of 255. Lift Marty clear of the surface and keep it away from direct bright light, then retry. No new calibration was saved.",
|
|
55
49
|
weakWhite: "The white reading is too weak. Use a matt white surface with the sensor close to it, then start again.",
|
|
56
|
-
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.",
|
|
57
|
-
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.",
|
|
58
50
|
settingsChanged: "The sensor settings changed during calibration. Start again to collect a consistent set of readings.",
|
|
59
51
|
writeFailed: "The new calibration could not be saved and verified. The previous settings were restored. Try again.",
|
|
60
52
|
verificationFailed: "The sensor did not return the expected reading after calibration. The previous settings were restored. Keep Marty steady and try again.",
|