feature/multi-robots-types #12

Merged
aqua3 merged 20 commits from feature/multi-robots-types into master 2024-12-05 11:36:57 -04:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 21e2d99d4a - Show all commits

View File

@ -117,7 +117,7 @@ class Spirimu(Robot):
robots.add(self)
#Ros doesn't like dashes in node names
self.robot_name = f"{self.robot_type}_{self.sysid}".replace("-","_")
self.wold_name = os.environ.get("WORLD_NAME", "citadel_hill")
# self.wold_name = os.environ.get("WORLD_NAME", "citadel_hill")

Not sure if this class variable has any effect in the code, and it has a typo

Not sure if this class variable has any effect in the code, and it has a typo
@classmethod
async def launch_widget(cls, robots_widget):
@ -317,7 +317,7 @@ class Spirimu(Robot):
INSTANCE=str(instance),
DRONE_SYS_ID=str(self.sysid),
ROBOT_NAME=self.robot_name,
WORLD_NAME="citadel_hill",
WORLD_NAME=env["WORLD_NAME"],
):
self.spawn_gz_model()
logger.info("Starting drone stack, this may take some time")