taiyoukei

module
v0.0.0-...-ba6b261 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT

README

taiyoukei

Planetary system with gRPC. Please have a look at my blog for more on this project.

From the root, in that order

  • start the central server with
go run server/run.go
  • start the capture client to generate the orbit graphs
go run capture/main.go
  • start the S client for the Sun
go run client/run.go -name S -mass 1 -x -0.0000030393 -y 0 -vx 0 -vy 0
  • start the E client for the Earth
go run client/run.go -name E -mass 0.0000030025 -x 0.999997 -y 0 -vx 0 -vy 1
  • start the M client for the Moon
go run client/run.go -name M -mass 0.000000036938 -x 0.997427 -y 0 -vx 0 -vy 0.965816

The graphical outputs from the capture client are generated on a regular basis and when SIGTERM'd.

To stop the processes, first terminate the capture, then you can simply terminate the server, it will automatically terminate the clients.

Expected plotting outputs should be like:

  • for the SME system celestial_positions
  • for the ME system relative_positions_M_to_E

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL