Skip to content

Property use_now_instead_of_sim_time has no effect #31

@dmronga

Description

@dmronga

Hi,

I am using mars under Rock (Ubuntu16.04, Rock branch master, Mars branch master). It seems that the property use_now_instead_of_sim_time does not have any effect.

My use case is the following: I have multiple Rock components attached to a Mars simulation and some of them are using the transformer. When I reset the simulation (through the GUI or via the control_action input port), the timestamps of the Mars sensor readings are reset to the time when the simulation was started. This makes the transformer start dropping transforms because of old data. When I change use_now_instead_of_sim_time to true, the same problem occurs, the timestamps still seem to show the Mars time instead of the current wall time.

I already checked:

However, the value of cfgUseNow.bValue is always false, even if I set use_now_instead_of_sim_time to true.
Any ideas how to solve this?

Best,
Dennis

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