feature/multi-robots-types #12
|
@ -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")
|
||||
|
||||
@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")
|
||||
|
|
Loading…
Reference in New Issue