- Muchas notas - Fran Acién

20230324 - Getting started with Ball COSMOS v5

Installing

Get started with COSMOS v5

  • Dowload the zip file from releases on github
  • Unzip it
  • Run the next command curl -q -L https://curl.se/ca/cacert.pem --output ./cacert.pem
  • Source source .env
  • And then launch it with docker-compose docker compose up

Or also you can:

  • Install docker-compose sudo apt install docker-compose
  • ./cosmos-control.sh run

After that connect to it on http://localhost:2900/

After using it you can stop it with ./cosmos-control.sh stop

Creating a plugin simple plugin

There is a small bug on the cosmos-control.sh script. The thing is that you cannot run the script outside the COSMOS folder. In order to fix it you need to add in the line 41:

scriptdir="$(dirname "$0")"
.   $scriptdir/.env

Then run

  • bash ~/COSMOS-5.0.5/cosmos-control.sh cosmos generate plugin BOB

Create a simple TCP example with COSMOS-TCPServer. In the readme of the project there is a description that generates a plugin for COSMOS 5.0

CCSDS with python