|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
Namespaces | |
| namespace | constants |
Functions | |
| template<typename Scalar> | |
| Scalar | shadow_cylindrical (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq) |
| Cylindrical shadow function. | |
| template<typename Scalar> | |
| Scalar | shadow_conical (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq, double R_sun=constants::R_sun) |
| Conical shadow function with penumbra. | |
| template<typename Scalar> | |
| Scalar | is_in_shadow (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq) |
| Simple binary eclipse check using cylindrical model. | |
| template<typename Scalar> | |
| Scalar | is_sunlit (const Vec3< Scalar > &r_sat, const Vec3< Scalar > &r_sun, double R_body=vulcan::constants::earth::R_eq) |
| Check if satellite is in sunlight. | |
| Scalar vulcan::environment::eclipse::is_in_shadow | ( | const Vec3< Scalar > & | r_sat, |
| const Vec3< Scalar > & | r_sun, | ||
| double | R_body = vulcan::constants::earth::R_eq ) |
Simple binary eclipse check using cylindrical model.
| Scalar vulcan::environment::eclipse::is_sunlit | ( | const Vec3< Scalar > & | r_sat, |
| const Vec3< Scalar > & | r_sun, | ||
| double | R_body = vulcan::constants::earth::R_eq ) |
Check if satellite is in sunlight.
| Scalar vulcan::environment::eclipse::shadow_conical | ( | const Vec3< Scalar > & | r_sat, |
| const Vec3< Scalar > & | r_sun, | ||
| double | R_body = vulcan::constants::earth::R_eq, | ||
| double | R_sun = constants::R_sun ) |
Conical shadow function with penumbra.
More accurate model accounting for the finite size of the Sun. Returns smooth transition through penumbra.
Based on Montenbruck & Gill "Satellite Orbits" Section 3.4
| r_sat | Satellite position in ECI [m] |
| r_sun | Sun position in ECI [m] |
| R_body | Shadowing body radius [m] |
| R_sun | Sun radius [m] |
| Scalar vulcan::environment::eclipse::shadow_cylindrical | ( | const Vec3< Scalar > & | r_sat, |
| const Vec3< Scalar > & | r_sun, | ||
| double | R_body = vulcan::constants::earth::R_eq ) |
Cylindrical shadow function.
Returns 0 when in complete shadow (umbra), 1 when fully sunlit. Uses cylindrical approximation (Earth's shadow is a cylinder).
| Scalar | double or casadi::MX |
| r_sat | Satellite position in ECI [m] |
| r_sun | Sun position in ECI [m] |
| R_body | Radius of shadowing body [m] (default: Earth equatorial) |