Skip to content

Commit 838274d

Browse files
committed
Gazebo: Add model for Omnicopter
- Migrate ignition to gz. Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
1 parent f323056 commit 838274d

File tree

2 files changed

+49
-49
lines changed

2 files changed

+49
-49
lines changed

Gazebo/models/omnicopter/model.sdf

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -886,37 +886,37 @@
886886
</joint>
887887

888888
<!-- plugins -->
889-
<plugin filename="libignition-gazebo-joint-state-publisher-system.so"
890-
name="ignition::gazebo::systems::JointStatePublisher">
889+
<plugin filename="gz-sim-joint-state-publisher-system"
890+
name="gz::sim::systems::JointStatePublisher">
891891
</plugin>
892-
<plugin filename="libignition-gazebo-apply-joint-force-system.so"
893-
name="ignition::gazebo::systems::ApplyJointForce">
892+
<plugin filename="gz-sim-apply-joint-force-system"
893+
name="gz::sim::systems::ApplyJointForce">
894894
<joint_name>motor_1_joint</joint_name>
895895
</plugin>
896-
<plugin filename="libignition-gazebo-apply-joint-force-system.so"
897-
name="ignition::gazebo::systems::ApplyJointForce">
896+
<plugin filename="gz-sim-apply-joint-force-system"
897+
name="gz::sim::systems::ApplyJointForce">
898898
<joint_name>motor_2_joint</joint_name>
899899
</plugin>
900-
<plugin filename="libignition-gazebo-apply-joint-force-system.so"
901-
name="ignition::gazebo::systems::ApplyJointForce">
900+
<plugin filename="gz-sim-apply-joint-force-system"
901+
name="gz::sim::systems::ApplyJointForce">
902902
<joint_name>motor_3_joint</joint_name>
903903
</plugin>
904-
<plugin filename="libignition-gazebo-apply-joint-force-system.so"
905-
name="ignition::gazebo::systems::ApplyJointForce">
904+
<plugin filename="gz-sim-apply-joint-force-system"
905+
name="gz::sim::systems::ApplyJointForce">
906906
<joint_name>motor_4_joint</joint_name>
907907
</plugin>
908-
<plugin filename="libignition-gazebo-apply-joint-force-system.so"
909-
name="ignition::gazebo::systems::ApplyJointForce">
908+
<plugin filename="gz-sim-apply-joint-force-system"
909+
name="gz::sim::systems::ApplyJointForce">
910910
<joint_name>motor_5_joint</joint_name>
911911
</plugin>
912-
<plugin filename="libignition-gazebo-apply-joint-force-system.so"
913-
name="ignition::gazebo::systems::ApplyJointForce">
912+
<plugin filename="gz-sim-apply-joint-force-system"
913+
name="gz::sim::systems::ApplyJointForce">
914914
<joint_name>motor_6_joint</joint_name>
915915
</plugin>
916916

917917
<!-- prop motor_1 (cw) lift-drag -->
918-
<plugin filename="libignition-gazebo-lift-drag-system.so"
919-
name="ignition::gazebo::systems::LiftDrag">
918+
<plugin filename="gz-sim-lift-drag-system"
919+
name="gz::sim::systems::LiftDrag">
920920
<a0>0.3</a0>
921921
<alpha_stall>1.4</alpha_stall>
922922
<cla>4.2500</cla>
@@ -932,8 +932,8 @@
932932
<upward>0 0 1</upward>
933933
<link_name>motor_1_link</link_name>
934934
</plugin>
935-
<plugin filename="libignition-gazebo-lift-drag-system.so"
936-
name="ignition::gazebo::systems::LiftDrag">
935+
<plugin filename="gz-sim-lift-drag-system"
936+
name="gz::sim::systems::LiftDrag">
937937
<a0>0.3</a0>
938938
<alpha_stall>1.4</alpha_stall>
939939
<cla>4.2500</cla>
@@ -951,8 +951,8 @@
951951
</plugin>
952952

953953
<!-- prop motor_2 (cw) lift-drag -->
954-
<plugin filename="libignition-gazebo-lift-drag-system.so"
955-
name="ignition::gazebo::systems::LiftDrag">
954+
<plugin filename="gz-sim-lift-drag-system"
955+
name="gz::sim::systems::LiftDrag">
956956
<a0>0.3</a0>
957957
<alpha_stall>1.4</alpha_stall>
958958
<cla>4.2500</cla>
@@ -968,8 +968,8 @@
968968
<upward>0 0 1</upward>
969969
<link_name>motor_2_link</link_name>
970970
</plugin>
971-
<plugin filename="libignition-gazebo-lift-drag-system.so"
972-
name="ignition::gazebo::systems::LiftDrag">
971+
<plugin filename="gz-sim-lift-drag-system"
972+
name="gz::sim::systems::LiftDrag">
973973
<a0>0.3</a0>
974974
<alpha_stall>1.4</alpha_stall>
975975
<cla>4.2500</cla>
@@ -987,8 +987,8 @@
987987
</plugin>
988988

989989
<!-- prop motor_3 (ccw) lift-drag -->
990-
<plugin filename="libignition-gazebo-lift-drag-system.so"
991-
name="ignition::gazebo::systems::LiftDrag">
990+
<plugin filename="gz-sim-lift-drag-system"
991+
name="gz::sim::systems::LiftDrag">
992992
<a0>0.3</a0>
993993
<alpha_stall>1.4</alpha_stall>
994994
<cla>4.2500</cla>
@@ -1004,8 +1004,8 @@
10041004
<upward>0 0 1</upward>
10051005
<link_name>motor_3_link</link_name>
10061006
</plugin>
1007-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1008-
name="ignition::gazebo::systems::LiftDrag">
1007+
<plugin filename="gz-sim-lift-drag-system"
1008+
name="gz::sim::systems::LiftDrag">
10091009
<a0>0.3</a0>
10101010
<alpha_stall>1.4</alpha_stall>
10111011
<cla>4.2500</cla>
@@ -1023,8 +1023,8 @@
10231023
</plugin>
10241024

