SCAMP Control Station Programmer Notes

 Application Name:

 scamp

 Development Path:

 ACS/scamp/

 Wm_appl =

 15

 Wm_winNum =

 7

Contents

Form Information
Scamp IO Control = ioControl
Scamp Summary Control = scampSum
Scamp Thruster Panel = scampThrust
Scamp ACS = scampPend
Scamp PiVecs = scampPiVecs
Scamp Debug Thrusters = scampDebug
IO Display = IODisplay
 

Form Infomation


Wm_form[1] = ioControl
Label = "Scamp IO Control"
 
This form is compiled using the ioControl function files which are used by every module using input devices to control a project.
 
Go to ioControl info.
 

Wm_form[2] = scampSum
Label = "Scamp Summary Control"

Objects

cac_CmdObj
[2] Command Authority Button -> cmdCB(0)
 
scampSumSysObj
[0] File Menu button -> wm_fileMenuButtonCB(0)
[2] Display Menu Button -> wm_displayMenuButtonCB(0)
 
scampSumLabelObj
[0-4] Gains, Time Delay [s], Hold, Desired, Actual
[5-7] P, I, D
 
scampSumCmdObj
None
 
scampSumObj
[1] Motor Power Button -> scamp_buttonCB(1)
[2] Download Code Button-> scamp_buttonCB(2)
[3] View Sensors Button-> scamp_buttonCB(3)
[4] Gravity Comp Button-> scamp_buttonCB(4)
[5-6] are on scampPend form
[7] P Gains Input-> scamp_buttonCB(7)
[8] I Gains Input-> scamp_buttonCB(8)
[9] D Gains Input-> scamp_buttonCB(9)
[10] Time Delay Input-> scamp_buttonCB(10)
[11] on scampDebug form
[12] scampSum Copy Button-> scamp_buttonCB(12)
[13] on scampPend form
 
 
scampSumCmd1Obj
[0-5] Hold Buttons -> scamp_holdCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
 
scampSumCmd2Obj
[0-5] Up Buttons -> scamp_upButtonCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
 
scampSumCmd3Obj
[0-5] Down Buttons -> scamp_downButtonCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
 
scampSumCmd4Obj
[0-2] Desired Inputs -> scamp_inputCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
Only X, Y, and Z are on scampSum form. Roll, Pitch, and Yaw inputs are on scampPend
 
scampSumTelObj
None
 
scampSumTel1Obj
[0-2] Actual Inputs -> scamp_inputCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
Only X, Y, and Z are on scampSum form. Roll, Pitch, and Yaw inputs are on scampPend
None
 

Wm_form[3] = scampThrust
Label = "Scamp Thruster Panel"

Objects

cac_CmdObj
[3] Command Authority Button -> cmdCB(0)
 
scampThrustSysObj
[0] File Menu button -> wm_fileMenuButtonCB(0)
[2] Display Menu Button -> wm_displayMenuButtonCB(0)
 
scampThrustLabelObj
None
 
scampThrustCmdObj
None
 
scampThrustTelObj
[0] Top Scamp Pict
[1] Back Scamp Pict
[2] Side Scamp Pict
 
scampThrustTel1Obj
[0-11] Graphcal Thruster Velocity Sliders
 

Wm_form[4] = scampPend
Label = "Scamp ACS"
 
Objects
 
cac_CmdObj
[4] Command Authority Button -> cmdCB(0)
 
scampPendSysObj
[0] File Menu button -> wm_fileMenuButtonCB(0)
[2] Display Menu Button -> wm_displayMenuButtonCB(0)
 
scampPendLabelObj
[0] Pitch
[1] = 0, [2] = 90, [3] = 180, [4] = -90
[5] Rate
[6] Desired
[7] Actual
 
scampPendCmdObj
None
 
scampPendTelObj
[0] Pitch Dial
[1] Pitch Rate Slider
[2] Pitch Rate Input
 
scampCmdObj
[5] Use Pendulum -> scamp_buttonCB(5)
[6] Init Pendulum -> scamp_buttonCB(6)
[13] Copy Button -> scamp_buttonCB(13)
 
