Use cycloneDDS and make world name an env var
Some checks failed
Build Docs / build (push) Failing after 1m6s
Some checks failed
Build Docs / build (push) Failing after 1m6s
This commit is contained in:
parent
8f49f6cffd
commit
25bf2267d9
3
.env
3
.env
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user