New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to start the whole cFS application #83
Comments
To use the cFS apps you can build the system using the preconfigured
targets in osk_defs. The 'simsat' target uses most of the NASA cFS apps.
If you want to use COSMO with the cFS built using osk_defs then the 'Quick
Start Guide' in the docs directory is a good place to start.
…On Wed, Feb 23, 2022 at 6:10 AM ryuxin ***@***.***> wrote:
I have successfully built the cFS source code and generated the executable
binary.
After I run the binary build/exe/cfsat/core-cfsat, it seems the program
is stuck or waiting for someting.
this is the output
***@***.*** cfsat]# ./core-cfsat
CFE_PSP: Default Reset Type = PO
CFE_PSP: Default Reset SubType = 1
CFE_PSP: Default CPU ID = 1
CFE_PSP: Default Spacecraft ID = 42
CFE_PSP: Default CPU Name: cfsat
CFE_PSP: Starting the cFE with a POWER ON reset.
Policy 1: available, min-max: 1-99
Policy 2: available, min-max: 1-99
Selected policy 2 for RT tasks, root task = 99
Maximum user msg queue depth = 10
OSAL: Registering VolumeTable map for ./cf on /cf
CFE_PSP: Clearing out CFE CDS Shared memory segment.
CFE_PSP: Clearing out CFE Reset Shared memory segment.
CFE_PSP: Clearing out CFE User Reserved Shared memory segment.
2032-053-01:50:02.71654 POWER ON RESET due to Power Cycle (Power Cycle).
2032-053-01:50:02.71655 ES Startup: CFE_ES_Main in EARLY_INIT state
CFE_PSP: CFE_PSP_AttachExceptions Called
2032-053-01:50:02.71659 ES Startup: CFE_ES_Main entering CORE_STARTUP state
2032-053-01:50:02.71660 ES Startup: Starting Object Creation calls.
2032-053-01:50:02.71660 ES Startup: Calling CFE_ES_CDSEarlyInit
2032-053-01:50:02.71664 ES Startup: Calling CFE_EVS_EarlyInit
2032-053-01:50:02.71665 Event Log cleared following power-on reset
2032-053-01:50:02.71666 ES Startup: Calling CFE_SB_EarlyInit
2032-053-01:50:02.71670 SB internal message format: CCSDS Space Packet Protocol version 1
2032-053-01:50:02.71671 ES Startup: Calling CFE_TIME_EarlyInit
1980-012-14:03:20.00000 ES Startup: Calling CFE_TBL_EarlyInit
1980-012-14:03:20.00007 ES Startup: Calling CFE_FS_EarlyInit
1980-012-14:03:20.00012 ES Startup: Core App: CFE_EVS created. App ID: 0
EVS Port1 42/1/CFE_EVS 1: cFE EVS Initialized. cFE Version 6.7.1.0
EVS Port1 42/1/CFE_EVS 14: No subscribers for MsgId 0x808,sender CFE_EVS
1980-012-14:03:20.05018 ES Startup: Core App: CFE_SB created. App ID: 1
1980-012-14:03:20.05020 SB:Registered 4 events for filtering
EVS Port1 42/1/CFE_SB 1: cFE SB Initialized
EVS Port1 42/1/CFE_SB 14: No subscribers for MsgId 0x808,sender CFE_SB
1980-012-14:03:20.10022 ES Startup: Core App: CFE_ES created. App ID: 2
EVS Port1 42/1/CFE_ES 1: cFE ES Initialized
EVS Port1 42/1/CFE_SB 14: No subscribers for MsgId 0x808,sender CFE_ES
EVS Port1 42/1/CFE_ES 2: Versions:cFE 6.7.1.0, OSAL 5.0.1.0, PSP 1.4.0.0, chksm 49216
EVS Port1 42/1/CFE_SB 14: No subscribers for MsgId 0x808,sender CFE_ES
EVS Port1 42/1/CFE_ES 91: Mission v3.2-dirty.osk
EVS Port1 42/1/CFE_SB 14: No subscribers for MsgId 0x808,sender CFE_ES
EVS Port1 42/1/CFE_ES 92: Build 202202220945 ***@***.***
1980-012-14:03:20.15026 ES Startup: Core App: CFE_TIME created. App ID: 3
EVS Port1 42/1/CFE_TIME 1: cFE TIME Initialized
1980-012-14:03:20.20030 ES Startup: Core App: CFE_TBL created. App ID: 4
EVS Port1 42/1/CFE_TBL 1: cFE TBL Initialized. cFE Version 6.7.1.0
1980-012-14:03:20.25032 ES Startup: Finished ES CreateObject table entries.
1980-012-14:03:20.25033 ES Startup: CFE_ES_Main entering CORE_READY state
1980-012-14:03:20.25034 ES Startup: Opened ES App Startup file: /cf/cfe_es_startup.scr
1980-012-14:03:20.25053 ES Startup: Loading shared library: /cf/cfs_lib.so
CFS Lib Initialized. Version 2.2.0.01980-012-14:03:20.25080 ES Startup: Loading shared library: /cf/osk_c_fw.so
OSK C Application Framework Library Initialized. Version 2.0.0
1980-012-14:03:20.25105 ES Startup: Loading file: /cf/kit_to.so, APP: KIT_TO
1980-012-14:03:20.25128 ES Startup: KIT_TO loaded and created
1980-012-14:03:20.25151 ES Startup: Loading file: /cf/kit_ci.so, APP: KIT_CI
1980-012-14:03:20.25162 ES Startup: KIT_CI loaded and created
EVS Port1 42/1/KIT_CI 100: KIT_CI Initialized. Version 1.1.0
EVS Port1 42/1/KIT_TO 312: Removed 0 table packet entries
EVS Port1 42/1/KIT_TO 302: Successfully loaded new table with 37 packets
EVS Port1 42/1/KIT_TO 25: Successfully replaced table 0 using file /cf/osk_to_pkt_tbl.json
EVS Port1 42/1/KIT_TO 100: KIT_TO Initialized. Version 2.1.0
1980-012-14:03:20.30164 ES Startup: CFE_ES_Main entering APPS_INIT state
1980-012-14:03:20.30165 ES Startup: CFE_ES_Main entering OPERATIONAL state
EVS Port1 42/1/CFE_TIME 21: Stop FLYWHEEL
I enable the following cfs apps
SET(TGT1_APPLIST cfs_lib osk_c_fw kit_ci kit_sch kit_to osk_c_tutor)
SET(TGT1_FILELIST cfe_es_startup.scr osk_to_pkt_tbl.json osk_sch_msg_tbl.json osk_sch_sch_tbl.json osk_c_demo_ini.json osk_c_demo_tbl.json)
What should I do next to continue to run the cFS applications?
Thanks
—
Reply to this email directly, view it on GitHub
<#83>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMGKCC4OI2VZDLR2NCWTZTU4S6C3ANCNFSM5PEA2M7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@dmccomas Thanks for your response. |
@dmccomas I have built the Thanks |
COSMOS is used as OSK's main application and assumes the platform supports
a GUI. The COSMOS Command and Telemetry server is the single tool you must
run because it reads the cmd & tlm definition files and establishes an
interface to the cFS. I don't know whether it can be run without its GUI
and that's a question for the Ball Aerospace
https://github.com/BallAerospace/COSMOS . If it can be run headless then
you may have options other than ruby. I think they have an external JSON
interface and a python binding.
You may be able run the cFS python mini ground station without a GUI
https://github.com/nasa/cFS-GroundSystem/tree/b0faa754a62479dc9e97ffc7d389153ce9dd9e68
The challenge will be that you will need to define the command and
telmeetry packets if they're not included with the tool.
…On Mon, Feb 28, 2022 at 9:00 PM ryuxin ***@***.***> wrote:
@dmccomas <https://github.com/dmccomas> I have built the simsat target
and 42 simulator, and they seem to run normally.
I think cosmos or a ground-system is necessary to rum them together as
cosmos issues commands to cFE.
However, I do not have GUI environment to run the complete cosmos.
Is there any way to run cosmos without GUI, such as directly running its
ruby scripts?
Or any other methods to replace cosmos?
Thanks
—
Reply to this email directly, view it on GitHub
<#83 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMGKCDQ23IFPM6IPR7ZYD3U5V223ANCNFSM5PEA2M7A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@dmccomas Thank you so much for your help. Could you provide some tutorial or guidance on this? BTW, I list the output from CmdTlmServer
|
Apologies for the delay. |
I have successfully built the cFS source code and generated the executable binary.
After I run the binary
build/exe/cfsat/core-cfsat
, it seems the program is stuck or waiting for someting.this is the output
I enable the following cfs apps
What should I do next to continue to run the cFS applications?
Thanks
The text was updated successfully, but these errors were encountered: