CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
telecommand_adcs.h
Go to the documentation of this file.
1
2#ifndef INCLUDE_GUARD__TELECOMMAND_ADCS_H
3#define INCLUDE_GUARD__TELECOMMAND_ADCS_H
4
5#include <stdint.h>
7
8// if we fail to properly extract a value, we should return the reason for that failure
9#define ABORT_CMD_FOR_FAILED_EXTRACT(x) uint8_t result = x; if (!(result)) { return result; }
10#define CHECK_ADCS_COMMAND_SUCCESS(x) if ((x)) { return x; }
11
12uint8_t TCMDEXEC_adcs_reset(const char *args_str,
13 char *response_output_buf, uint16_t response_output_buf_len);
14
15uint8_t TCMDEXEC_adcs_identification(const char *args_str,
16 char *response_output_buf, uint16_t response_output_buf_len);
17
18uint8_t TCMDEXEC_adcs_program_status(const char *args_str,
19 char *response_output_buf, uint16_t response_output_buf_len);
20
21uint8_t TCMDEXEC_adcs_communication_status(const char *args_str,
22 char *response_output_buf, uint16_t response_output_buf_len);
23
24uint8_t TCMDEXEC_adcs_deploy_magnetometer(const char *args_str,
25 char *response_output_buf, uint16_t response_output_buf_len);
26
27uint8_t TCMDEXEC_adcs_set_run_mode(const char *args_str,
28 char *response_output_buf, uint16_t response_output_buf_len);
29
30uint8_t TCMDEXEC_adcs_clear_errors(const char *args_str,
31 char *response_output_buf, uint16_t response_output_buf_len);
32
33uint8_t TCMDEXEC_adcs_attitude_control_mode(const char *args_str,
34 char *response_output_buf, uint16_t response_output_buf_len);
35
36uint8_t TCMDEXEC_adcs_attitude_estimation_mode(const char *args_str,
37 char *response_output_buf, uint16_t response_output_buf_len);
38
39uint8_t TCMDEXEC_adcs_ack(const char *args_str,
40 char *response_output_buf, uint16_t response_output_buf_len);
41
42uint8_t TCMDEXEC_adcs_run_once(const char *args_str,
43 char *response_output_buf, uint16_t response_output_buf_len);
44
45uint8_t TCMDEXEC_adcs_set_magnetometer_mode(const char *args_str,
46 char *response_output_buf, uint16_t response_output_buf_len);
47
48uint8_t TCMDEXEC_adcs_set_magnetorquer_output(const char *args_str,
49 char *response_output_buf, uint16_t response_output_buf_len);
50
51uint8_t TCMDEXEC_adcs_set_wheel_speed(const char *args_str,
52 char *response_output_buf, uint16_t response_output_buf_len);
53
54uint8_t TCMDEXEC_adcs_save_config(const char *args_str,
55 char *response_output_buf, uint16_t response_output_buf_len);
56
57uint8_t TCMDEXEC_adcs_estimate_angular_rates(const char *args_str,
58 char *response_output_buf, uint16_t response_output_buf_len);
59
60uint8_t TCMDEXEC_adcs_get_llh_position(const char *args_str,
61 char *response_output_buf, uint16_t response_output_buf_len);
62
63uint8_t TCMDEXEC_adcs_get_power_control(const char *args_str,
64 char *response_output_buf, uint16_t response_output_buf_len);
65
66uint8_t TCMDEXEC_adcs_set_power_control(const char *args_str,
67 char *response_output_buf, uint16_t response_output_buf_len);
68
69uint8_t TCMDEXEC_adcs_enter_low_power_mode(const char *args_str,
70 char *response_output_buf, uint16_t response_output_buf_len);
71
72uint8_t TCMDEXEC_adcs_track_sun(const char *args_str,
73 char *response_output_buf, uint16_t response_output_buf_len);
74
75uint8_t TCMDEXEC_adcs_set_magnetometer_config(const char *args_str,
76 char *response_output_buf, uint16_t response_output_buf_len);
77
78uint8_t TCMDEXEC_adcs_bootloader_clear_errors(const char *args_str,
79 char *response_output_buf, uint16_t response_output_buf_len);
80
81uint8_t TCMDEXEC_adcs_set_unix_time_save_mode(const char *args_str,
82 char *response_output_buf, uint16_t response_output_buf_len);
83
84uint8_t TCMDEXEC_adcs_get_unix_time_save_mode(const char *args_str,
85 char *response_output_buf, uint16_t response_output_buf_len);
86
87uint8_t TCMDEXEC_adcs_set_sgp4_orbit_params(const char *args_str,
88 char *response_output_buf, uint16_t response_output_buf_len);
89
90uint8_t TCMDEXEC_adcs_get_sgp4_orbit_params(const char *args_str,
91 char *response_output_buf, uint16_t response_output_buf_len);
92
93uint8_t TCMDEXEC_adcs_save_orbit_params(const char *args_str,
94 char *response_output_buf, uint16_t response_output_buf_len);
95
96uint8_t TCMDEXEC_adcs_rate_sensor_rates(const char *args_str,
97 char *response_output_buf, uint16_t response_output_buf_len);
98
99uint8_t TCMDEXEC_adcs_get_wheel_speed(const char *args_str,
100 char *response_output_buf, uint16_t response_output_buf_len);
101
102uint8_t TCMDEXEC_adcs_get_magnetorquer_command(const char *args_str,
103 char *response_output_buf, uint16_t response_output_buf_len);
104
105uint8_t TCMDEXEC_adcs_get_raw_magnetometer_values(const char *args_str,
106 char *response_output_buf, uint16_t response_output_buf_len);
107
108uint8_t TCMDEXEC_adcs_fine_angular_rates(const char *args_str,
109 char *response_output_buf, uint16_t response_output_buf_len);
110
111uint8_t TCMDEXEC_adcs_estimate_fine_angular_rates(const char *args_str,
112 char *response_output_buf, uint16_t response_output_buf_len);
113
114uint8_t TCMDEXEC_adcs_get_magnetometer_config(const char *args_str,
115 char *response_output_buf, uint16_t response_output_buf_len);
116
117uint8_t TCMDEXEC_adcs_get_commanded_attitude_angles(const char *args_str,
118 char *response_output_buf, uint16_t response_output_buf_len);
119
120uint8_t TCMDEXEC_adcs_set_commanded_attitude_angles(const char *args_str,
121 char *response_output_buf, uint16_t response_output_buf_len);
122
123uint8_t TCMDEXEC_adcs_set_estimation_params(const char *args_str,
124 char *response_output_buf, uint16_t response_output_buf_len);
125
126uint8_t TCMDEXEC_adcs_get_estimation_params(const char *args_str,
127 char *response_output_buf, uint16_t response_output_buf_len);
128
129uint8_t TCMDEXEC_adcs_set_augmented_sgp4_params(const char *args_str,
130 char *response_output_buf, uint16_t response_output_buf_len);
131
132uint8_t TCMDEXEC_adcs_get_augmented_sgp4_params(const char *args_str,
133 char *response_output_buf, uint16_t response_output_buf_len);
134
136 char *response_output_buf, uint16_t response_output_buf_len);
137
139 char *response_output_buf, uint16_t response_output_buf_len);
140
141uint8_t TCMDEXEC_adcs_set_rate_gyro_config(const char *args_str,
142 char *response_output_buf, uint16_t response_output_buf_len);
143
144uint8_t TCMDEXEC_adcs_get_rate_gyro_config(const char *args_str,
145 char *response_output_buf, uint16_t response_output_buf_len);
146
147uint8_t TCMDEXEC_adcs_estimated_attitude_angles(const char *args_str,
148 char *response_output_buf, uint16_t response_output_buf_len);
149
150uint8_t TCMDEXEC_adcs_magnetic_field_vector(const char *args_str,
151 char *response_output_buf, uint16_t response_output_buf_len);
152
153uint8_t TCMDEXEC_adcs_fine_sun_vector(const char *args_str,
154 char *response_output_buf, uint16_t response_output_buf_len);
155
156uint8_t TCMDEXEC_adcs_nadir_vector(const char *args_str,
157 char *response_output_buf, uint16_t response_output_buf_len);
158
159uint8_t TCMDEXEC_adcs_commanded_wheel_speed(const char *args_str,
160 char *response_output_buf, uint16_t response_output_buf_len);
161
162uint8_t TCMDEXEC_adcs_igrf_magnetic_field_vector(const char *args_str,
163 char *response_output_buf, uint16_t response_output_buf_len);
164
165uint8_t TCMDEXEC_adcs_quaternion_error_vector(const char *args_str,
166 char *response_output_buf, uint16_t response_output_buf_len);
167
168uint8_t TCMDEXEC_adcs_estimated_gyro_bias(const char *args_str,
169 char *response_output_buf, uint16_t response_output_buf_len);
170
171uint8_t TCMDEXEC_adcs_estimation_innovation_vector(const char *args_str,
172 char *response_output_buf, uint16_t response_output_buf_len);
173
174uint8_t TCMDEXEC_adcs_raw_cam1_sensor(const char *args_str,
175 char *response_output_buf, uint16_t response_output_buf_len);
176
177uint8_t TCMDEXEC_adcs_raw_cam2_sensor(const char *args_str,
178 char *response_output_buf, uint16_t response_output_buf_len);
179
180uint8_t TCMDEXEC_adcs_raw_coarse_sun_sensor_1_to_6(const char *args_str,
181 char *response_output_buf, uint16_t response_output_buf_len);
182
183uint8_t TCMDEXEC_adcs_raw_coarse_sun_sensor_7_to_10(const char *args_str,
184 char *response_output_buf, uint16_t response_output_buf_len);
185
186uint8_t TCMDEXEC_adcs_cubecontrol_current(const char *args_str,
187 char *response_output_buf, uint16_t response_output_buf_len);
188
189uint8_t TCMDEXEC_adcs_measurements(const char *args_str,
190 char *response_output_buf, uint16_t response_output_buf_len);
191
192uint8_t TCMDEXEC_adcs_generic_command(const char *args_str,
193 char *response_output_buf, uint16_t response_output_buf_len);
194
195uint8_t TCMDEXEC_adcs_generic_bootloader_command(const char *args_str,
196 char *response_output_buf, uint16_t response_output_buf_len);
197
198uint8_t TCMDEXEC_adcs_generic_telemetry_request(const char *args_str,
199 char *response_output_buf, uint16_t response_output_buf_len);
200
201uint8_t TCMDEXEC_adcs_download_sd_file_by_index(const char *args_str,
202 char *response_output_buf, uint16_t response_output_buf_len);
203
204uint8_t TCMDEXEC_adcs_download_sd_file_by_checksum(const char *args_str,
205 char *response_output_buf, uint16_t response_output_buf_len);
206
207uint8_t TCMDEXEC_adcs_acp_execution_state(const char *args_str,
208 char *response_output_buf, uint16_t response_output_buf_len);
209
210uint8_t TCMDEXEC_adcs_get_current_state_1(const char *args_str,
211 char *response_output_buf, uint16_t response_output_buf_len);
212
213uint8_t TCMDEXEC_adcs_save_image_to_sd(const char *args_str,
214 char *response_output_buf, uint16_t response_output_buf_len);
215
216uint8_t TCMDEXEC_adcs_request_commissioning_telemetry(const char *args_str,
217 char *response_output_buf, uint16_t response_output_buf_len);
218
219uint8_t TCMDEXEC_adcs_synchronize_unix_time(const char *args_str,
220 char *response_output_buf, uint16_t response_output_buf_len);
221
222uint8_t TCMDEXEC_adcs_get_current_unix_time(const char *args_str,
223 char *response_output_buf, uint16_t response_output_buf_len);
224
225uint8_t TCMDEXEC_adcs_set_sd_log_config(const char *args_str,
226 char *response_output_buf, uint16_t response_output_buf_len);
227
228uint8_t TCMDEXEC_adcs_get_sd_log_config(const char *args_str,
229 char *response_output_buf, uint16_t response_output_buf_len);
230
231uint8_t TCMDEXEC_adcs_format_sd(const char *args_str,
232 char *response_output_buf, uint16_t response_output_buf_len);
233
234uint8_t TCMDEXEC_adcs_download_index_file(const char *args_str,
235 char *response_output_buf, uint16_t response_output_buf_len);
236
237uint8_t TCMDEXEC_adcs_set_commissioning_modes(const char *args_str,
238 char *response_output_buf, uint16_t response_output_buf_len);
239
240uint8_t TCMDEXEC_adcs_erase_sd_file_by_index(const char *args_str,
241 char *response_output_buf, uint16_t response_output_buf_len);
242
243uint8_t TCMDEXEC_adcs_erase_sd_file_by_checksum(const char *args_str,
244 char *response_output_buf, uint16_t response_output_buf_len);
245
246uint8_t TCMDEXEC_adcs_exit_bootloader(const char *args_str,
247 char *response_output_buf, uint16_t response_output_buf_len);
248
249uint8_t TCMDEXEC_adcs_convert_to_jpg_by_index(const char *args_str,
250 char *response_output_buf, uint16_t response_output_buf_len);
251
252uint8_t TCMDEXEC_adcs_convert_to_jpg_by_checksum(const char *args_str,
253 char *response_output_buf, uint16_t response_output_buf_len);
254
255uint8_t TCMDEXEC_adcs_get_wheel_currents(const char *args_str,
256 char *response_output_buf, uint16_t response_output_buf_len);
257
258uint8_t TCMDEXEC_adcs_get_cubesense_currents(const char *args_str,
259 char *response_output_buf, uint16_t response_output_buf_len);
260
261uint8_t TCMDEXEC_adcs_get_misc_currents(const char *args_str,
262 char *response_output_buf, uint16_t response_output_buf_len);
263
264#endif // INCLUDE_GUARD__TELECOMMAND_adcs_H
uint8_t TCMDEXEC_adcs_set_magnetometer_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the magnetometer mode of the ADCS.
Definition telecommand_adcs.c:469
uint8_t TCMDEXEC_adcs_set_sd_log_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Repeatedly log given data from an SD card.
Definition telecommand_adcs.c:2057
uint8_t TCMDEXEC_adcs_fine_sun_vector(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1508
uint8_t TCMDEXEC_adcs_get_magnetorquer_command(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:967
uint8_t TCMDEXEC_adcs_set_rate_gyro_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1384
uint8_t TCMDEXEC_adcs_cubecontrol_current(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1805
uint8_t TCMDEXEC_adcs_reset(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:258
uint8_t TCMDEXEC_adcs_set_wheel_speed(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the wheel speed of the ADCS.
Definition telecommand_adcs.c:233
uint8_t TCMDEXEC_adcs_nadir_vector(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1535
uint8_t TCMDEXEC_adcs_download_index_file(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Get the list of downloadable files from the ADCS SD card as log messages.
Definition telecommand_adcs.c:1861
uint8_t TCMDEXEC_adcs_convert_to_jpg_by_checksum(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Instruct the ADCS to convert an SD card file to JPG format.
Definition telecommand_adcs.c:3057
uint8_t TCMDEXEC_adcs_request_commissioning_telemetry(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request commissioning telemetry from the ADCS and save it to the onboard SD card.
Definition telecommand_adcs.c:2722
uint8_t TCMDEXEC_adcs_get_current_state_1(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1964
uint8_t TCMDEXEC_adcs_get_commanded_attitude_angles(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1076
uint8_t TCMDEXEC_adcs_measurements(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1832
uint8_t TCMDEXEC_adcs_save_orbit_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:903
uint8_t TCMDEXEC_adcs_track_sun(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Automatically track the sun with the ADCS.
Definition telecommand_adcs.c:676
uint8_t TCMDEXEC_adcs_acp_execution_state(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1936
uint8_t TCMDEXEC_adcs_erase_sd_file_by_index(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Instruct the ADCS to erase a file from the SD card.
Definition telecommand_adcs.c:2930
uint8_t TCMDEXEC_adcs_get_wheel_currents(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the reaction wheel current values from the ADCS.
Definition telecommand_adcs.c:3114
uint8_t TCMDEXEC_adcs_format_sd(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Instruct the ADCS to format the SD card.
Definition telecommand_adcs.c:2920
uint8_t TCMDEXEC_adcs_set_commanded_attitude_angles(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1105
uint8_t TCMDEXEC_adcs_get_cubesense_currents(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the CubeSense current values from the ADCS.
Definition telecommand_adcs.c:3142
uint8_t TCMDEXEC_adcs_raw_coarse_sun_sensor_1_to_6(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1751
uint8_t TCMDEXEC_adcs_get_raw_magnetometer_values(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the raw magnetometer values from the ADCS.
Definition telecommand_adcs.c:995
uint8_t TCMDEXEC_adcs_set_magnetometer_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:756
uint8_t TCMDEXEC_adcs_set_augmented_sgp4_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1245
uint8_t TCMDEXEC_adcs_raw_cam1_sensor(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1697
uint8_t TCMDEXEC_adcs_magnetic_field_vector(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1481
uint8_t TCMDEXEC_adcs_exit_bootloader(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: If the ADCS is currently stuck in the bootloader, run the internal flash program (CubeAC...
Definition telecommand_adcs.c:2972
uint8_t TCMDEXEC_adcs_raw_cam2_sensor(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1724
uint8_t TCMDEXEC_adcs_communication_status(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:322
uint8_t TCMDEXEC_adcs_estimated_attitude_angles(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1454
uint8_t TCMDEXEC_adcs_get_estimation_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1202
uint8_t TCMDEXEC_adcs_estimate_fine_angular_rates(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1022
uint8_t TCMDEXEC_adcs_set_unix_time_save_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Choose the circumstances to save the current Unix time.
Definition telecommand_adcs.c:792
uint8_t TCMDEXEC_adcs_attitude_estimation_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:442
uint8_t TCMDEXEC_adcs_bootloader_clear_errors(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:779
uint8_t TCMDEXEC_adcs_run_once(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: If ADCS run mode is Triggered, run the ADCS sensor loop.
Definition telecommand_adcs.c:459
uint8_t TCMDEXEC_adcs_synchronize_unix_time(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Synchronize the current ADCS Unix epoch time.
Definition telecommand_adcs.c:2016
uint8_t TCMDEXEC_adcs_program_status(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:295
uint8_t TCMDEXEC_adcs_set_magnetorquer_output(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the magnetorquer output values.
Definition telecommand_adcs.c:488
uint8_t TCMDEXEC_adcs_generic_telemetry_request(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: obtain generic telemetry from the ADCS.
Definition telecommand_adcs.c:122
uint8_t TCMDEXEC_adcs_identification(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:268
uint8_t TCMDEXEC_adcs_get_unix_time_save_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:820
uint8_t TCMDEXEC_adcs_get_llh_position(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:547
uint8_t TCMDEXEC_adcs_save_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:510
uint8_t TCMDEXEC_adcs_set_sgp4_orbit_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the ADCS Simplified General Perturbations (SGP4) orbit parameters.
Definition telecommand_adcs.c:854
uint8_t TCMDEXEC_adcs_enter_low_power_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Put the ADCS in low-power mode, with only essential component power.
Definition telecommand_adcs.c:635
uint8_t TCMDEXEC_adcs_get_wheel_speed(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:940
uint8_t TCMDEXEC_adcs_generic_command(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: execute a generic command on the ADCS.
Definition telecommand_adcs.c:27
uint8_t TCMDEXEC_adcs_igrf_magnetic_field_vector(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1589
uint8_t TCMDEXEC_adcs_save_image_to_sd(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Save an image to the ADCS onboard SD card.
Definition telecommand_adcs.c:1992
uint8_t TCMDEXEC_adcs_deploy_magnetometer(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:349
uint8_t TCMDEXEC_adcs_get_sd_log_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Retrieve the current ADCS SD log configuration.
Definition telecommand_adcs.c:2105
uint8_t TCMDEXEC_adcs_set_estimation_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1143
uint8_t TCMDEXEC_adcs_set_tracking_controller_target_reference(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the ADCS tracking controller target reference (location on Earth to point towards).
Definition telecommand_adcs.c:1328
uint8_t TCMDEXEC_adcs_get_tracking_controller_target_reference(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1351
uint8_t TCMDEXEC_adcs_get_sgp4_orbit_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:876
uint8_t TCMDEXEC_adcs_attitude_control_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the attitude control mode of the ADCS; needs Power Control to be set before working.
Definition telecommand_adcs.c:411
uint8_t TCMDEXEC_adcs_download_sd_file_by_checksum(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Download a specific file from the ADCS SD card by its checksum.
Definition telecommand_adcs.c:1912
uint8_t TCMDEXEC_adcs_quaternion_error_vector(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1616
uint8_t TCMDEXEC_adcs_set_power_control(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the power control mode of each component of the ADCS; for each, 0 turns the componen...
Definition telecommand_adcs.c:610
uint8_t TCMDEXEC_adcs_get_misc_currents(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the CubeStar (unused) and magnetorquer current values as well as the microcontro...
Definition telecommand_adcs.c:3170
uint8_t TCMDEXEC_adcs_convert_to_jpg_by_index(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Instruct the ADCS to convert an SD card file to JPG format.
Definition telecommand_adcs.c:3007
uint8_t TCMDEXEC_adcs_estimate_angular_rates(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:520
uint8_t TCMDEXEC_adcs_commanded_wheel_speed(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1562
uint8_t TCMDEXEC_adcs_set_run_mode(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:366
uint8_t TCMDEXEC_adcs_raw_coarse_sun_sensor_7_to_10(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1778
uint8_t TCMDEXEC_adcs_get_power_control(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:574
uint8_t TCMDEXEC_adcs_estimated_gyro_bias(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1643
uint8_t TCMDEXEC_adcs_fine_angular_rates(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
uint8_t TCMDEXEC_adcs_estimation_innovation_vector(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1670
uint8_t TCMDEXEC_adcs_get_magnetometer_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1049
uint8_t TCMDEXEC_adcs_download_sd_file_by_index(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Download a specific file from the ADCS SD card by its index.
Definition telecommand_adcs.c:1894
uint8_t TCMDEXEC_adcs_get_augmented_sgp4_params(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1299
uint8_t TCMDEXEC_adcs_rate_sensor_rates(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:913
uint8_t TCMDEXEC_adcs_set_commissioning_modes(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Set the run, power control, estimation, and control parameters for a given commissioning...
Definition telecommand_adcs.c:2143
uint8_t TCMDEXEC_adcs_clear_errors(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:383
uint8_t TCMDEXEC_adcs_get_rate_gyro_config(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:1427
uint8_t TCMDEXEC_adcs_generic_bootloader_command(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: execute a generic command on the ADCS bootloader.
Definition telecommand_adcs.c:74
uint8_t TCMDEXEC_adcs_erase_sd_file_by_checksum(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Instruct the ADCS to erase a file from the SD card.
Definition telecommand_adcs.c:2946
uint8_t TCMDEXEC_adcs_get_current_unix_time(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Retrieve the current ADCS Unix epoch time.
Definition telecommand_adcs.c:2026
uint8_t TCMDEXEC_adcs_ack(const char *args_str, char *response_output_buf, uint16_t response_output_buf_len)
Telecommand: Request the given telemetry data from the ADCS.
Definition telecommand_adcs.c:204