Use cycloneDDS and make world name an env var
Some checks failed
Build Docs / build (push) Failing after 1m6s

This commit is contained in:
Alex Davies 2024-11-29 14:18:45 -04:00
parent 8f49f6cffd
commit 25bf2267d9
2 changed files with 3 additions and 2 deletions

3
.env
View File

@ -7,6 +7,7 @@ MAVROS1_PORT=14561
FDM_PORT_IN=9002
GSTREAMER_UDP_PORT=5600
ROS_MASTER_URI="http://0.0.0.0:11311"
RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
ARDUPILOT_VEHICLE="-v copter -f gazebo-mu --model=JSON -L CitadelHill"
@ -16,4 +17,4 @@ DRONE_MODEL="spiri_mu"
SIM_DRONE_COUNT=1
GCS_PORT=14550
GCS_PORT=14550

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.world_name = "citadel_hill"
self.wold_name = os.environ.get("WORLD_NAME", "citadel_hill")
@classmethod
async def launch_widget(cls, robots_widget):