Skip to content

Commit 28d10b8

Browse files
committed
Release 1.7.0
1 parent d930a2f commit 28d10b8

34 files changed

+437
-137
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.7.0] - 2025-11-07
6+
7+
### Added
8+
- **Console**: Syntax highlighting for console lines and adjustable console height in the UI
9+
- **Pressboi**: Added `set_force_mode`, `set_force_offset`, `set_force_scale`, and `set_strain_cal` commands to device definition
10+
- **Pressboi**: Energy display in the telemetry panel aligns with new firmware Joule reporting
11+
- **Pressboi**: `set_retract` command documents optional speed argument with device-side defaulting to 25 mm/s
12+
- **Pressboi**: Strain calibration command accepts fifth coefficient for fourth-order machine compliance fits
13+
14+
### Changed
15+
- **Pressboi**: Command defaults updated to reflect the 25 mm/s retract baseline across UI metadata and JSON
16+
- **Pressboi**: Move commands drop inline `force_mode`; UI now relies on `set_force_mode` for sensor selection
17+
- **Pressboi**: Regenerated command/telemetry C++ so firmware headers match the latest schema
18+
519
## [1.6.0] - 2025-11-06
620

721
### Added

_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.5.0"
1+
__version__ = "1.7.0"

code_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ def generate_variables_header(telemetry: Dict[str, Any], device_name: str) -> st
449449

450450
for field, field_data in telemetry.items():
451451
field_help = field_data.get('help', 'No description available.')
452-
lines.append(f'#define TELEM_KEY_{field.upper():<30} "{field:<25}" ///< {field_help}')
452+
lines.append(f'#define TELEM_KEY_{field.upper():<30} "{field}" ///< {field_help}')
453453

454454
lines.append("/** @} */")
455455
lines.append("")

devices/fillhead/generated/commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file commands.cpp
33
* @brief Command parsing implementation for the Fillhead controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from commands.json on 2025-11-05 20:42:41
5+
* Generated from commands.json on 2025-11-06 20:49:14
66
*
77
* This file contains the command parser integrated into commands.cpp
88
*/

devices/fillhead/generated/commands.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file commands.h
33
* @brief Defines the command interface for the Fillhead controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from commands.json on 2025-11-05 20:42:41
5+
* Generated from commands.json on 2025-11-06 20:49:14
66
*
77
* This header file defines all commands that can be sent TO the Fillhead device.
88
* For message prefixes and events, see events.h

devices/fillhead/generated/events.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file events.cpp
33
* @brief Event sending implementation for the Fillhead controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from events.json on 2025-11-05 20:42:41
5+
* Generated from events.json on 2025-11-06 20:49:14
66
*/
77

88
#include "events.h"

devices/fillhead/generated/events.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file events.h
33
* @brief Defines all event types that can be sent from the Fillhead controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from events.json on 2025-11-05 20:42:41
5+
* Generated from events.json on 2025-11-06 20:49:14
66
*
77
* This header file defines all events sent FROM the Fillhead device TO the host.
88
* Events are asynchronous notifications that can trigger host-side actions.

devices/fillhead/generated/variables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file variables.cpp
33
* @brief Telemetry construction implementation for the Fillhead controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from telemetry.json on 2025-11-05 20:42:41
5+
* Generated from telemetry.json on 2025-11-06 20:49:14
66
*/
77

88
#include "variables.h"

