Added logger catch so adding robot twice doesn't throw a real error
Build Docs / build (push) Failing after 58s Details

This commit is contained in:
Alex Davies 2024-11-14 13:36:46 -04:00
parent b5d96dc508
commit e670e38ba1
1 changed files with 2 additions and 0 deletions

View File

@ -245,6 +245,7 @@ class Robot:
stderr=subprocess.PIPE, stderr=subprocess.PIPE,
) )
@logger.catch
def spawn_gz_model(self): def spawn_gz_model(self):
sysid = self.sysid sysid = self.sysid
logger.info("") logger.info("")
@ -280,6 +281,7 @@ class Robot:
ros2_gz_create_proc.kill() ros2_gz_create_proc.kill()
return return
@logger.catch
def delete_gz_model(self): def delete_gz_model(self):
sysid = self.sysid sysid = self.sysid
env = os.environ env = os.environ