Compare commits

...

3 Commits

Author SHA1 Message Date
firestar5683 eb64700a9b modeld 2026-03-28 18:03:55 -05:00
Michael Tawata 745a5b812a readme minor update 2026-03-27 00:13:17 -07:00
Dom af8cd905ad Merge pull request #46 from firestar5683/readme
readme overhaul
2026-03-25 21:11:19 -05:00
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -9,6 +9,7 @@ venv/
.idea .idea
.overlay_init .overlay_init
.overlay_consistent .overlay_consistent
.host_runtime/
.sconsign.dblite .sconsign.dblite
model2.png model2.png
a.out a.out
+2 -1
View File
@@ -37,7 +37,8 @@ installation guides, and software configuration.
* Galaxy: StarPilot's portal to configure your comma device using your phone from anywhere. * Galaxy: StarPilot's portal to configure your comma device using your phone from anywhere.
Download models, change settings, update software, visualize live model outputs for tuning. Download models, change settings, update software, visualize live model outputs for tuning.
* Always On Lateral (full time steering assist)* * Always On Lateral (full time steering assist)*
* Learning Speed Limit Controller* * Speed Limit Controller*
* Learning Curve Speed Controller*
* Conditional Experimental Mode (CEM)* * Conditional Experimental Mode (CEM)*
* Driving Profiles* * Driving Profiles*
* Custom themes* * Custom themes*
+5 -2
View File
@@ -343,13 +343,16 @@ class ModelState:
else: else:
self.off_policy_numpy_inputs[self.off_policy_prev_desired_curv_key][:] = self.full_prev_desired_curv[0, self.temporal_idxs] self.off_policy_numpy_inputs[self.off_policy_prev_desired_curv_key][:] = self.full_prev_desired_curv[0, self.temporal_idxs]
combined_outputs_dict = {**vision_outputs_dict, **policy_outputs_dict} combined_outputs_dict = {**vision_outputs_dict}
if self.off_policy_enabled: if self.off_policy_enabled:
self.off_policy_output = self.off_policy_run(**self.off_policy_inputs).contiguous().realize().uop.base.buffer.numpy() self.off_policy_output = self.off_policy_run(**self.off_policy_inputs).contiguous().realize().uop.base.buffer.numpy()
off_policy_outputs_dict = self.off_policy_parser.parse_policy_outputs( off_policy_outputs_dict = self.off_policy_parser.parse_policy_outputs(
self.slice_outputs(self.off_policy_output, self.off_policy_output_slices) self.slice_outputs(self.off_policy_output, self.off_policy_output_slices)
) )
combined_outputs_dict.update(off_policy_outputs_dict) off_policy_outputs_dict.pop('plan', None)
combined_outputs_dict = {**combined_outputs_dict, **off_policy_outputs_dict, **policy_outputs_dict}
else:
combined_outputs_dict = {**combined_outputs_dict, **policy_outputs_dict}
if SEND_RAW_PRED: if SEND_RAW_PRED:
raw_pred = [self.vision_output.copy(), self.policy_output.copy()] raw_pred = [self.vision_output.copy(), self.policy_output.copy()]
if self.off_policy_enabled and self.off_policy_output is not None: if self.off_policy_enabled and self.off_policy_output is not None: