|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--RtjAocsFramework.BasicObjects.RootObject
|
+--RtjAocsFramework.BasicObjects.AocsObject
|
+--JbedSmmApplication.TelecommandManagement.JbedSmmTelecommandLoader
Telecommand loader for the Jbed SMM application. Four types of telecommands are recognized. 1) A telecommand to change the mode of the Mission Mode Manager; 2) A telecommand to force a software reset; 3) A telecommand to load a manoeuvre to execute a triangular wave profile on the actuator set point; 4) A telecommand to load a manoeuvre to execute a ramp profile on the actuator set point.
Copyright: see the Copyright Notice.
| Field Summary |
| Fields inherited from interface RtjAocsFramework.TelemetryManagement.Telemeterable |
DEBUG_TM, LONG_TM, NORMAL_TM, NTMFORMATS, SHORT_TM |
| Constructor Summary | |
JbedSmmTelecommandLoader()
Default constructor |
|
| Method Summary | |
TelecommandManager |
getTelecommandManager()
Return the telecommand manager. |
boolean |
initialize()
Initialize an active object before it is scheduled. |
boolean |
isConfigured()
Check that the component is configured. |
void |
release(int TelecommandId)
This method is not implemented. |
void |
release(Telecommand telecommand)
Release resources allocated to argument telecommand. |
void |
releaseAll()
Release all resources allocated to the currently loaded telecommands. |
void |
resetConfiguration()
Unload all plug-in components. |
void |
runOneCycle(int deadline)
Check if any telecommands have been received and, if so, construct the telecommand object and load it into the TC Manager. |
void |
setActuatorSetPoint(AocsData actSetPoint)
Initialization method to set the actutor setpoint. |
void |
setConnection(JbedSmmConnectionInstaller connection)
Sets a component that is resposible for establishment of a connection between the client and server. |
void |
setManoeuvreManager(ManoeuvreManager manManager)
Initialization method to set the manoeuvre manager where the triangular wave profile manoeuvre is loaded. |
void |
setMissionModeManager(AocsMissionModeManager manManager)
Initialization method to set the mission mode manager. |
void |
setRampManoeuvre(JbedSmmRamp manoeuvre)
Initialization method to set the manoeuvre that executes the ramp profile. |
void |
setTelecommandManager(TelecommandManager tm)
Set the telecommand manager. |
void |
setTriangularWaveManoeuvre(JbedSmmTriangularWave manoeuvre)
Initialization method to set the manoeuvre that executes the triangular wave profile. |
boolean |
terminate()
Perfrom any shutdown actions before an active is de-scheduled. |
| Methods inherited from class RtjAocsFramework.BasicObjects.RootObject |
getClassId, getInstanceId, setClassId |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JbedSmmTelecommandLoader()
| Method Detail |
public boolean isConfigured()
isConfigured in interface ConfigurableisConfigured in class AocsObjectpublic void resetConfiguration()
resetConfiguration in interface ConfigurableresetConfiguration in class AocsObjectpublic void setMissionModeManager(AocsMissionModeManager manManager)
public void setTriangularWaveManoeuvre(JbedSmmTriangularWave manoeuvre)
public void setRampManoeuvre(JbedSmmRamp manoeuvre)
public void setManoeuvreManager(ManoeuvreManager manManager)
public void setActuatorSetPoint(AocsData actSetPoint)
public void release(int TelecommandId)
release in interface TelecommandLoaderTelecommandLoader.release(int),
release(Telecommand)public void release(Telecommand telecommand)
TelecommandLoader
release in interface TelecommandLoaderrelease(int)public void releaseAll()
TelecommandLoader
releaseAll in interface TelecommandLoaderrelease(int)public void setTelecommandManager(TelecommandManager tm)
setTelecommandManager in interface TelecommandLoaderpublic TelecommandManager getTelecommandManager()
getTelecommandManager in interface TelecommandLoaderTelecommandLoader.setTelecommandManager(TelecommandManager)public void runOneCycle(int deadline)
The mode change telecommand has a TC ID equal to 1. It carries one single telecommand-specific data that identifies the target mode.
The software reset telecommand has a TC ID equal to 2. It carries no telecommand-specific data.
The triangular wave telecommand has a TC ID equal to 3. It carries four telecommand-specific data: 1) the start time for the triangular wave profile, 2) the period of the wave profile, 3) amplitude of the profile, 4) the number of cycles of the triangular wave.
The ramp profile telecommand has a TC ID equal to 4. It carries three telecommand-specific data: 1) the start time for the triangular wave profile, 2) the end time of the manoeuvre, 3) the end value of the ramp profile.
runOneCycle in interface ActiveObjectdeadline - deadline by which the object must have returned. This
parameter allows implementation of cooperative scheduling.public boolean initialize()
ActiveObject
initialize in interface ActiveObjectpublic boolean terminate()
ActiveObject
terminate in interface ActiveObjectpublic void setConnection(JbedSmmConnectionInstaller connection)
connection - the connection component
|
Real-Time Java AOCS Framework v1.0 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||