Function rosrust::wall_time::now

source ·
pub fn now() -> Time
Expand description

Get the current time from the system clock.

This is esentially the same as:

std::time::SystemTime::now().into()

§Examples

message.header.stamp = rosrust::wall_time::now();