cmd("EYASSAT_IF ADCS_EXTRA with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 7, CCSDS_FUNCCODE 6, CCSDS_CHECKSUM 0, CODE 'ae', EXTRA 10.0")
sleep(2)
for i in 0..10
cmd("EYASSAT_IF ADCS_CTRL_ALG with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'ac', CTRL_ALG 0")
sleep(2)
cmd("EYASSAT_IF ADCS_PWM_BASELINE with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'am', PWM 60")
sleep(2)
cmd("EYASSAT_IF ADCS_CTRL_ALG with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'ac', CTRL_ALG DBSUN")
sleep(2)
cmd("EYASSAT_IF ADCS_YAW_CMD with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 7, CCSDS_FUNCCODE 6, CCSDS_CHECKSUM 0, CODE 'ao', YAW_CMD 270")
sleep(45)
cmd("EYASSAT_IF ADCS_CTRL_ALG with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'ac', CTRL_ALG 0")
sleep(2)
cmd("EYASSAT_IF ADCS_PWM_BASELINE with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'am', PWM 60")
sleep(2)
cmd("EYASSAT_IF ADCS_CTRL_ALG with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'ac', CTRL_ALG DBMAG")
sleep(2)
cmd("EYASSAT_IF ADCS_YAW_CMD with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 7, CCSDS_FUNCCODE 6, CCSDS_CHECKSUM 0, CODE 'ao', YAW_CMD 180")
sleep(45)
cmd("EYASSAT_IF ADCS_YAW_CMD with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 7, CCSDS_FUNCCODE 6, CCSDS_CHECKSUM 0, CODE 'ao', YAW_CMD 0")
sleep(45)
end
cmd("EYASSAT_IF ADCS_CTRL_ALG with CCSDS_STREAMID 6613, CCSDS_SEQUENCE 49152, CCSDS_LENGTH 5, CCSDS_FUNCCODE 5, CCSDS_CHECKSUM 0, CODE 'ac', CTRL_ALG DEFAULT")