Safety-Critical-Control-WIRIN / sccav_cbf

Safety Critical Control of Autonomous Vehicles by Control Barrier Functions
13 stars 4 forks source link

cbf.utils.Timer class doesn't allow inheritence #3

Closed TheGodOfWar007 closed 1 year ago

TheGodOfWar007 commented 2 years ago

Bug Description Setting the timestamp attribute as a property (using the @property decorator) doesn't allow classes to derive from the cbf.utils.Timer() class.

To Reproduce Try inheriting from the cbf.utils.Timer() class.

Expected behavior Successful inheritance allowing for the usage of the timestamp attribute for ROS related time-stamping and synchronization for objects of the cbf.obstcles module relying on timely state updates.

Desktop:

TheGodOfWar007 commented 1 year ago

Closing due to inactivity