Skip to content

Ros time and it's differences from ros2 time #31

Closed

Description

@anasarrak

While on the porting procedure, there are different ros::Time / ros::Walltime calls that have to be subtituted by rclcpp time calls.

The problem is that there is no similar call for ros::Walltime on ros2, I've found that the rclcpp has a member called WallTimer, but it has nothing to do with ros:Walltime.

Right now I'm replacing them with rclcpp::Time, but I would like some input about that, also I would like to know why sometimes Walltime is used instead of Time .

Activity

  1. wjwwood commented on Feb 28, 2019

    @wjwwood
    Contributor

    It's probably an oversight that rclcpp::WallTime is not a thing, but you can also just use std::chrono::system_clock instead, as rclcpp::WallTime would likely just be a thin wrapper around that anyways.

  2. added a commit that references this issue on Oct 28, 2019
  3. added a commit that references this issue on Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions