-
Notifications
You must be signed in to change notification settings - Fork 90
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
[nasa/nos3#267] fsw/gsw on separate machines #375
Conversation
… to allow for running the gsw alone on a VM
…ding new options in the Makefile which should allow for making and running just the satellite side of things.
…he problem where 42 didn't launch when the thruster was active
I tested this functionality on two VMs. I was able to run GSW on one VM and FSW on another VM. I was able to send commands from GSW to FSW and was able to receive telemetry from FSW to GSW. I tested various NOOP commands as well as several thruster commands. I looked at several packets of telemetry from various apps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my summary comment on testing I performed. I approve this pull request.
Tested cfs noop and worked fine after network config fix. I noticed cosmos sometimes doesn't launch on the gsw vm. To get it to launch again I make clean and make. Also if you make stop on the sat VM side be sure to make stop on the GSW VM side too, then you can relaunch gsw and sat vm. I am approving as I see it works as expected after configuring networks correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving feature.
…s any unnecessary docker swarm stuff
Going to try this now probably. Will try in VMs first, though if you want a separate machine test, have a raspberry pi that I might be able to test on down the line. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still encountered eth1 error and had to manually edit yaml files, otherwise works correctly.
This should be fully functional; testing will require either two actual computers or two VMs. How to run should be fairly simple - after making everything as normal (make prep, make config, make) one must run
make prep-gsw
on the computer which will run the ground software. Then, on the satellite computer, runmake prep-sat
and then thedocker swarm join
command which is output bymake prep-gsw
.Once the two computers have been thus connected together, merely run
make start-gsw
on the gsw computer andmake start-sat
on the satellite computer (runningmake start-gsw
first). COSMOS should come up on the gsw computer, 42 and the satellite terminals on the satellite computer, and commands can then be sent between them as though they were on the same computer.