scampSumCmd4Obj
[3-5] Desired Inputs -> scamp_inputCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
Only X, Y, and Z are on scampSum form. Roll, Pitch, and Yaw inputs are on scampPend
 
scampSumTel1Obj
[3-5] Actual Inputs -> scamp_inputCB(i)
where i is the id of the button [0] = X, [1] = Y, [2 ]= Z, [3] = Roll, [4] = Pitch, [5 ]= Yaw
Only X, Y, and Z are on scampSum form. Roll, Pitch, and Yaw inputs are on scampPend
 

Wm_form[5] = scampPiVecs
Label = "Scamp PiVecs"
 
Objects
 
cac_CmdObj
[5] Command Authority Button -> cmdCB(0)
 
scampPiVecsSysObj
[0] File Menu button -> wm_fileMenuButtonCB(0)
[2] Display Menu Button -> wm_displayMenuButtonCB(0)
 
scampPiVecsLabelObj
[0-37] hexademical labels for each message
[0] = 00, [1] = 01, [2] = 02, [3] = 03, [4] = 04, [5] = 05, [6] = 06, [7] = 07, [8] = 08, [9] = 09, [10] = 0A, [11] = 0B, [12] = 0C, [13] = 0D, [14] = 0E, [15] = 0F, [16] = 10, [17] = 11, [18] = 12, [19] = 13, [20] = 14, [21] = 15, [22] = 16, [23] = 17, [24] = 18, [25] = 19, [26] =1A, [27] = 1B, [28] = 1C, [29] = 1D, [30] = 1E, [31] = 1F
[32] = COM, [33] = RCV, [34] = PAR, [35] = STK, [36] = SND, [37] = ERR
 
scampPiVecsCmdObj
[0] display messages ->scamp_displayMessageCB(0)
 
scampPiVecsLTelObj
[0] Local label for BS, SD
[1] Remote lable for BS, SD
 
scampPiVecsTel1Obj
[0-37] Local Pivecs Indicators
[0] = 00, [1] = 01, [2] = 02, [3] = 03, [4] = 04, [5] = 05, [6] = 06, [7] = 07, [8] = 08, [9] = 09, [10] = 0A, [11] = 0B, [12] = 0C, [13] = 0D, [14] = 0E, [15] = 0F, [16] = 10, [17] = 11, [18] = 12, [19] = 13, [20] = 14, [21] = 15, [22] = 16, [23] = 17, [24] = 18, [25] = 19, [26] =1A, [27] = 1B, [28] = 1C, [29] = 1D, [30] = 1E, [31] = 1F
[32] = COM, [33] = RCV, [34] = PAR, [35] = STK, [36] = SND, [37] = ERR
 
 

Wm_form[6] = scampDebug
Label = "Scamp Debug Thrusters"
 
Objects
 
cac_CmdObj
[6] Command Authority Button -> cmdCB(0)
 
scampDebugSysObj
[0] File Menu button -> wm_fileMenuButtonCB(0)
[2] Display Menu Button -> wm_displayMenuButtonCB(0)
 
scampDebugLabelObj
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2, [6] = C, [7] = D, [8] = A
 
scampDebugCmdObj
None
 
scampDebugTelObj
None
 
scampDebugTel1Obj
[0-5] Command Thruster Input
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2
 
scampDebugTel2Obj
[0-5] Desired Thruster Input
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2
 
scampDebugTel3Obj
[0-5] Actual Thruster Input
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2
 
scampDebugTel4Obj
[0-5] Command Thruster Sliders
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2
 
scampDebugTel5Obj
[0-5] Desired Thruster Sliders
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2
 
scampDebugTel5Obj
[0-5] Actual Thruster Sliders
[0] = X1, [1] = X2, [2] = Y1, [3] = Y3, [4] = Z1, [5] = Z2
 
scampSumObj
[11] Debug On Button -> scamp_buttonCB(11)

Wm_form[7] = IODisplay
Label = "IO Display"
 
This form is compiled using the ioDisplay function files which are used by every module using input devices to control a project.
 
Go to IODisplay info.