Comment:
Second experiment to run nadir pointing. This time, suns sensors are illuminated. First data looks promising, quaternion is geting stabilized.
At time 4:45 TC to change to observation for 600s is issued. On graphs it can be seen that angular velocity increases as it stabilizes and then decreases as is stabilizes.
After 100sec, reported angular error is 7.3 deg, which is good. But reported loop time is over 1000 ms, which means processor cannot keep up.
(UTC: 2024-12-05T04:45:53Z)
No request struct given.
Response (JSON):
Payload UPY_Get_Python_State_resp
request peripheral check
state = 3 ... execution state
index = 4 ... index of currently running script
runtime = 331005 ms ... total script runtime
loop_first = 10301 ms ... first loop time
loop_last = 1589 ms ... last loop time
loop_avg = 1019 ms ... average loop time
loop_max = 1890 ms ... maximum loop time
cycles = 316 ... number of cycles
extra_info = 65, 69, 49, 48, 57, 46, 56, 44, 87, 69, 49, 46, 49, 44, 71, 49, 46, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ... extra information from python
Extra info: AE109.8,WE1.1,G1.2
(UTC: 2024-12-05T04:47:49Z)
No request struct given.
Response (JSON):
Payload UPY_Get_Python_State_resp
request peripheral check
state = 3 ... execution state
index = 4 ... index of currently running script
runtime = 447202 ms ... total script runtime
loop_first = 10301 ms ... first loop time
loop_last = 1238 ms ... last loop time
loop_avg = 1191 ms ... average loop time
loop_max = 1890 ms ... maximum loop time
cycles = 414 ... number of cycles
extra_info = 65, 69, 55, 46, 51, 44, 87, 69, 48, 46, 50, 44, 71, 48, 46, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ... extra information from python
Extra info: AE7.3,WE0.2,G0.4
From data it is also apparent that in 4:51, RW are satureted and cannot keep up with environment. This is expected as momentum managment is turned off.
Guidance commands:
vac g sq 0,0,0,1 LVLH 1
vac g gt 1
Payload VAC_Get_Target
get target
slot = 1 ... slot
Response (JSON):
Payload VAC_Get_Target_resp
response to Get_Target
reply = 0 ... 0 for OK, <0 for error code
param_type = 0 ... param type (0 for quaternion, 1 for vectors)
q_ref = 0, 0, 0, 1 ... reference quaternion
q_reference_frame = 2 ... reference quaternion frame (0 for ECI, 1 for ECEF, 2 for LVLH, 3 for LLA)
pv_body = 0, 0, 0 ... primary body vector
pv_ref = 0, 0, 0 ... primary reference vector
pv_reference_frame = 255 ... primary reference frame (0 for ECI, 1 for ECEF, 2 for LVLH, 3 for LLA, 4 for Sun)
sv_body = 0, 0, 0 ... secondary body vector
sv_ref = 0, 0, 0 ... secondary reference vector
sv_reference_frame = 255 ... secondary reference frame (0 for ECI, 1 for ECEF, 2 for LVLH, 3 for LLA, 4 for Sun)