32 #ifndef ROSFLIGHT_FIRMWARE_COMM_MANAGER_H 33 #define ROSFLIGHT_FIRMWARE_COMM_MANAGER_H 88 Stream(uint32_t period_us, std::function<
void(
void)> send_function);
90 void stream(uint64_t now_us);
170 #endif // ROSFLIGHT_FIRMWARE_COMM_MANAGER_H void send_parameter_list()
void command_callback(CommLink::Command command)
void send_output_raw(void)
void set_streaming_rate(uint8_t stream_id, int16_t param_id)
void send_diff_pressure(void)
void param_request_list_callback(uint8_t target_system)
uint32_t last_sent_gnss_tow
void stream(uint64_t now_us)
void update_system_id(uint16_t param_id)
uint32_t last_sent_gnss_raw_tow
void set_rate(uint32_t rate_hz)
void param_set_int_callback(uint8_t target_system, const char *const param_name, int32_t param_value)
void send_named_value_int(const char *const name, int32_t value)
void heartbeat_callback(void)
void send_param_value(uint16_t param_id)
Stream(uint32_t period_us, std::function< void(void)> send_function)
void send_heartbeat(void)
void param_set_float_callback(uint8_t target_system, const char *const param_name, float param_value)
CommManager(ROSflight &rf, CommLink &comm_link)
Stream streams_[STREAM_COUNT]
void log(CommLink::LogSeverity severity, const char *fmt,...)
void send_error_data(void)
void timesync_callback(int64_t tc1, int64_t ts1)
void param_request_read_callback(uint8_t target_system, const char *const param_name, int16_t param_index)
std::function< void(void)> send_function_
uint64_t offboard_control_time_
void send_named_value_float(const char *const name, float value)
void offboard_control_callback(const CommLink::OffboardControl &control)
uint8_t send_params_index_
void send_low_priority(void)
void attitude_correction_callback(const turbomath::Quaternion &q)
void send_next_param(void)