Spacecraft Models Package 2.0
Spacecraft Models for DSim
Public Member Functions | Protected Attributes | List of all members
isl Class Reference

A simplified geometric intersatellite link model. More...

#include <isl.h>

Inherits dsim_model.

Public Member Functions

 isl (dsim_model_setup *setup)
 Constructor.
 
void initialization_complete ()
 Finish initialization.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void initialize_timestep ()
 Computation done prior to numerical integration.
 
void pre_calculate ()
 Computation done prior to numerical integration.
 
void post_calculate ()
 Computation done after numerical integration.
 
dsim_value handle_message (const std::string &sender_path, const std::string &message_name, const dsim_value &argument)
 Process incoming messages. More...
 

Protected Attributes

dsim_variable parent_velocity_dsim
 Parent velocity.
 
dsim_variable parent_position_dsim
 Parent position.
 
dsim_variable velocity_dsim
 Vehicle velocity.
 
dsim_variable position_dsim
 Vehicle position.
 
dsim_variable isl_message_dsim
 ISL message output.
 
ml_matrix isl_message
 Message.
 
int n_message
 Number of messages.
 
ml_matrix r
 Position.
 
ml_matrix v
 Velocity.
 

Detailed Description

A simplified geometric intersatellite link model.

This uses DSim targets. You add an ISL to spacecraft and connect them by selecting other spacecraft with ISLs as targets. The models sends a message of the form

m(1,1) = range; m(2,1) = dV.dot(dR)*1e6/range; m(3,1) = sim_jd(); m(4,1) = k; m.stack(r); m.stack(v);

To connected spacecraft. This allows you to study the use of intersatellite links for ranging but does not replicate the errors or noise inherent in such systems.

\ingroup devices

Member Function Documentation

◆ handle_message()

dsim_value isl::handle_message ( const std::string &  sender_path,
const std::string &  message_name,
const dsim_value &  argument 
)

Process incoming messages.

isl supports the following messages: 'isl_message' !

References isl_message, and n_message.


The documentation for this class was generated from the following files: