nhcho91 / flightgnc.jl Goto Github PK
View Code? Open in Web Editor NEWA Julia package containing GNC algorithms for autonomous aerospace systems
License: MIT License
A Julia package containing GNC algorithms for autonomous aerospace systems
License: MIT License
I think that the current functionality of this package seems too similar to that of FlightSims.jl.
IMO, it's possible that this package exports only the core functionality of some FlightGNC stuffs (that you intended, perhaps guidance laws?) construct some off-the-shelf FlightSIms.jl-like Envs and Controllers using the core functionality of FlightGNC.jl in a new package, namely, FSImEnvs.jl.
For example, suppose that the following stuffs are ready-to-export in this package as
function dynamics_missile(p, v, u)
# p_dot = ...
p_dot, v_dot
end
function command_BPNG(p_M, v_M, something-like-them)
# some appropriate outputs
end
and in FSimEnvs.jl
, we may construct a FSim-like envs and controllers as the following.
struct MissileEnv <: AbstractEnv # FSimBase-dependent
# some-parameters-we-need
end
function Dynamics!(env::MissileEnv)
@Loggable function dynamics!(dx, x, params, t; u)
@unpack p, v = dx
p_dot, v_dot = FlightGNC.dynamics_missile(p, v, u)
dx.p = p_dot
dx.v = v_dot
end
end
abstract type MissileGuidance <: AbstractController # FSimBase-dependent
struct BPNG <: MissileGuidance
# blahblah...
end
function Command(BPNG) # FSimBase-dependent
# blahblah...
end
Then, import FSimEnvs.jl
in FlightSims.jl
!
This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml
to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix
on this issue.
I'll open a PR within a few hours, please be patient!
Files whose names are .DS_Store
seems to be included in every directory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.