GithubHelp home page GithubHelp logo

Comments (6)

dmccomas avatar dmccomas commented on July 1, 2024

from opensatkit.

ryuxin avatar ryuxin commented on July 1, 2024

@dmccomas Thanks for your response.
I want to run cfs and 42 together within a closed loop.
Is cosmos necessary?
I do not have GUI environment, how can I run cosmos without GUI?

from opensatkit.

ryuxin avatar ryuxin commented on July 1, 2024

@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

from opensatkit.

dmccomas avatar dmccomas commented on July 1, 2024

from opensatkit.

ryuxin avatar ryuxin commented on July 1, 2024

@dmccomas Thank you so much for your help.
I have figured out to install and run cosmos CmdTlmServer without GUI.
So I am able to run CmdTlmServer, cfs simsat target and 42 separately.
Then how can I run them together in a closed loop? I imagine I need to issue some commands via cosmos, but I do not know how to do that.

Could you provide some tutorial or guidance on this?

BTW, I list the output from CmdTlmServer

ruby tools/CmdTlmServer --no-gui 

2022/03/03 16:16:09.294  INFO: COSMOS Version: 4.4.0
2022/03/03 16:16:09.295  INFO: Created PATH LOGS /root/asid-isolation/cFS/OpenSatKit/cosmos/outputs/logs
2022/03/03 16:16:09.296  INFO: Created PATH SAVED_CONFIG /root/asid-isolation/cFS/OpenSatKit/cosmos/outputs/saved_config
2022/03/03 16:16:09.296  INFO: Created PATH HANDBOOKS /root/asid-isolation/cFS/OpenSatKit/cosmos/outputs/handbooks
2022/03/03 16:16:09.296  INFO: Created PATH PROCEDURES /root/asid-isolation/cFS/OpenSatKit/cosmos/cfs_kit/tutorials
2022/03/03 16:16:09.296  INFO: Created PATH PROCEDURES /root/asid-isolation/cFS/OpenSatKit/cosmos/config/targets/CFSAT/procedures
2022/03/03 16:16:09.297  INFO: Processing target definition in file '/root/asid-isolation/cFS/OpenSatKit/cosmos/config/targets/CFDP/target.txt'
2022/03/03 16:16:09.298  INFO: Processing target definition in file '/root/asid-isolation/cFS/OpenSatKit/cosmos/config/targets/CFDP_TEST/target.txt'
2022/03/03 16:16:09.300  INFO: Processing target definition in file '/root/asid-isolation/cFS/OpenSatKit/cosmos/config/targets/COSMOS/target.txt'
2022/03/03 16:16:09.304  INFO: Processing target definition in file '/root/asid-isolation/cFS/OpenSatKit/cosmos/config/targets/PDU/target.txt'
2022/03/03 16:16:09.308  INFO: Processing CmdTlmServer configuration in file: /root/asid-isolation/cFS/OpenSatKit/cosmos/config/tools/cmd_tlm_server/cmd_tlm_server.txt
INTERFACE LOCAL_CFS_INT udp_cs_interface.rb 127.0.0.1 1234 1235 nil nil 128 nil nil
2022/03/03 16:16:09.331  INFO: TFTP Task Initializing
2022/03/03 16:16:09.359  INFO: Marshal file does not exist: /root/asid-isolation/cFS/OpenSatKit/cosmos/outputs/tmp/marshal_ffcaba7b8986e971a966b6b6b6b6faf1.bin
2022/03/03 16:16:09.380  WARN: CF QUICK_STAT CCSDS_STREAMID redefined.
2022/03/03 16:16:09.380  WARN: CF QUICK_STAT CCSDS_SEQUENCE redefined.
2022/03/03 16:16:09.380  WARN: CF QUICK_STAT CCSDS_LENGTH redefined.
2022/03/03 16:16:09.381  WARN: CF QUICK_STAT CCSDS_CHECKSUM redefined.
2022/03/03 16:16:09.381  WARN: CF QUICK_STAT CCSDS_FUNCCODE redefined.
2022/03/03 16:16:09.570  WARN: FM WRITE_DIR_TO_FILE SPARE redefined.
2022/03/03 16:16:09.571  WARN: FM SEND_DIR_PKT SPARE redefined.
2022/03/03 16:16:09.611  WARN: Bit definition overlap at bit offset 144 for packet HS HK_TLM_PKT items SPARE_BIT_7 and STATE_BITS
2022/03/03 16:16:09.623  WARN: I42 SENSOR_DATA_PKT WHLH_1 redefined.
2022/03/03 16:16:09.623  WARN: I42 SENSOR_DATA_PKT WHLH_1 redefined.
2022/03/03 16:16:09.623  WARN: I42 SENSOR_DATA_PKT WHLH_1 redefined.
2022/03/03 16:16:09.661  WARN: KIT_TO HK_TLM_PKT SPARE_BYTE_1 redefined.
2022/03/03 16:16:09.672  WARN: Bit definition overlap at bit offset 128 for packet LC HK_TLM_PKT items WP_3_RESULT and WP_RESULTS
2022/03/03 16:16:09.738  WARN: Bit definition overlap at bit offset 576 for packet SC HK_TLM_PKT items RTS_8_EXE and RTS_W1_EXE_STATUS
2022/03/03 16:16:09.738  WARN: Bit definition overlap at bit offset 592 for packet SC HK_TLM_PKT items RTS_8_DIS and RTS_W1_DIS_STATUS
2022/03/03 16:16:10.969  INFO: Creating thread for router PREIDENTIFIED_ROUTER
2022/03/03 16:16:10.969  INFO: Creating thread for router PREIDENTIFIED_CMD_ROUTER
2022/03/03 16:16:10.969  INFO: Creating thread for interface COSMOSINT
2022/03/03 16:16:10.970  INFO: Creating thread for interface CFDP_INT
2022/03/03 16:16:10.970  INFO: Creating thread for interface LOCAL_CFS_INT
2022/03/03 16:16:10.970  INFO: Starting packet reading for PREIDENTIFIED_ROUTER
2022/03/03 16:16:10.970  INFO: Connecting to PREIDENTIFIED_ROUTER...
2022/03/03 16:16:10.970  INFO: PREIDENTIFIED_ROUTER Connection Success
2022/03/03 16:16:10.970  INFO: Starting connection maintenance for PREIDENTIFIED_CMD_ROUTER
2022/03/03 16:16:10.970  INFO: Connecting to PREIDENTIFIED_CMD_ROUTER...
2022/03/03 16:16:10.970  INFO: PREIDENTIFIED_CMD_ROUTER Connection Success
2022/03/03 16:16:10.970  INFO: Starting packet reading for COSMOSINT
2022/03/03 16:16:10.971  INFO: Connecting to COSMOSINT...
2022/03/03 16:16:10.971  INFO: COSMOSINT Connection Success
2022/03/03 16:16:10.971  INFO: TFTP Task Sleeping for 5 seconds after initial call
2022/03/03 16:16:10.971  INFO: Starting packet reading for CFDP_INT
2022/03/03 16:16:10.971  INFO: Starting packet reading for LOCAL_CFS_INT
2022/03/03 16:16:10.971  INFO: Connecting to LOCAL_CFS_INT...
2022/03/03 16:16:10.972  INFO: CFDP Engine has started.
2022/03/03 16:16:10.972  INFO: LOCAL_CFS_INT Connection Success
2022/03/03 16:16:14.974  INFO: Log File Opened : /root/asid-isolation/cFS/OpenSatKit/cosmos/outputs/logs/2022_03_03_16_16_14_tlm.bin
2022/03/03 16:16:15.976  INFO: TFTP Task Running

from opensatkit.

dmccomas avatar dmccomas commented on July 1, 2024

Apologies for the delay.
Your screen shot shows that the COSMOS command and telemetry server is running. The next step is to start the cFS. You can do the by clicking "Start cFS" on the cFS Education tab. A new terminal window will open and you'll be prompted for your password to run the cFS. The 'OSK Quick Start Guide' under 'OSK Docs & Videos' goes into more detail.

ScreenHunter 644

from opensatkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.