DUNE: Uniform Navigational Environment
2019.02.1
|
Blueprint Subsea's Seatrac acoustic modem driver.
Classes | |
struct | Acofix_t |
struct | AhrsCal_t |
struct | Arguments |
struct | CidDatReceiveMsg |
struct | CidDatSendMsg |
struct | CidNavBeaconPosSendMsg |
struct | CidNavBeaconPosUpdateMsg |
struct | CidNavQuerryRespMsg |
struct | CidNavQueryReqMsg |
struct | CidNavQuerySendMsg |
struct | CidNavRefPosSendMsg |
struct | CidNavRefPosUpdateMsg |
struct | CidPingErrorMsg |
struct | CidPingRequestMsg |
struct | CidPingRespMsg |
struct | CidPingSendMsg |
struct | CidSettingsMsg |
struct | CidSettingsSaveMsg |
struct | CidSettingsSetMsg |
struct | CidStatusMsg |
struct | CidSysInfo |
struct | CidSysRebootMsg |
struct | CidXcvrFixMsg |
struct | CidXcvrUsblMsg |
struct | DataSeatrac |
struct | Firmware_t |
struct | Hardware_t |
struct | IpAddr_T |
struct | MacAddr_T |
struct | Task |
struct | Ticket |
Typedefs | |
typedef std::map< std::string, unsigned > | MapName |
typedef std::map< unsigned, std::string > | MapAddr |
Enumerations |
Functions | |
void | printAcoFixData (std::string msg_name, Acofix_t *aco_fix, Tasks::Task *task=NULL) |
void | printDebugFunction (unsigned message_type, DataSeatrac &data_Beacon, Tasks::Task *task=NULL) |
uint16_t | updateEcoFix (Acofix_t *aco_fix, uint16_t ind, const char *msg_raw) |
void | dataParser (uint16_t message_type, const char *msg_raw, DataSeatrac &data_Beacon) |
std::string | commandCreateSeatrac (CommandID cid_type, DataSeatrac &data_Beacon) |
typedef std::map<unsigned, std::string> Transports::Seatrac::MapAddr |
Map of system's addresses.
typedef std::map<std::string, unsigned> Transports::Seatrac::MapName |
Map of system's names.
std::string Transports::Seatrac::commandCreateSeatrac | ( | CommandID | cid_type, |
DataSeatrac & | data_Beacon | ||
) |
Creates a command to the modem acoustic.
[in] | cid_type | type of message. |
[in] | data_Beacon | message structure. |
References Transports::Seatrac::AhrsCal_t::acc_max_x, Transports::Seatrac::AhrsCal_t::acc_max_y, Transports::Seatrac::AhrsCal_t::acc_max_z, Transports::Seatrac::AhrsCal_t::acc_min_x, Transports::Seatrac::AhrsCal_t::acc_min_y, Transports::Seatrac::AhrsCal_t::acc_min_z, Transports::Seatrac::CidSettingsMsg::ahrs_cal, Transports::Seatrac::CidSettingsMsg::ahrs_flags, Transports::Seatrac::CidSettingsMsg::ahrs_pitch_ofs, Transports::Seatrac::CidSettingsMsg::ahrs_roll_ofs, Transports::Seatrac::CidSettingsMsg::ahrs_yaw_ofs, Transports::Seatrac::CidNavBeaconPosSendMsg::beacon_id, Transports::Seatrac::MacAddr_T::bytes, Transports::Seatrac::IpAddr_T::bytes, CID_DAT_SEND, Transports::Seatrac::DataSeatrac::cid_dat_send_msg, CID_NAV_BEACON_POS_SEND, Transports::Seatrac::DataSeatrac::cid_nav_beacon_pos_send_msg, CID_NAV_QUERY_SEND, Transports::Seatrac::DataSeatrac::cid_nav_query_send_msg, CID_NAV_REF_POS_SEND, Transports::Seatrac::DataSeatrac::cid_nav_ref_pos_send_msg, CID_PING_SEND, Transports::Seatrac::DataSeatrac::cid_ping_send_msg, Transports::Seatrac::DataSeatrac::cid_settings_msg, CID_SETTINGS_SAVE, CID_SETTINGS_SET, CID_SYS_INFO, CID_SYS_REBOOT, Transports::Seatrac::CidPingSendMsg::dest_id, Transports::Seatrac::CidDatSendMsg::dest_id, Transports::Seatrac::CidNavQuerySendMsg::dest_id, Transports::Seatrac::CidSettingsMsg::env_flags, Transports::Seatrac::CidSettingsMsg::env_pressure_ofs, Transports::Seatrac::CidSettingsMsg::env_salinity, Transports::Seatrac::CidSettingsMsg::env_vos, Transports::Seatrac::AhrsCal_t::gyro_offset_x, Transports::Seatrac::AhrsCal_t::gyro_offset_y, Transports::Seatrac::AhrsCal_t::gyro_offset_z, Transports::Seatrac::AhrsCal_t::mag_error, Transports::Seatrac::AhrsCal_t::mag_field, Transports::Seatrac::AhrsCal_t::mag_hard_x, Transports::Seatrac::AhrsCal_t::mag_hard_y, Transports::Seatrac::AhrsCal_t::mag_hard_z, Transports::Seatrac::AhrsCal_t::mag_soft_x, Transports::Seatrac::AhrsCal_t::mag_soft_y, Transports::Seatrac::AhrsCal_t::mag_soft_z, Transports::Seatrac::AhrsCal_t::mag_valid, Transports::Seatrac::CidPingSendMsg::msg_type, Transports::Seatrac::CidDatSendMsg::msg_type, Transports::Seatrac::CidSettingsMsg::net_ip_addr, Transports::Seatrac::CidSettingsMsg::net_ip_dns, Transports::Seatrac::CidSettingsMsg::net_ip_gateway, Transports::Seatrac::CidSettingsMsg::net_ip_subnet, Transports::Seatrac::CidSettingsMsg::net_mac_addr, Transports::Seatrac::CidSettingsMsg::net_tcp_port, Transports::Seatrac::CidDatSendMsg::packet_data, Transports::Seatrac::CidDatSendMsg::packet_len, Transports::Seatrac::CidNavBeaconPosSendMsg::position_depth, Transports::Seatrac::CidNavBeaconPosSendMsg::position_easting, Transports::Seatrac::CidNavRefPosSendMsg::position_latitude, Transports::Seatrac::CidNavRefPosSendMsg::position_longitude, Transports::Seatrac::CidNavBeaconPosSendMsg::position_northing, Transports::Seatrac::CidNavQuerySendMsg::query_flags, Transports::Seatrac::CidSettingsMsg::status_flags, Transports::Seatrac::CidSettingsMsg::status_output, Transports::Seatrac::CidSettingsMsg::uart_aux_baud, Transports::Seatrac::CidSettingsMsg::uart_main_baud, Transports::Seatrac::CidSettingsMsg::xcvr_beacon_id, Transports::Seatrac::CidSettingsMsg::xcvr_flags, Transports::Seatrac::CidSettingsMsg::xcvr_pitch, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_ang, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_tmo, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_vel, Transports::Seatrac::CidSettingsMsg::xcvr_range_tmo, Transports::Seatrac::CidSettingsMsg::xcvr_resp_time, Transports::Seatrac::CidSettingsMsg::xcvr_roll, and Transports::Seatrac::CidSettingsMsg::xcvr_yaw.
Referenced by Transports::Seatrac::Task::checkTxOWAY(), Transports::Seatrac::Task::consume(), Transports::Seatrac::Task::handleBinaryMessage(), Transports::Seatrac::Task::handleCommunicationError(), Transports::Seatrac::Task::onResourceInitialization(), and Transports::Seatrac::Task::setHardIron().
void Transports::Seatrac::dataParser | ( | uint16_t | message_type, |
const char * | msg_raw, | ||
DataSeatrac & | data_Beacon | ||
) |
Extract to DataSeatrac data structure.
[in] | message_type | type of msessage to decode. |
[in] | msg_raw | raw messagem received by uart |
[out] | data_Beacon | pointer where the data is stored. |
References Transports::Seatrac::CidStatusMsg::acc_lim_max_x, Transports::Seatrac::CidStatusMsg::acc_lim_max_y, Transports::Seatrac::CidStatusMsg::acc_lim_max_z, Transports::Seatrac::CidStatusMsg::acc_lim_min_x, Transports::Seatrac::CidStatusMsg::acc_lim_min_y, Transports::Seatrac::CidStatusMsg::acc_lim_min_z, Transports::Seatrac::AhrsCal_t::acc_max_x, Transports::Seatrac::AhrsCal_t::acc_max_y, Transports::Seatrac::AhrsCal_t::acc_max_z, Transports::Seatrac::AhrsCal_t::acc_min_x, Transports::Seatrac::AhrsCal_t::acc_min_y, Transports::Seatrac::AhrsCal_t::acc_min_z, Transports::Seatrac::CidDatReceiveMsg::ack_flag, Transports::Seatrac::CidPingRespMsg::aco_fix, Transports::Seatrac::CidNavBeaconPosUpdateMsg::aco_fix, Transports::Seatrac::CidPingRequestMsg::aco_fix, Transports::Seatrac::CidNavQueryReqMsg::aco_fix, Transports::Seatrac::CidNavRefPosUpdateMsg::aco_fix, Transports::Seatrac::CidDatReceiveMsg::aco_fix, Transports::Seatrac::CidXcvrFixMsg::aco_fix, Transports::Seatrac::CidNavQuerryRespMsg::aco_fix, Transports::Seatrac::CidSettingsMsg::ahrs_cal, Transports::Seatrac::CidStatusMsg::ahrs_comp_acc_x, Transports::Seatrac::CidStatusMsg::ahrs_comp_acc_y, Transports::Seatrac::CidStatusMsg::ahrs_comp_acc_z, Transports::Seatrac::CidStatusMsg::ahrs_comp_gyro_x, Transports::Seatrac::CidStatusMsg::ahrs_comp_gyro_y, Transports::Seatrac::CidStatusMsg::ahrs_comp_gyro_z, Transports::Seatrac::CidStatusMsg::ahrs_comp_mag_x, Transports::Seatrac::CidStatusMsg::ahrs_comp_mag_y, Transports::Seatrac::CidStatusMsg::ahrs_comp_mag_z, Transports::Seatrac::CidSettingsMsg::ahrs_flags, Transports::Seatrac::CidSettingsMsg::ahrs_pitch_ofs, Transports::Seatrac::CidStatusMsg::ahrs_raw_acc_x, Transports::Seatrac::CidStatusMsg::ahrs_raw_acc_y, Transports::Seatrac::CidStatusMsg::ahrs_raw_acc_z, Transports::Seatrac::CidStatusMsg::ahrs_raw_gyro_x, Transports::Seatrac::CidStatusMsg::ahrs_raw_gyro_y, Transports::Seatrac::CidStatusMsg::ahrs_raw_gyro_z, Transports::Seatrac::CidStatusMsg::ahrs_raw_mag_x, Transports::Seatrac::CidStatusMsg::ahrs_raw_mag_y, Transports::Seatrac::CidStatusMsg::ahrs_raw_mag_z, Transports::Seatrac::CidSettingsMsg::ahrs_roll_ofs, Transports::Seatrac::CidSettingsMsg::ahrs_yaw_ofs, Transports::Seatrac::CidStatusMsg::attitude_pitch, Transports::Seatrac::CidStatusMsg::attitude_roll, Transports::Seatrac::CidStatusMsg::attitude_yaw, Transports::Seatrac::CidXcvrUsblMsg::baselines, Transports::Seatrac::CidNavBeaconPosUpdateMsg::beacon_id, Transports::Seatrac::CidPingErrorMsg::beacon_id, Transports::Seatrac::CidPingSendMsg::beacon_id, Transports::Seatrac::CidNavRefPosUpdateMsg::beacon_id, Transports::Seatrac::CidDatSendMsg::beacon_id, Transports::Seatrac::CidSysInfo::boot_firmware, Transports::Seatrac::MacAddr_T::bytes, Transports::Seatrac::IpAddr_T::bytes, Transports::Seatrac::CidXcvrUsblMsg::channel_rssi, Transports::Seatrac::CidXcvrUsblMsg::channels, Transports::Seatrac::Firmware_t::checksum, CID_DAT_ERROR, CID_DAT_RECEIVE, Transports::Seatrac::DataSeatrac::cid_dat_receive_msg, CID_DAT_SEND, Transports::Seatrac::DataSeatrac::cid_dat_send_msg, CID_NAV_BEACON_POS_SEND, Transports::Seatrac::DataSeatrac::cid_nav_beacon_pos_send_msg, CID_NAV_BEACON_POS_UPDATE, Transports::Seatrac::DataSeatrac::cid_nav_beacon_pos_update_msg, Transports::Seatrac::DataSeatrac::cid_nav_querry_resp_msg, CID_NAV_QUERY_REQ, Transports::Seatrac::DataSeatrac::cid_nav_query_req_msg, CID_NAV_QUERY_RESP, CID_NAV_QUERY_SEND, Transports::Seatrac::DataSeatrac::cid_nav_query_send_msg, CID_NAV_REF_POS_SEND, Transports::Seatrac::DataSeatrac::cid_nav_ref_pos_send_msg, CID_NAV_REF_POS_UPDATE, Transports::Seatrac::DataSeatrac::cid_nav_ref_pos_update_msg, CID_PING_ERROR, Transports::Seatrac::DataSeatrac::cid_ping_error_msg, CID_PING_REQ, Transports::Seatrac::DataSeatrac::cid_ping_req_msg, CID_PING_RESP, Transports::Seatrac::DataSeatrac::cid_ping_resp_msg, CID_PING_SEND, Transports::Seatrac::DataSeatrac::cid_ping_send_msg, CID_SETTINGS_GET, Transports::Seatrac::DataSeatrac::cid_settings_msg, CID_SETTINGS_SAVE, Transports::Seatrac::DataSeatrac::cid_settings_save_msg, CID_STATUS, Transports::Seatrac::DataSeatrac::cid_status_msg, Transports::Seatrac::DataSeatrac::cid_sys_info, CID_SYS_INFO, CID_SYS_REBOOT, Transports::Seatrac::DataSeatrac::cid_sys_reboot_msg, CID_XCVR_FIX, Transports::Seatrac::DataSeatrac::cid_xcvr_fix_msg, CID_XCVR_USBL, Transports::Seatrac::DataSeatrac::cid_xcvr_usbl_msg, Transports::Seatrac::CidSettingsMsg::env_flags, Transports::Seatrac::CidSettingsMsg::env_pressure_ofs, Transports::Seatrac::CidSettingsMsg::env_salinity, Transports::Seatrac::CidSettingsMsg::env_vos, Transports::Seatrac::CidStatusMsg::environment_pressure, Transports::Seatrac::CidStatusMsg::environment_supply, Transports::Seatrac::CidStatusMsg::environment_temperature, Transports::Seatrac::CidStatusMsg::EnvironmentDepth, Transports::Seatrac::CidStatusMsg::EnvironmentVos, Transports::Seatrac::Hardware_t::flags_sys, Transports::Seatrac::Hardware_t::flags_user, Transports::Seatrac::AhrsCal_t::gyro_offset_x, Transports::Seatrac::AhrsCal_t::gyro_offset_y, Transports::Seatrac::AhrsCal_t::gyro_offset_z, Transports::Seatrac::CidSysInfo::hardware, Transports::Seatrac::CidStatusMsg::mag_cal_age, Transports::Seatrac::CidStatusMsg::mag_cal_buf, Transports::Seatrac::CidStatusMsg::mag_cal_fit, Transports::Seatrac::CidStatusMsg::mag_cal_valid, Transports::Seatrac::AhrsCal_t::mag_error, Transports::Seatrac::AhrsCal_t::mag_field, Transports::Seatrac::AhrsCal_t::mag_hard_x, Transports::Seatrac::AhrsCal_t::mag_hard_y, Transports::Seatrac::AhrsCal_t::mag_hard_z, Transports::Seatrac::AhrsCal_t::mag_soft_x, Transports::Seatrac::AhrsCal_t::mag_soft_y, Transports::Seatrac::AhrsCal_t::mag_soft_z, Transports::Seatrac::AhrsCal_t::mag_valid, Transports::Seatrac::CidSysInfo::main_firmware, Transports::Seatrac::CidNavQueryReqMsg::nav_query_t, Transports::Seatrac::CidSettingsMsg::net_ip_addr, Transports::Seatrac::CidSettingsMsg::net_ip_dns, Transports::Seatrac::CidSettingsMsg::net_ip_gateway, Transports::Seatrac::CidSettingsMsg::net_ip_subnet, Transports::Seatrac::CidSettingsMsg::net_mac_addr, Transports::Seatrac::CidSettingsMsg::net_tcp_port, Transports::Seatrac::CidStatusMsg::output_flags, Transports::Seatrac::CidStatusMsg::outputflags_list, Transports::Seatrac::CidStatusMsg::outputFlagsComp(), Transports::Seatrac::CidDatReceiveMsg::packet_data, Transports::Seatrac::CidDatReceiveMsg::packet_len, Transports::Seatrac::Hardware_t::part_number, Transports::Seatrac::Firmware_t::part_number, Transports::Seatrac::Hardware_t::part_rev, Transports::Seatrac::CidXcvrUsblMsg::phase_angle, Transports::Seatrac::CidNavBeaconPosUpdateMsg::position_depth, Transports::Seatrac::CidNavBeaconPosUpdateMsg::position_easting, Transports::Seatrac::CidNavRefPosUpdateMsg::position_latitude, Transports::Seatrac::CidNavRefPosUpdateMsg::position_longitude, Transports::Seatrac::CidNavBeaconPosUpdateMsg::position_northing, Transports::Seatrac::CidNavQuerryRespMsg::query_flags, Transports::Seatrac::CidNavQuerryRespMsg::query_flags_list, Transports::Seatrac::CidNavQuerryRespMsg::queryFlagsExtract(), Transports::Seatrac::CidNavQuerryRespMsg::remote_depth, Transports::Seatrac::CidNavQuerryRespMsg::remote_pitch, Transports::Seatrac::CidNavQuerryRespMsg::remote_roll, Transports::Seatrac::CidNavQuerryRespMsg::remote_supply, Transports::Seatrac::CidNavQuerryRespMsg::remote_temp, Transports::Seatrac::CidNavQuerryRespMsg::remote_yaw, Transports::Seatrac::CidSysInfo::seconds, Transports::Seatrac::CidSysInfo::section, Transports::Seatrac::Hardware_t::serial_number, Transports::Seatrac::DataSeatrac::set(), Transports::Seatrac::CidXcvrUsblMsg::signal_azimuth, Transports::Seatrac::CidXcvrUsblMsg::signal_elevation, Transports::Seatrac::CidXcvrUsblMsg::signal_fit_error, Transports::Seatrac::CidNavBeaconPosSendMsg::status, Transports::Seatrac::CidPingErrorMsg::status, Transports::Seatrac::CidPingSendMsg::status, Transports::Seatrac::CidSettingsSaveMsg::status, Transports::Seatrac::CidNavRefPosSendMsg::status, Transports::Seatrac::CidDatSendMsg::status, Transports::Seatrac::CidSysRebootMsg::status, Transports::Seatrac::CidNavQuerySendMsg::status, Transports::Seatrac::CidSettingsMsg::status_flags, Transports::Seatrac::CidSettingsMsg::status_output, Transports::Seatrac::CidStatusMsg::timestamp, Transports::Seatrac::CidSettingsMsg::uart_aux_baud, Transports::Seatrac::CidSettingsMsg::uart_main_baud, updateEcoFix(), Transports::Seatrac::Firmware_t::valid, Transports::Seatrac::Firmware_t::version_build, Transports::Seatrac::Firmware_t::version_maj, Transports::Seatrac::Firmware_t::version_min, Transports::Seatrac::CidXcvrUsblMsg::xcor_cross_mag, Transports::Seatrac::CidXcvrUsblMsg::xcor_cross_point, Transports::Seatrac::CidXcvrUsblMsg::xcor_data, Transports::Seatrac::CidXcvrUsblMsg::xcor_detect, Transports::Seatrac::CidXcvrUsblMsg::xcor_length, Transports::Seatrac::CidXcvrUsblMsg::xcor_sig_peak, Transports::Seatrac::CidXcvrUsblMsg::xcor_threshold, Transports::Seatrac::CidSettingsMsg::xcvr_beacon_id, Transports::Seatrac::CidSettingsMsg::xcvr_flags, Transports::Seatrac::CidSettingsMsg::xcvr_pitch, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_ang, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_tmo, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_vel, Transports::Seatrac::CidSettingsMsg::xcvr_range_tmo, Transports::Seatrac::CidSettingsMsg::xcvr_resp_time, Transports::Seatrac::CidSettingsMsg::xcvr_roll, and Transports::Seatrac::CidSettingsMsg::xcvr_yaw.
Referenced by Transports::Seatrac::Task::readSentence().
void Transports::Seatrac::printAcoFixData | ( | std::string | msg_name, |
Acofix_t * | aco_fix, | ||
Tasks::Task * | task = NULL |
||
) |
Ecofix data type debug print.
[in] | msg_name | string with name of message. |
[in] | aco_fix | data pointer. |
[in] | task | parent task. |
References Transports::Seatrac::Acofix_t::amsgtype_e, Transports::Seatrac::Acofix_t::attitude_pitch, Transports::Seatrac::Acofix_t::attitude_roll, Transports::Seatrac::Acofix_t::attitude_yaw, Transports::Seatrac::Acofix_t::depth_local, Transports::Seatrac::Acofix_t::dest_id, Transports::Seatrac::Acofix_t::flags, Transports::Seatrac::Acofix_t::outputflags_list, Transports::Seatrac::Acofix_t::position_depth, Transports::Seatrac::Acofix_t::position_easting, Transports::Seatrac::Acofix_t::position_northing, Transports::Seatrac::Acofix_t::range_count, Transports::Seatrac::Acofix_t::range_dist, Transports::Seatrac::Acofix_t::range_time, Transports::Seatrac::Acofix_t::rssi, Transports::Seatrac::Acofix_t::src_id, Transports::Seatrac::Acofix_t::usbl_azimuth, Transports::Seatrac::Acofix_t::usbl_channels, Transports::Seatrac::Acofix_t::usbl_elevation, Transports::Seatrac::Acofix_t::usbl_fit_error, Transports::Seatrac::Acofix_t::usbl_rssi, and Transports::Seatrac::Acofix_t::vos.
Referenced by printDebugFunction().
void Transports::Seatrac::printDebugFunction | ( | unsigned | message_type, |
DataSeatrac & | data_Beacon, | ||
Tasks::Task * | task = NULL |
||
) |
Msg Debug print.
[in] | message_type | type of message. |
[in] | data_Beacon | data structure. |
[in] | task | parent task. |
References Transports::Seatrac::CidStatusMsg::acc_lim_max_x, Transports::Seatrac::CidStatusMsg::acc_lim_max_y, Transports::Seatrac::CidStatusMsg::acc_lim_max_z, Transports::Seatrac::CidStatusMsg::acc_lim_min_x, Transports::Seatrac::CidStatusMsg::acc_lim_min_y, Transports::Seatrac::CidStatusMsg::acc_lim_min_z, Transports::Seatrac::AhrsCal_t::acc_max_x, Transports::Seatrac::AhrsCal_t::acc_max_y, Transports::Seatrac::AhrsCal_t::acc_max_z, Transports::Seatrac::AhrsCal_t::acc_min_x, Transports::Seatrac::AhrsCal_t::acc_min_y, Transports::Seatrac::AhrsCal_t::acc_min_z, Transports::Seatrac::CidDatReceiveMsg::ack_flag, Transports::Seatrac::CidPingRespMsg::aco_fix, Transports::Seatrac::CidNavBeaconPosUpdateMsg::aco_fix, Transports::Seatrac::CidPingRequestMsg::aco_fix, Transports::Seatrac::CidNavQueryReqMsg::aco_fix, Transports::Seatrac::CidNavRefPosUpdateMsg::aco_fix, Transports::Seatrac::CidDatReceiveMsg::aco_fix, Transports::Seatrac::CidXcvrFixMsg::aco_fix, Transports::Seatrac::CidNavQuerryRespMsg::aco_fix, Transports::Seatrac::CidSettingsMsg::ahrs_cal, Transports::Seatrac::CidStatusMsg::ahrs_comp_acc_x, Transports::Seatrac::CidStatusMsg::ahrs_comp_acc_y, Transports::Seatrac::CidStatusMsg::ahrs_comp_acc_z, Transports::Seatrac::CidStatusMsg::ahrs_comp_gyro_x, Transports::Seatrac::CidStatusMsg::ahrs_comp_gyro_y, Transports::Seatrac::CidStatusMsg::ahrs_comp_gyro_z, Transports::Seatrac::CidStatusMsg::ahrs_comp_mag_x, Transports::Seatrac::CidStatusMsg::ahrs_comp_mag_y, Transports::Seatrac::CidStatusMsg::ahrs_comp_mag_z, Transports::Seatrac::CidSettingsMsg::ahrs_flags, Transports::Seatrac::CidSettingsMsg::ahrs_pitch_ofs, Transports::Seatrac::CidStatusMsg::ahrs_raw_acc_x, Transports::Seatrac::CidStatusMsg::ahrs_raw_acc_y, Transports::Seatrac::CidStatusMsg::ahrs_raw_acc_z, Transports::Seatrac::CidStatusMsg::ahrs_raw_gyro_x, Transports::Seatrac::CidStatusMsg::ahrs_raw_gyro_y, Transports::Seatrac::CidStatusMsg::ahrs_raw_gyro_z, Transports::Seatrac::CidStatusMsg::ahrs_raw_mag_x, Transports::Seatrac::CidStatusMsg::ahrs_raw_mag_y, Transports::Seatrac::CidStatusMsg::ahrs_raw_mag_z, Transports::Seatrac::CidSettingsMsg::ahrs_roll_ofs, Transports::Seatrac::CidSettingsMsg::ahrs_yaw_ofs, Transports::Seatrac::CidStatusMsg::attitude_pitch, Transports::Seatrac::CidStatusMsg::attitude_roll, Transports::Seatrac::CidStatusMsg::attitude_yaw, Transports::Seatrac::CidXcvrUsblMsg::baselines, Transports::Seatrac::CidNavBeaconPosUpdateMsg::beacon_id, Transports::Seatrac::CidPingErrorMsg::beacon_id, Transports::Seatrac::CidPingSendMsg::beacon_id, Transports::Seatrac::CidNavRefPosUpdateMsg::beacon_id, Transports::Seatrac::CidDatSendMsg::beacon_id, Transports::Seatrac::CidSysInfo::boot_firmware, Transports::Seatrac::CidXcvrUsblMsg::channel_rssi, Transports::Seatrac::CidXcvrUsblMsg::channels, Transports::Seatrac::Firmware_t::checksum, CID_DAT_ERROR, CID_DAT_RECEIVE, Transports::Seatrac::DataSeatrac::cid_dat_receive_msg, CID_DAT_SEND, Transports::Seatrac::DataSeatrac::cid_dat_send_msg, CID_NAV_BEACON_POS_SEND, Transports::Seatrac::DataSeatrac::cid_nav_beacon_pos_send_msg, CID_NAV_BEACON_POS_UPDATE, Transports::Seatrac::DataSeatrac::cid_nav_beacon_pos_update_msg, CID_NAV_ERROR, Transports::Seatrac::DataSeatrac::cid_nav_querry_resp_msg, CID_NAV_QUERY_REQ, Transports::Seatrac::DataSeatrac::cid_nav_query_req_msg, CID_NAV_QUERY_RESP, CID_NAV_QUERY_SEND, Transports::Seatrac::DataSeatrac::cid_nav_query_send_msg, CID_NAV_REF_POS_SEND, Transports::Seatrac::DataSeatrac::cid_nav_ref_pos_send_msg, CID_NAV_REF_POS_UPDATE, Transports::Seatrac::DataSeatrac::cid_nav_ref_pos_update_msg, CID_PING_ERROR, Transports::Seatrac::DataSeatrac::cid_ping_error_msg, CID_PING_REQ, Transports::Seatrac::DataSeatrac::cid_ping_req_msg, CID_PING_RESP, Transports::Seatrac::DataSeatrac::cid_ping_resp_msg, CID_PING_SEND, Transports::Seatrac::DataSeatrac::cid_ping_send_msg, CID_SETTINGS_GET, Transports::Seatrac::DataSeatrac::cid_settings_msg, CID_SETTINGS_SAVE, Transports::Seatrac::DataSeatrac::cid_settings_save_msg, CID_SETTINGS_SET, CID_STATUS, Transports::Seatrac::DataSeatrac::cid_status_msg, Transports::Seatrac::DataSeatrac::cid_sys_info, CID_SYS_INFO, CID_SYS_REBOOT, Transports::Seatrac::DataSeatrac::cid_sys_reboot_msg, Transports::Seatrac::DataSeatrac::cid_sys_settings_set_msg, CID_XCVR_FIX, Transports::Seatrac::DataSeatrac::cid_xcvr_fix_msg, CID_XCVR_USBL, Transports::Seatrac::DataSeatrac::cid_xcvr_usbl_msg, CST_XCVR_RESP_ERROR, CST_XCVR_RESP_TIMEOUT, CST_XCVR_RESP_WRONG, Transports::Seatrac::CidSettingsMsg::env_flags, Transports::Seatrac::CidSettingsMsg::env_pressure_ofs, Transports::Seatrac::CidSettingsMsg::env_salinity, Transports::Seatrac::CidSettingsMsg::env_vos, Transports::Seatrac::CidStatusMsg::environment_pressure, Transports::Seatrac::CidStatusMsg::environment_supply, Transports::Seatrac::CidStatusMsg::environment_temperature, Transports::Seatrac::CidStatusMsg::EnvironmentDepth, Transports::Seatrac::CidStatusMsg::EnvironmentVos, Transports::Seatrac::Hardware_t::flags_sys, Transports::Seatrac::Hardware_t::flags_user, Transports::Seatrac::AhrsCal_t::gyro_offset_x, Transports::Seatrac::AhrsCal_t::gyro_offset_y, Transports::Seatrac::AhrsCal_t::gyro_offset_z, Transports::Seatrac::CidSysInfo::hardware, Transports::Seatrac::CidStatusMsg::mag_cal_age, Transports::Seatrac::CidStatusMsg::mag_cal_buf, Transports::Seatrac::CidStatusMsg::mag_cal_fit, Transports::Seatrac::CidStatusMsg::mag_cal_valid, Transports::Seatrac::AhrsCal_t::mag_error, Transports::Seatrac::AhrsCal_t::mag_field, Transports::Seatrac::AhrsCal_t::mag_hard_x, Transports::Seatrac::AhrsCal_t::mag_hard_y, Transports::Seatrac::AhrsCal_t::mag_hard_z, Transports::Seatrac::AhrsCal_t::mag_soft_x, Transports::Seatrac::AhrsCal_t::mag_soft_y, Transports::Seatrac::AhrsCal_t::mag_soft_z, Transports::Seatrac::AhrsCal_t::mag_valid, Transports::Seatrac::CidSysInfo::main_firmware, Transports::Seatrac::CidNavQueryReqMsg::nav_query_t, Transports::Seatrac::CidSettingsMsg::net_tcp_port, Transports::Seatrac::CidStatusMsg::output_flags, Transports::Seatrac::CidStatusMsg::outputflags_list, Transports::Seatrac::CidDatReceiveMsg::packet_data, Transports::Seatrac::CidDatReceiveMsg::packet_len, Transports::Seatrac::Hardware_t::part_number, Transports::Seatrac::Firmware_t::part_number, Transports::Seatrac::Hardware_t::part_rev, Transports::Seatrac::CidXcvrUsblMsg::phase_angle, Transports::Seatrac::CidNavBeaconPosUpdateMsg::position_depth, Transports::Seatrac::CidNavBeaconPosUpdateMsg::position_easting, Transports::Seatrac::CidNavRefPosUpdateMsg::position_latitude, Transports::Seatrac::CidNavRefPosUpdateMsg::position_longitude, Transports::Seatrac::CidNavBeaconPosUpdateMsg::position_northing, printAcoFixData(), Transports::Seatrac::CidNavQuerryRespMsg::query_flags, Transports::Seatrac::CidNavQuerryRespMsg::query_flags_list, Transports::Seatrac::CidNavQuerryRespMsg::remote_depth, Transports::Seatrac::CidNavQuerryRespMsg::remote_pitch, Transports::Seatrac::CidNavQuerryRespMsg::remote_roll, Transports::Seatrac::CidNavQuerryRespMsg::remote_supply, Transports::Seatrac::CidNavQuerryRespMsg::remote_temp, Transports::Seatrac::CidNavQuerryRespMsg::remote_yaw, Transports::Seatrac::CidSysInfo::seconds, Transports::Seatrac::CidSysInfo::section, Transports::Seatrac::Hardware_t::serial_number, Transports::Seatrac::CidXcvrUsblMsg::signal_azimuth, Transports::Seatrac::CidXcvrUsblMsg::signal_elevation, Transports::Seatrac::CidXcvrUsblMsg::signal_fit_error, Transports::Seatrac::CidNavBeaconPosSendMsg::status, Transports::Seatrac::CidPingErrorMsg::status, Transports::Seatrac::CidPingSendMsg::status, Transports::Seatrac::CidSettingsSetMsg::status, Transports::Seatrac::CidSettingsSaveMsg::status, Transports::Seatrac::CidNavRefPosSendMsg::status, Transports::Seatrac::CidDatSendMsg::status, Transports::Seatrac::CidSysRebootMsg::status, Transports::Seatrac::CidNavQuerySendMsg::status, Transports::Seatrac::CidSettingsMsg::status_flags, Transports::Seatrac::CidSettingsMsg::status_output, Transports::Seatrac::CidStatusMsg::timestamp, Transports::Seatrac::CidSettingsMsg::uart_aux_baud, Transports::Seatrac::CidSettingsMsg::uart_main_baud, Transports::Seatrac::Firmware_t::valid, Transports::Seatrac::Firmware_t::version_build, Transports::Seatrac::Firmware_t::version_maj, Transports::Seatrac::Firmware_t::version_min, Transports::Seatrac::CidXcvrUsblMsg::xcor_cross_mag, Transports::Seatrac::CidXcvrUsblMsg::xcor_cross_point, Transports::Seatrac::CidXcvrUsblMsg::xcor_data, Transports::Seatrac::CidXcvrUsblMsg::xcor_detect, Transports::Seatrac::CidXcvrUsblMsg::xcor_length, Transports::Seatrac::CidXcvrUsblMsg::xcor_sig_peak, Transports::Seatrac::CidXcvrUsblMsg::xcor_threshold, Transports::Seatrac::CidSettingsMsg::xcvr_beacon_id, Transports::Seatrac::CidSettingsMsg::xcvr_flags, Transports::Seatrac::CidSettingsMsg::xcvr_pitch, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_ang, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_tmo, Transports::Seatrac::CidSettingsMsg::xcvr_posflt_vel, Transports::Seatrac::CidSettingsMsg::xcvr_range_tmo, Transports::Seatrac::CidSettingsMsg::xcvr_resp_time, Transports::Seatrac::CidSettingsMsg::xcvr_roll, and Transports::Seatrac::CidSettingsMsg::xcvr_yaw.
Referenced by Transports::Seatrac::Task::readSentence().
uint16_t Transports::Seatrac::updateEcoFix | ( | Acofix_t * | aco_fix, |
uint16_t | ind, | ||
const char * | msg_raw | ||
) |
Extract data to a Acofix_t structure.
[out] | aco_fix | pointer hwre data is stored. |
[in] | ind | raw messagem index. |
[in] | msg_raw | pointer to raw message. |
References Transports::Seatrac::Acofix_t::outputflags_list, Transports::Seatrac::Acofix_t::outputFlagsComp(), Transports::Seatrac::Acofix_t::usbl_channels, and Transports::Seatrac::Acofix_t::usbl_rssi.
Referenced by dataParser().