https://github.com/yuricst/shootingstar.jl
Shooting method for trajectory design
https://github.com/yuricst/shootingstar.jl
Last synced: 4 months ago
JSON representation
Shooting method for trajectory design
- Host: GitHub
- URL: https://github.com/yuricst/shootingstar.jl
- Owner: Yuricst
- License: mit
- Created: 2021-07-09T00:51:48.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-08T06:25:41.000Z (over 1 year ago)
- Last Synced: 2025-02-09T20:39:13.358Z (over 1 year ago)
- Language: Julia
- Size: 515 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ShootingStar.jl
This package implements the two-stage shooting method for trajectory design in Newtonian systems with impulsive control from [1].
The trajectory is computed by discretizing it into `N` nodes, composed of `N-1` segments.
The algorithm consists of an inner-loop that drives the position discrepancies at each node to 0 by modifying the velocities, and an outer-loop that minimizes the velocity discrepancies by modifying the positions of the intermediate nodes.
Note that the inner-loop has `3(N-1)` degrees of freedom for `3(N-1)` constraints, resulting in square Newton-Raphson process, while the outer-loop has `3(N-2)` degrees of freedom and `3N` constraints, resulting in a least-squares update.
Due to the least-squares nature of the outer-loop, the resulting trajectory is minimum-energy (as opposed to minimum-fuel).
## Quick start
1. `git clone` this repository and `cd` to its root
2. Start julia REPL and activate environment
```julia-repl
pkg> activate .
```
3. Run tests to make sure installation is successfull
```julia-repl
(ShootingStar) pkg> test
```
## Reference
[1] N. L. Parrish and D. J. Scheeres, “Low-Thrust Trajectory Optimization with No Initial Guess,” International Symposium on Space Technology and Science, International Symposium on Space Flight Dynamics, pp. 1–7, 2017.