phoenix6.utils#

Module Contents#

Functions#

get_current_time_seconds(→ float)

Get the current timestamp in seconds.

is_simulation(→ bool)

Get whether the program is running in simulation.

phoenix6.utils.get_current_time_seconds() float#

Get the current timestamp in seconds.

This will return the current time in seconds, this is the same time that is used in Timestamp. :returns: Current time in seconds :rtype: float

phoenix6.utils.is_simulation() bool#

Get whether the program is running in simulation.

Returns:

True if in simulation

Return type:

bool