Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Models a simple communications link. More...
#include <radiator.h>
Inherits dsim_model.
Public Member Functions | |
void | initialization_complete () |
Finish initialization. | |
void | initialize_data () |
Initialize outlets and output variables. | |
void | initialize_timestep () |
Computation done prior to beginning of timestep. | |
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... | |
Models a simple communications link.
This models the transmission of data via a communications link. If the gain is sufficent then the message will be received. Determines if a message is received based on the computed bit error rate.
dsim_value radiator::handle_message | ( | const std::string & | sender_path, |
const std::string & | message_name, | ||
const dsim_value & | argument | ||
) |
Process incoming messages.
radiator supports the following messages: 'radiator_message' !
References antenna_receive_gain_dsim, antenna_temperature_dsim, boresight_dsim, channel_data_rate_dsim, guard_bits_dsim, message_incoming_dsim, parent_quaternion_dsim, receive_angle_dsim, and transmit_frequency_dsim.