10251025
<!-- prop motor_4 (ccw) lift-drag -->
1026-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1027-
name="ignition::gazebo::systems::LiftDrag">
1026+
<plugin filename="gz-sim-lift-drag-system"
1027+
name="gz::sim::systems::LiftDrag">
10281028
<a0>0.3</a0>
10291029
<alpha_stall>1.4</alpha_stall>
10301030
<cla>4.2500</cla>
@@ -1040,8 +1040,8 @@
10401040
<upward>0 0 1</upward>
10411041
<link_name>motor_4_link</link_name>
10421042
</plugin>
1043-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1044-
name="ignition::gazebo::systems::LiftDrag">
1043+
<plugin filename="gz-sim-lift-drag-system"
1044+
name="gz::sim::systems::LiftDrag">
10451045
<a0>0.3</a0>
10461046
<alpha_stall>1.4</alpha_stall>
10471047
<cla>4.2500</cla>
@@ -1059,8 +1059,8 @@
10591059
</plugin>
10601060

10611061
<!-- prop motor_5 (cw) lift-drag -->
1062-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1063-
name="ignition::gazebo::systems::LiftDrag">
1062+
<plugin filename="gz-sim-lift-drag-system"
1063+
name="gz::sim::systems::LiftDrag">
10641064
<a0>0.3</a0>
10651065
<alpha_stall>1.4</alpha_stall>
10661066
<cla>4.2500</cla>
@@ -1076,8 +1076,8 @@
10761076
<upward>0 0 1</upward>
10771077
<link_name>motor_5_link</link_name>
10781078
</plugin>
1079-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1080-
name="ignition::gazebo::systems::LiftDrag">
1079+
<plugin filename="gz-sim-lift-drag-system"
1080+
name="gz::sim::systems::LiftDrag">
10811081
<a0>0.3</a0>
10821082
<alpha_stall>1.4</alpha_stall>
10831083
<cla>4.2500</cla>
@@ -1095,8 +1095,8 @@
10951095
</plugin>
10961096

10971097
<!-- prop motor_6 (ccw) lift-drag -->
1098-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1099-
name="ignition::gazebo::systems::LiftDrag">
1098+
<plugin filename="gz-sim-lift-drag-system"
1099+
name="gz::sim::systems::LiftDrag">
11001100
<a0>0.3</a0>
11011101
<alpha_stall>1.4</alpha_stall>
11021102
<cla>4.2500</cla>
@@ -1112,8 +1112,8 @@
11121112
<upward>0 0 1</upward>
11131113
<link_name>motor_6_link</link_name>
11141114
</plugin>
1115-
<plugin filename="libignition-gazebo-lift-drag-system.so"
1116-
name="ignition::gazebo::systems::LiftDrag">
1115+
<plugin filename="gz-sim-lift-drag-system"
1116+
name="gz::sim::systems::LiftDrag">
11171117
<a0>0.3</a0>
11181118
<alpha_stall>1.4</alpha_stall>
11191119
<cla>4.2500</cla>
@@ -1130,7 +1130,7 @@
11301130
<link_name>motor_6_link</link_name>
11311131
</plugin>
11321132

1133-
<plugin name="ArduPilotPlugin" filename="libArduPilotPlugin.so">
1133+
<plugin name="ArduPilotPlugin" filename="ArduPilotPlugin">
11341134
<!-- Port settings -->
11351135
<fdm_addr>127.0.0.1</fdm_addr>
11361136
<fdm_port_in>9002</fdm_port_in>

Gazebo/worlds/omnicopter_runway.sdf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0" ?>
22
<sdf version="1.7">
33
<world name="omnicopter_runway">
4-
<plugin filename="libignition-gazebo-physics-system.so"
5-
name="ignition::gazebo::systems::Physics">
4+
<plugin filename="gz-sim-physics-system"
5+
name="gz::sim::systems::Physics">
66
</plugin>
7-
<plugin filename="libignition-gazebo-user-commands-system.so"
8-
name="ignition::gazebo::systems::UserCommands">
7+
<plugin filename="gz-sim-user-commands-system"
8+
name="gz::sim::systems::UserCommands">
99
</plugin>
10-
<plugin filename="libignition-gazebo-scene-broadcaster-system.so"
11-
name="ignition::gazebo::systems::SceneBroadcaster">
10+
<plugin filename="gz-sim-scene-broadcaster-system"
11+
name="gz::sim::systems::SceneBroadcaster">
1212
</plugin>
13-
<plugin filename="libignition-gazebo-imu-system.so"
14-
name="ignition::gazebo::systems::Imu">
13+
<plugin filename="gz-sim-imu-system"
14+
name="gz::sim::systems::Imu">
1515
</plugin>
16-
<plugin filename="ignition-gazebo-forcetorque-system"
17-
name="ignition::gazebo::systems::ForceTorque" />
16+
<plugin filename="gz-sim-forcetorque-system"
17+
name="gz::sim::systems::ForceTorque" />
1818

1919
<scene>
2020
<ambient>1.0 1.0 1.0</ambient>

0 commit comments

Comments
 (0)