feat: done!

This commit is contained in:
angelina-tsuboi
2023-05-07 16:53:00 -07:00
parent 63dd1a0cc5
commit 8d6ecad593
6 changed files with 5 additions and 20 deletions

View File

@@ -3,10 +3,6 @@
Made by Angelina Tsuboi (G4LXY)
## TODO
- 2
- 3
- help
- Documentation
- article
@@ -17,3 +13,4 @@ Made by Angelina Tsuboi (G4LXY)
# TODO
- map layout
- joshuaferrara/go-satellite SGP4

1
go.mod
View File

@@ -9,7 +9,6 @@ require (
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/iskaa02/qalam v0.3.0 // indirect
github.com/joshuaferrara/go-satellite v0.0.0-20220611180459-512638c64e5b // indirect
github.com/lucasb-eyer/go-colorful v1.0.3 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/manifoldco/promptui v0.9.0 // indirect

2
go.sum
View File

@@ -127,8 +127,6 @@ github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/iskaa02/qalam v0.3.0 h1:yA7+MXkXbkP0HRDpkODC3bgQG0e5mjsYOsawwYP2v5k=
github.com/iskaa02/qalam v0.3.0/go.mod h1:BRa4ht8cMjl27tNzhtuach90dBTma5seOzjpMGA5MY4=
github.com/joshuaferrara/go-satellite v0.0.0-20220611180459-512638c64e5b h1:JlltDRgni6FuoFwluvoZCrE6cmpojccO4WsqeYlFJLE=
github.com/joshuaferrara/go-satellite v0.0.0-20220611180459-512638c64e5b/go.mod h1:msW2QeN9IsnRyvuK8OBAzBwn6DHwXpiAiqBk8dbLfrU=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=

View File

@@ -4,7 +4,6 @@ import (
"fmt"
"github.com/iskaa02/qalam/gradient"
"io/ioutil"
// "github.com/joshuaferrara/go-satellite"
"strconv"
"os"
"github.com/TwiN/go-color"
@@ -16,15 +15,13 @@ func OrbitalPrediction() {
options, _ := ioutil.ReadFile("txt/orbital_prediction.txt")
opt,_:=gradient.NewGradient("#1179ef", "cyan")
opt.Print("\n" + string(options))
var selection int = Option(0, 4)
var selection int = Option(0, 3)
if (selection == 1) {
GetVisualPrediction()
} else if (selection == 2) {
GetRadioPrediction()
} else if (selection == 3) {
}
}
return
}
@@ -169,10 +166,6 @@ func GetRadioPrediction() {
return
}
func GetSGP4Prediction() {
}
func SatelliteSelection() SatelliteSelectionType {
options, _ := ioutil.ReadFile("txt/orbital_element.txt")
opt,_:=gradient.NewGradient("#1179ef", "cyan")

View File

@@ -4,7 +4,7 @@
[ 2 ] Satellite Telemetry Display
[ 3 ] Orbital Predictions (Visual, Radio, and SGP4)
[ 3 ] Orbital Predictions (Visual and Radio)
[ 4 ] TLE Parser

View File

@@ -4,9 +4,7 @@
[ 2 ] Radio Satellite Predictions
[ 3 ] SGP4 Satellite Predictions
[ 4 ] Back to Main Menu
[ 3 ] Back to Main Menu
[ 0 ] Exit SatIntel