Skip to content

SilentPinger

#include <SilentNode.h>

Public Functions

Name
SilentPinger(ros::NodeHandle * nodehandle, ros::NodeHandle * nodehandle_private)
~SilentPinger()
void updateClock(unsigned long int tmodem, ros::Time tros)
unsigned long int getModemClockNow()
Get the last modem estimate.
double getTimeBeforeStart()
Get the last modem estimate.
void startCallback(const interrogation_scheme::StartSilent & msg)
Get the last modem estimate.
void timeFromAnchorCallback(const std_msgs::UInt32 & msg)
Get the last modem estimate.
void triggerSerialization()
void pingNextNode(double tinit_aux =0)
void serializerCallback(const std_msgs::String & msg)
void EnableCallback(const std_msgs::Bool & msg)
void RECVIMSCallback(const dmac::DMACPayload & msg)
void Timer(const ros::TimerEvent & e)
void SysClockOverflowHandler(const ros::TimerEvent & e)
void modemClockCallback(const dmac::DMACClock & msg)
void computeModemTimeOffset(unsigned int system_clock, unsigned int utc_time_sec, unsigned int utc_time_nsec)
void computeModemSysClockOverflowTime(unsigned int system_clock, unsigned long int modem_time_offset)
void triggerECLKmessage()

Public Functions Documentation

function SilentPinger

SilentPinger(
    ros::NodeHandle * nodehandle,
    ros::NodeHandle * nodehandle_private
)

@Param nodehandle @Param nodehandle_private

function ~SilentPinger

~SilentPinger()

function updateClock

void updateClock(
    unsigned long int tmodem,
    ros::Time tros
)

@Param tmodem @Param tros

function getModemClockNow

unsigned long int getModemClockNow()

Get the last modem estimate.

@Returns

function getTimeBeforeStart

double getTimeBeforeStart()

Get the last modem estimate.

@Returns

function startCallback

void startCallback(
    const interrogation_scheme::StartSilent & msg
)

Get the last modem estimate.

@Returns

function timeFromAnchorCallback

void timeFromAnchorCallback(
    const std_msgs::UInt32 & msg
)

Get the last modem estimate.

@Returns

function triggerSerialization

void triggerSerialization()

function pingNextNode

void pingNextNode(
    double tinit_aux =0
)

function serializerCallback

void serializerCallback(
    const std_msgs::String & msg
)

@Param msg

function EnableCallback

void EnableCallback(
    const std_msgs::Bool & msg
)

@Param msg

function RECVIMSCallback

void RECVIMSCallback(
    const dmac::DMACPayload & msg
)

@Param msg

function Timer

void Timer(
    const ros::TimerEvent & e
)

@Param e

function SysClockOverflowHandler

void SysClockOverflowHandler(
    const ros::TimerEvent & e
)

function modemClockCallback

void modemClockCallback(
    const dmac::DMACClock & msg
)

function computeModemTimeOffset

void computeModemTimeOffset(
    unsigned int system_clock,
    unsigned int utc_time_sec,
    unsigned int utc_time_nsec
)

function computeModemSysClockOverflowTime

void computeModemSysClockOverflowTime(
    unsigned int system_clock,
    unsigned long int modem_time_offset
)

function triggerECLKmessage

void triggerECLKmessage()

Updated on 2025-04-22 at 13:40:54 +0000


Last update: April 22, 2025