#include <stdint.h>
Go to the source code of this file.
|
uint8_t | TCMDEXEC_boom_deploy_timed (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Activate the burn wire for the specified duration.
|
|
uint8_t | TCMDEXEC_boom_self_check (const char *args_str, char *response_output_buf, uint16_t response_output_buf_len) |
| Run the self-check on the boom deployment system.
|
|
◆ TCMDEXEC_boom_deploy_timed()
uint8_t TCMDEXEC_boom_deploy_timed |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
Activate the burn wire for the specified duration.
- Parameters
-
args_str |
- Arg 0: Which boom deployment channel (1=CTRL_1 or 2=CTRL_2), or 0 for both.
- Arg 1: Duration (milliseconds), less than 14.1 seconds (<=14100 ms)
|
- Returns
- 0 on success, 1-2 on parsing error, 20 on EPS failure
- Note
- Does not enable the EPS channel. You must manually enable the EPS channel before calling this function.
-
If you need longer than the max duration, you can of course call this function multiple times back-to-back, relying on the heat capacity of the resistors to stay hot.
◆ TCMDEXEC_boom_self_check()
uint8_t TCMDEXEC_boom_self_check |
( |
const char * | args_str, |
|
|
char * | response_output_buf, |
|
|
uint16_t | response_output_buf_len ) |
Run the self-check on the boom deployment system.
- Parameters
-
- Returns
- 0 on success, >0 on error.
- Note
- If this function glitches (which it shouldn't/doesn't), it has the potential to deploy the boom.