@plasius/learning 0.2.10 → 0.2.12
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 +28 -2
- package/dist/index.cjs +723 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +721 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,8 +63,10 @@ the exact catalog module that owns its rubric, mission and badges.
|
|
|
63
63
|
```ts
|
|
64
64
|
import {
|
|
65
65
|
BEACON_BOT_MISSION_ONE_AUTHORING_V1,
|
|
66
|
+
DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
66
67
|
JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1,
|
|
67
68
|
METEOR_SHIELD_MISSION_ONE_AUTHORING_V1,
|
|
69
|
+
OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1,
|
|
68
70
|
PADDLE_PULSE_MISSION_ONE_AUTHORING_V1,
|
|
69
71
|
PIXEL_TRAIL_CHALLENGE_MISSION_ONE_AUTHORING_V1,
|
|
70
72
|
RESCUE_CREW_COMMANDER_MISSION_ONE_AUTHORING_V1,
|
|
@@ -106,6 +108,12 @@ const beaconBot = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
|
106
108
|
const servoCreature = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
107
109
|
(module) => module.slug === "servo-creature",
|
|
108
110
|
);
|
|
111
|
+
const danceRover = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
112
|
+
(module) => module.slug === "dance-rover",
|
|
113
|
+
);
|
|
114
|
+
const obstacleExplorer = JUNIOR_CODER_ROBOT_RESCUE_PATH_V1_1.modules.find(
|
|
115
|
+
(module) => module.slug === "obstacle-explorer",
|
|
116
|
+
);
|
|
109
117
|
|
|
110
118
|
if (
|
|
111
119
|
!roadHopper ||
|
|
@@ -117,7 +125,9 @@ if (
|
|
|
117
125
|
!pixelTrailChallenge ||
|
|
118
126
|
!starDefenderSquadron ||
|
|
119
127
|
!beaconBot ||
|
|
120
|
-
!servoCreature
|
|
128
|
+
!servoCreature ||
|
|
129
|
+
!danceRover ||
|
|
130
|
+
!obstacleExplorer
|
|
121
131
|
) {
|
|
122
132
|
throw new Error("Junior Coder module is missing");
|
|
123
133
|
}
|
|
@@ -162,6 +172,14 @@ assertValidMissionAuthoringBundle(
|
|
|
162
172
|
SERVO_CREATURE_MISSION_ONE_AUTHORING_V1,
|
|
163
173
|
servoCreature,
|
|
164
174
|
);
|
|
175
|
+
assertValidMissionAuthoringBundle(
|
|
176
|
+
DANCE_ROVER_MISSION_ONE_AUTHORING_V1,
|
|
177
|
+
danceRover,
|
|
178
|
+
);
|
|
179
|
+
assertValidMissionAuthoringBundle(
|
|
180
|
+
OBSTACLE_EXPLORER_MISSION_ONE_AUTHORING_V1,
|
|
181
|
+
obstacleExplorer,
|
|
182
|
+
);
|
|
165
183
|
```
|
|
166
184
|
|
|
167
185
|
## Contract rules
|
|
@@ -193,6 +211,12 @@ assertValidMissionAuthoringBundle(
|
|
|
193
211
|
- Servo Creature documents its safe 30–150 degree simulator range while every
|
|
194
212
|
physical servo, regulated supply and common-ground arrangement remains
|
|
195
213
|
pending adult bench verification and unavailable to learner code.
|
|
214
|
+
- Dance Rover documents bounded direction, 0–60 percent simulated speed,
|
|
215
|
+
timing, repeat and emergency-stop calls while every driver, motor, chassis
|
|
216
|
+
and switched power arrangement remains pending adult lifted-wheel testing.
|
|
217
|
+
- Obstacle Explorer documents bounded simulated IR readings, Boolean route
|
|
218
|
+
decisions, recovery attempts, watchdog timing and fail-safe stop while every
|
|
219
|
+
rover and sensor remains pending adult calibration and lifted-wheel testing.
|
|
196
220
|
|
|
197
221
|
See [the foundation design](docs/design/junior-coder-catalog-foundation.md),
|
|
198
222
|
[the uniform pricing design](docs/design/junior-coder-uniform-pricing.md),
|
|
@@ -201,7 +225,9 @@ See [the foundation design](docs/design/junior-coder-catalog-foundation.md),
|
|
|
201
225
|
[ADR 0002](docs/adrs/adr-0002-immutable-module-repricing-and-admin-test-source.md),
|
|
202
226
|
[ADR 0003](docs/adrs/adr-0003-mission-authoring-manifests-are-additive-and-separated.md),
|
|
203
227
|
[ADR 0004](docs/adrs/adr-0004-robot-mission-hardware-disclosures-are-additive-and-fail-closed.md),
|
|
204
|
-
|
|
228
|
+
[TDR 0006](docs/tdrs/tdr-0006-servo-creature-safe-movement-and-power-authoring.md),
|
|
229
|
+
[TDR 0007](docs/tdrs/tdr-0007-dance-rover-fail-safe-movement-and-power-authoring.md),
|
|
230
|
+
and [TDR 0008](docs/tdrs/tdr-0008-obstacle-explorer-sensing-watchdog-and-fail-safe-authoring.md).
|
|
205
231
|
|
|
206
232
|
## Development
|
|
207
233
|
|