@plasius/learning 0.2.11 → 0.2.13
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/README.md +29 -2
- package/dist/index.cjs +716 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +714 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,8 +66,10 @@ import {
|
|
|
66
66
|
DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
67
67
|
JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1,
|
|
68
68
|
METEOR_SHIELD_MISSION_ONE_AUTHORING_V1,
|
|
69
|
+
OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1,
|
|
69
70
|
PADDLE_PULSE_MISSION_ONE_AUTHORING_V1,
|
|
70
71
|
PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1,
|
|
72
|
+
RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
71
73
|
RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
|
|
72
74
|
ROAD_HOPPER_RALLY_MISSION_ONE_AUTHORING_V1,
|
|
73
75
|
ROBOT_MAZE_DASH_MISSION_ONE_AUTHORING_V1,
|
|
@@ -110,6 +112,12 @@ const servoCreature = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
|
110
112
|
const danceRover = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
111
113
|
(module) => module.slug === "dance-rover",
|
|
112
114
|
);
|
|
115
|
+
const obstacleExplorer = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
116
|
+
(module) => module.slug === "obstacle-explorer",
|
|
117
|
+
);
|
|
118
|
+
const rainbowRescueRover = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
119
|
+
(module) => module.slug === "rainbow-rescue-rover",
|
|
120
|
+
);
|
|
113
121
|
|
|
114
122
|
if (
|
|
115
123
|
!roadHopper ||
|
|
@@ -122,7 +130,9 @@ if (
|
|
|
122
130
|
!starDefenderSquadron ||
|
|
123
131
|
!beaconBot ||
|
|
124
132
|
!servoCreature ||
|
|
125
|
-
!danceRover
|
|
133
|
+
!danceRover ||
|
|
134
|
+
!obstacleExplorer ||
|
|
135
|
+
!rainbowRescueRover
|
|
126
136
|
) {
|
|
127
137
|
throw new Error("Junior Coder module is missing");
|
|
128
138
|
}
|
|
@@ -171,6 +181,14 @@ assertValidMissionAuthoringBundle(
|
|
|
171
181
|
DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
172
182
|
danceRover,
|
|
173
183
|
);
|
|
184
|
+
assertValidMissionAuthoringBundle(
|
|
185
|
+
OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1,
|
|
186
|
+
obstacleExplorer,
|
|
187
|
+
);
|
|
188
|
+
assertValidMissionAuthoringBundle(
|
|
189
|
+
RAINBOW_RESCUE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
190
|
+
rainbowRescueRover,
|
|
191
|
+
);
|
|
174
192
|
```
|
|
175
193
|
|
|
176
194
|
## Contract rules
|
|
@@ -205,6 +223,14 @@ assertValidMissionAuthoringBundle(
|
|
|
205
223
|
- Dance Rover documents bounded direction, 0–60 percent simulated speed,
|
|
206
224
|
timing, repeat and emergency-stop calls while every driver, motor, chassis
|
|
207
225
|
and switched power arrangement remains pending adult lifted-wheel testing.
|
|
226
|
+
- Obstacle Explorer documents bounded simulated IR readings, Boolean route
|
|
227
|
+
decisions, recovery attempts, watchdog timing and fail-safe stop while every
|
|
228
|
+
rover and sensor remains pending adult calibration and lifted-wheel testing.
|
|
229
|
+
- Rainbow Rescue Rover documents simulated colour, target-zone, serial-command,
|
|
230
|
+
heartbeat and fail-safe-stop planning while Camera Module 3 frames stay on
|
|
231
|
+
the family Raspberry Pi. The website receives no frames, opens no camera or
|
|
232
|
+
serial port, never activates motors, and every physical component remains
|
|
233
|
+
pending adult bench verification.
|
|
208
234
|
|
|
209
235
|
See [the foundation design](docs/design/junior-coder-catalog-foundation.md),
|
|
210
236
|
[the uniform pricing design](docs/design/junior-coder-uniform-pricing.md),
|
|
@@ -214,7 +240,8 @@ See [the foundation design](docs/design/junior-coder-catalog-foundation.md),
|
|
|
214
240
|
[ADR 0003](docs/adrs/adr-0003-mission-authoring-manifests-are-additive-and-separated.md),
|
|
215
241
|
[ADR 0004](docs/adrs/adr-0004-robot-mission-hardware-disclosures-are-additive-and-fail-closed.md),
|
|
216
242
|
[TDR 0006](docs/tdrs/tdr-0006-servo-creature-safe-movement-and-power-authoring.md),
|
|
217
|
-
|
|
243
|
+
[TDR 0007](docs/tdrs/tdr-0007-dance-rover-fail-safe-movement-and-power-authoring.md),
|
|
244
|
+
and [TDR 0008](docs/tdrs/tdr-0008-obstacle-explorer-sensing-watchdog-and-fail-safe-authoring.md).
|
|
218
245
|
|
|
219
246
|
## Development
|
|
220
247
|
|