Pneumatic Actuators
Controls individual pneumatic actuators that convert air pressure into mechanical movement. Manages valve timing, pressure regulation, and position control for pneumatic cylinders and bladders.
Controls individual pneumatic actuators that convert air pressure into mechanical movement. Manages valve timing, pressure regulation, and position control for pneumatic cylinders and bladders.
State Fields
| Field | Type | Description |
|---|---|---|
averagePressure | number | The average pressure across all managed pneumatic beams in Pascals. |
Public API
| Function | Description |
|---|---|
setBeamGroupValveState(groupName, valveState) | Directly controls the air valve for a specific group of actuators. |
setBeamGroupMaximumSupplyPressure(groupName, maxSupplyPressure) | Configures a pressure regulator for the specified group. |
setBeamGroupCrossFlowTag(groupName, crossFlowTag) | Reassigns a beam group to a different virtual air buffer. |
getAveragePressure(groupName) | Returns the mean pressure of all beams in the specified group. |
module.initSounds(jbeamData) | Initializes sound resources. |
module.resetSounds() | Resets sound state. |
module.setBeamGroupsValveState(groupNames, valveState) | Sets the beam groups valve state. |
module.toggleBeamGroupValveState(groupName) | Toggles beam group valve state. |
module.toggleBeamGroupsValveState(groupNames) | Toggles beam groups valve state. |
module.setBeamGroupsMaximumSupplyPressure(groupNames, maxSupplyPressure) | Sets the beam groups maximum supply pressure. |
module.getValveState(groupName) | Returns the valve state. |
module.getAverageFlowRate(groupName) | Returns the average flow rate. |
module.getBeamGroupsAverageFlowRate(groupNames) | Returns the beam groups average flow rate. |
Hooks
| Hook | Description |
|---|---|
init(jbeamData) | Connects to the main air tank, defines beam groups, and initializes virtual buffers for cross-flow simulation. |
updateFixedStep(dt) | Primary flow loop. Simulates air mass transfer between the tank, virtual buffers, and individual actuators based on valve states and pressure differentials. |
updateGFX(dt) | Manages pneumatic sound loops (inflation/deflation) and updates average pressure telemetry. |
module.reset() | Resets the controller to its initial state. |
See Also
- Pneumatics — Parent pneumatic system
- Air Brakes — Pneumatic braking
Linear Actuator Trailer Feet
Controls electrically-driven linear actuator trailer landing gear. Extends and retracts support legs using linear actuators instead of hydraulics.
Pneumatic Air Brakes
Controls air brake systems used on heavy trucks and trailers. Manages brake chamber pressure, relay valves, and the fail-safe spring brake mechanism that applies brakes when air pressure is lost.