Fix both rcl and rmw subscriptions being added to the rcl dataframe

Signed-off-by: Christophe Bedard <bedard.christophe@gmail.com>
This commit is contained in:
Christophe Bedard 2021-10-09 15:04:54 -04:00
parent 93bc08a070
commit 47d0be0878

View file

@ -128,7 +128,7 @@ class Ros2DataModel(DataModel):
def add_rmw_subscription( def add_rmw_subscription(
self, handle, timestamp, gid self, handle, timestamp, gid
) -> None: ) -> None:
self._rcl_subscriptions.append({ self._rmw_subscriptions.append({
'subscription_handle': handle, 'subscription_handle': handle,
'timestamp': timestamp, 'timestamp': timestamp,
'gid': gid, 'gid': gid,