devices/fillhead/generated/variables.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file variables.h
33
* @brief Telemetry structure and construction interface for the Fillhead controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from telemetry.json on 2025-11-05 20:42:41
5+
* Generated from telemetry.json on 2025-11-06 20:49:14
66
*
77
* This header defines the complete telemetry data structure for the Fillhead.
88
* All telemetry fields are assembled in one centralized location.
@@ -24,27 +24,27 @@
2424
* Format: "FILLHEAD_TELEM: field1:value1,field2:value2,..."
2525
* @{
2626
*/
27-
#define TELEM_KEY_MAIN_STATE "main_state " ///< Overall fillhead system state
28-
#define TELEM_KEY_INJECTOR_STATE "injector_state " ///< Current operational state of the injector motors
29-
#define TELEM_KEY_INJ_VALVE_STATE "inj_valve_state " ///< Current state of the injection pinch valve
30-
#define TELEM_KEY_VAC_VALVE_STATE "vac_valve_state " ///< Current state of the vacuum pinch valve
31-
#define TELEM_KEY_HEATER_STATE "heater_state " ///< Heater PID control status
32-
#define TELEM_KEY_VACUUM_STATE "vacuum_state " ///< Current vacuum system operation state
33-
#define TELEM_KEY_INJECTOR_TORQUE "injector_torque " ///< Current motor torque percentage for injector
34-
#define TELEM_KEY_INJECTOR_HOMED "injector_homed " ///< Indicates if injector has been homed to machine zero
35-
#define TELEM_KEY_INJECTION_CUMULATIVE_ML "injection_cumulative_ml " ///< Total volume dispensed since last cartridge home
36-
#define TELEM_KEY_INJECTION_ACTIVE_ML "injection_active_ml " ///< Volume dispensed in current injection operation
37-
#define TELEM_KEY_INJECTION_TARGET_ML "injection_target_ml " ///< Target volume for current injection operation
38-
#define TELEM_KEY_MOTORS_ENABLED "motors_enabled " ///< Global motor power enable status
39-
#define TELEM_KEY_INJ_VALVE_POS "inj_valve_pos " ///< Current position of injection valve actuator
40-
#define TELEM_KEY_INJ_VALVE_TORQUE "inj_valve_torque " ///< Current motor torque percentage for injection valve
41-
#define TELEM_KEY_INJ_VALVE_HOMED "inj_valve_homed " ///< Indicates if injection valve has been homed
42-
#define TELEM_KEY_VAC_VALVE_POS "vac_valve_pos " ///< Current position of vacuum valve actuator
43-
#define TELEM_KEY_VAC_VALVE_MOTOR_TORQUE "vac_valve_motor_torque " ///< Current motor torque percentage for vacuum valve
44-
#define TELEM_KEY_VAC_VALVE_HOMED "vac_valve_homed " ///< Indicates if vacuum valve has been homed
45-
#define TELEM_KEY_TEMP_C "temp_c " ///< Current material temperature from thermocouple
46-
#define TELEM_KEY_HEATER_SETPOINT "heater_setpoint " ///< Target temperature setpoint for PID controller
47-
#define TELEM_KEY_VACUUM_PSIG "vacuum_psig " ///< Current vacuum pressure reading
27+
#define TELEM_KEY_MAIN_STATE "main_state" ///< Overall fillhead system state
28+
#define TELEM_KEY_INJECTOR_STATE "injector_state" ///< Current operational state of the injector motors
29+
#define TELEM_KEY_INJ_VALVE_STATE "inj_valve_state" ///< Current state of the injection pinch valve
30+
#define TELEM_KEY_VAC_VALVE_STATE "vac_valve_state" ///< Current state of the vacuum pinch valve
31+
#define TELEM_KEY_HEATER_STATE "heater_state" ///< Heater PID control status
32+
#define TELEM_KEY_VACUUM_STATE "vacuum_state" ///< Current vacuum system operation state
33+
#define TELEM_KEY_INJECTOR_TORQUE "injector_torque" ///< Current motor torque percentage for injector
34+
#define TELEM_KEY_INJECTOR_HOMED "injector_homed" ///< Indicates if injector has been homed to machine zero
35+
#define TELEM_KEY_INJECTION_CUMULATIVE_ML "injection_cumulative_ml" ///< Total volume dispensed since last cartridge home
36+
#define TELEM_KEY_INJECTION_ACTIVE_ML "injection_active_ml" ///< Volume dispensed in current injection operation
37+
#define TELEM_KEY_INJECTION_TARGET_ML "injection_target_ml" ///< Target volume for current injection operation
38+
#define TELEM_KEY_MOTORS_ENABLED "motors_enabled" ///< Global motor power enable status
39+
#define TELEM_KEY_INJ_VALVE_POS "inj_valve_pos" ///< Current position of injection valve actuator
40+
#define TELEM_KEY_INJ_VALVE_TORQUE "inj_valve_torque" ///< Current motor torque percentage for injection valve
41+
#define TELEM_KEY_INJ_VALVE_HOMED "inj_valve_homed" ///< Indicates if injection valve has been homed
42+
#define TELEM_KEY_VAC_VALVE_POS "vac_valve_pos" ///< Current position of vacuum valve actuator
43+
#define TELEM_KEY_VAC_VALVE_MOTOR_TORQUE "vac_valve_motor_torque" ///< Current motor torque percentage for vacuum valve
44+
#define TELEM_KEY_VAC_VALVE_HOMED "vac_valve_homed" ///< Indicates if vacuum valve has been homed
45+
#define TELEM_KEY_TEMP_C "temp_c" ///< Current material temperature from thermocouple
46+
#define TELEM_KEY_HEATER_SETPOINT "heater_setpoint" ///< Target temperature setpoint for PID controller
47+
#define TELEM_KEY_VACUUM_PSIG "vacuum_psig" ///< Current vacuum pressure reading
4848
/** @} */
4949

5050
//==================================================================================================

devices/gantry/generated/commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @file commands.cpp
33
* @brief Command parsing implementation for the Gantry controller.
44
* @details AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
5-
* Generated from commands.json on 2025-11-05 20:42:41
5+
* Generated from commands.json on 2025-11-06 20:49:14
66
*
77
* This file contains the command parser integrated into commands.cpp
88
*/

0 commit comments

Comments
 (0)