gcs is TUAS's Ground Control Station. It serves as a webapp and is comprised of many smaller modules which all have their own functions. If you want to learn more about each part individually, you can click on the links below to go to its specific README.
Entries in bold indicate that it is a module which we implement.
go install command.npm on your system. Follow the instructions to install the newest version of npm.To install Docker, follow the instructions in the above links.
To install Go, the easiest way is to use g. The repo's README contains installation instructions. Make sure to install and set up go >= 1.24.
To install the linter, run the following make command. If you encounter a permission denied error, then rerun the command with sudo permissions.
make install-linter
To install the formatter, run the following make command.
make install-fmter
Verify that you have protoc and protoc-gen-go installed by this point.
Then, make sure you have all of the npm packages for the frontend installed.
cd houston
npm install
cd .. # go back into the root directory
If you receive an error, it is likely that your version of npm is too old. Go to the above link to install nvm (node version manager), to install a newer version of npm.
Then, to make sure you have the protobufs git submodule loaded, run the following make command.
make install-protos
Lastly, we want to make sure we pull our protos submodule.
git submodule update --init --recursive // First time only
git submodule update --recursive --remote
This should be all of the first time setup you need.
# Build local gcs executable
make build
# Build Docker image for gcs
make build-docker
# Update protobuf files (if needed)
make build-protos
Note that running docker commands may require sudo.
# Run gcs with testuser locally
make run
# Run docker image of gcs
make run-docker
Run full hub workflow with multiple components (Includes Influxdb, Grafana and SITL)
make run-compose
# Stop docker-compose workflow
make stop-compose
# stop compose, then rebuild hub, then restart compose
make develop
make test
make lint
If you want to disable the linter for a specific line then add //nolint: lint_type.
data, _ := fetchData() //nolint: errcheck
make fmt
Content type
Image
Digest
sha256:89ad69cea…
Size
388.6 MB
Last updated
5 months ago
docker pull tritonuas/gcs