Skip to content

Commit 412f9bf

Browse files
Merge pull request #71 from JuliaSpaceMissionDesign/dev
v3.0
2 parents 7d89177 + 3e37330 commit 412f9bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2041
-3193
lines changed

Project.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "FrameTransformations"
22
uuid = "5be70612-1674-42c4-a038-c376b6dc81ed"
33
authors = ["JSMD Team"]
4-
version = "2.1.1"
4+
version = "3.0.0"
55

66
[deps]
77
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
@@ -18,16 +18,16 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1818
Tempo = "c33777b2-e695-4fae-9135-aeae8855dd81"
1919

2020
[weakdeps]
21-
CalcephEphemeris = "54e8752a-b65a-4aac-bda5-4918ee1e3cc5"
21+
# CalcephEphemeris = "54e8752a-b65a-4aac-bda5-4918ee1e3cc5"
2222
Ephemerides = "6a9c3322-c8fe-4c26-8ad6-14a6f8acd2a0"
2323

2424
[extensions]
25-
CalcephEphemerisExt = ["CalcephEphemeris"]
25+
# CalcephEphemerisExt = ["CalcephEphemeris"]
2626
EphemeridesExt = ["Ephemerides"]
2727

2828
[compat]
2929
Ephemerides = "1"
30-
CalcephEphemeris = "1"
30+
# CalcephEphemeris = "1"
3131
ForwardDiff = "0.10"
3232
FunctionWrappers = "1"
3333
FunctionWrappersWrappers = "0.1"
@@ -43,6 +43,7 @@ julia = "1.9"
4343

4444
[extras]
4545
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
46+
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
4647

4748
[targets]
48-
test = ["Test"]
49+
test = ["Test", "SafeTestsets"]

docs/generate.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Dates
33

44
# TODO: Remove items from `SKIPFILE` as soon as they run on the latest stable
55
ONLYSTATIC = []
6-
EXAMPLE_DIRS = ["Tutorials", ]
6+
EXAMPLE_DIRS = ["Tutorials",]
77
SKIPFILE = [
88
"t03_eop.jl", "t04_lighttime.jl", "t05_multithread.jl"
99
]
@@ -13,22 +13,22 @@ function update_date(content)
1313
return content
1414
end
1515

16-
for edir in EXAMPLE_DIRS
16+
for edir in EXAMPLE_DIRS
1717
gen_dir = joinpath(@__DIR__, "src", edir, "gen")
1818
example_dir = joinpath(@__DIR__, "src", edir)
1919
for example in filter!(x -> endswith(x, ".jl"), readdir(example_dir))
20-
if example in SKIPFILE
20+
if example in SKIPFILE
2121
continue
2222
end
2323
input = abspath(joinpath(example_dir, example))
2424
script = Literate.script(input, gen_dir)
2525
code = strip(read(script, String))
2626
mdpost(str) = replace(str, "@__CODE__" => code)
2727
Literate.markdown(
28-
input, gen_dir,
29-
preprocess = update_date,
30-
postprocess = mdpost,
31-
documenter = !(example in ONLYSTATIC)
28+
input, gen_dir,
29+
preprocess=update_date,
30+
postprocess=mdpost,
31+
documenter=!(example in ONLYSTATIC)
3232
)
3333
end
3434
end

docs/make.jl

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
using Documenter, FrameTransformations
2-
using Pkg
2+
using Pkg
33

44
const CI = get(ENV, "CI", "false") == "true"
55

6-
if CI
6+
if CI
77
Pkg.add("Ephemerides")
8+
Pkg.add("StaticArrays")
89
Pkg.add("ReferenceFrameRotations")
910
Pkg.add("JSMDUtils")
1011
Pkg.add("JSMDInterfaces")
@@ -26,30 +27,22 @@ makedocs(;
2627
"01 - Frame System" => "Tutorials/gen/t00_frames.md",
2728
"02 - Rotation" => "Tutorials/gen/t01_rotation.md",
2829
"03 - Axes" => "Tutorials/gen/t02_axes.md",
29-
"04 - Points" => "Tutorials/gen/t03_points.md",
30-
# "05 - Light Time Corrections" => "Tutorials/gen/t04_lighttime.md",
31-
# "06 - Multi-threading" => "Tutorials/gen/t05_multithread.md"
30+
"04 - Points" => "Tutorials/gen/t03_points.md"
3231
],
33-
# "Use Cases" => [
34-
# "CR3BP" => "Examples/gen/e01_cr3bp.md",
35-
# "High Fidelity" => "Examples/gen/e02_hifi.md",
36-
# "Custom Orbit" => "Examples/gen/e03_customorb.md"
37-
# ],
38-
"Benchmarks" => "benchmarks.md",
3932
"API" => [
4033
"Public API" => [
41-
"Frames" => "API/frames_api.md",
4234
"Axes" => "API/axes_api.md",
4335
"Points" => "API/point_api.md",
44-
"Directions" => "API/dir_api.md"
45-
],
36+
"Directions" => "API/dir_api.md",
37+
"Frames" => "API/frames_api.md"
38+
],
4639
],
4740
],
4841
clean=true,
4942
checkdocs=:none
5043
)
5144

52-
if CI
45+
if CI
5346
deploydocs(;
5447
repo="github.com/JuliaSpaceMissionDesign/FrameTransformations.jl", branch="gh-pages"
5548
)

docs/src/API/axes_api.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
```@docs
66
add_axes!
77
8-
add_axes_root!
9-
add_axes_inertial!
10-
add_axes_rotating!
118
add_axes_fixedoffset!
9+
add_axes_projected!
10+
add_axes_rotating!
1211
add_axes_alias!
13-
add_axes_frozen!
14-
add_axes_ephemeris!
12+
FrameTransformations.add_axes_ephemeris!
1513
```
1614

1715
## Celestial
@@ -65,9 +63,12 @@ add_axes_topocentric!
6563
## Others
6664

6765
```@docs
68-
add_axes_twovectors!
66+
add_axes_twodir!
67+
add_axes_frozen!
68+
add_axes_fixed_quaternion!
69+
add_axes_fixed_angles!
70+
add_axes_fixed_angleaxis!
6971
```
70-
7172
## Utils
7273

7374
### [IDs](@id frames_axesid)

docs/src/API/dir_api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ add_direction_fixed!
88
add_direction_position!
99
add_direction_velocity!
1010
add_direction_orthogonal!
11-
add_direction_normalize!
1211
```

docs/src/API/frames_api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,31 @@ FrameTransformations.timescale
1010

1111
```@docs
1212
has_point
13-
points
1413
points_graph
14+
points_alias
1515
```
1616

1717
### Axes
1818

1919
```@docs
2020
has_axes
21-
FrameTransformations.axes
2221
axes_graph
22+
axes_alias
2323
```
2424

2525
### Directions
2626

2727
```@docs
2828
has_direction
2929
directions
30-
directions_map
3130
```
3231

3332
## [Rotations](@id rotation_api)
3433

3534
```@docs
3635
Rotation
3736
Base.inv
37+
Translation
3838
```
3939

4040
## [Transformations](@id transformations_api)

docs/src/API/point_api.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33
```@docs
44
add_point!
55
6-
add_point_root!
76
add_point_dynamical!
87
add_point_fixedoffset!
98
10-
add_point_ephemeris!
9+
FrameTransformations.add_point_ephemeris!
1110
add_point_surface!
1211
1312
add_point_alias!

docs/src/Examples/e01_cr3bp.jl

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/src/Examples/e02_hifi.jl

Lines changed: 0 additions & 47 deletions
This file was deleted.

docs/src/Examples/e03_customorb.jl

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)