Woojoong Kim | 676bbac | 2021-01-15 12:00:33 -0800 | [diff] [blame] | 1 | # Copyright 2021-present Open Networking Foundation |
| 2 | # |
Scott Baker | 4cad5ee | 2022-06-09 14:17:35 -0700 | [diff] [blame^] | 3 | # SPDX-License-Identifier: Apache-2.0 |
Woojoong Kim | 676bbac | 2021-01-15 12:00:33 -0800 | [diff] [blame] | 4 | |
| 5 | images: |
| 6 | tags: |
Woojoong Kim | 4f5cf18 | 2021-01-31 00:09:54 -0800 | [diff] [blame] | 7 | rosCore: docker.io/drone-ros:0.0.1-debug |
Woojoong Kim | 0b46a41 | 2021-01-25 00:51:11 -0800 | [diff] [blame] | 8 | droneNetListener: docker.io/ros:melodic |
Woojoong Kim | 4f5cf18 | 2021-01-31 00:09:54 -0800 | [diff] [blame] | 9 | depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 |
Woojoong Kim | 676bbac | 2021-01-15 12:00:33 -0800 | [diff] [blame] | 10 | pullPolicy: IfNotPresent |
| 11 | |
| 12 | nodeSelector: |
Woojoong Kim | 0b46a41 | 2021-01-25 00:51:11 -0800 | [diff] [blame] | 13 | enabled: false |
Woojoong Kim | 676bbac | 2021-01-15 12:00:33 -0800 | [diff] [blame] | 14 | rosCore: |
| 15 | label: drone-ros-core |
| 16 | value: enabled |
Woojoong Kim | 4f5cf18 | 2021-01-31 00:09:54 -0800 | [diff] [blame] | 17 | gcs: |
| 18 | label: drone-ros-core |
| 19 | value: enabled |
| 20 | console: |
| 21 | label: drone-ros-core |
| 22 | value: enabled |
Woojoong Kim | 676bbac | 2021-01-15 12:00:33 -0800 | [diff] [blame] | 23 | |
| 24 | resources: |
| 25 | enabled: false |
| 26 | |
| 27 | config: |
| 28 | rosCore: |
| 29 | debug: false |
Woojoong Kim | 4f5cf18 | 2021-01-31 00:09:54 -0800 | [diff] [blame] | 30 | launchFiles: |
| 31 | core.launch: | |
| 32 | <launch> |
| 33 | <arg name="server" default="mocap.local"/> |
| 34 | <node pkg="vrpn_client_ros" type="vrpn_client_node" name="vrpn_client_node" output="screen"> |
| 35 | <rosparam subst_value="true"> |
| 36 | server: $(arg server) |
| 37 | port: 3883 |
| 38 | update_frequency: 100.0 |
| 39 | frame_id: world |
| 40 | use_server_time: false |
| 41 | broadcast_tf: true |
| 42 | refresh_tracker_frequency: 1.0 |
| 43 | </rosparam> |
| 44 | <remap from="/vrpn_client_node/drone1/pose" to="drone1/mavros/vision_pose/pose" /> |
| 45 | <remap from="/vrpn_client_node/drone2/pose" to="drone2/mavros/vision_pose/pose" /> |
| 46 | <remap from="/vrpn_client_node/drone3/pose" to="drone3/mavros/vision_pose/pose" /> |
| 47 | </node> |
| 48 | </launch> |
| 49 | gcs: |
| 50 | debug: false |
| 51 | launchFiles: |
| 52 | gcs.launch: | |
| 53 | <launch> |
| 54 | <arg name="traj_drone1" default="$(find bridge_px4)/trajectories/ysmrr1.csv"/> |
| 55 | <arg name="traj_drone2" default="$(find bridge_px4)/trajectories/ysmrr2.csv"/> |
| 56 | <arg name="traj_drone3" default="$(find bridge_px4)/trajectories/line.csv"/> |
| 57 | <group ns="drone1"> |
| 58 | <node pkg="bridge_px4" type="sp_pos_t_node" name ="sp_pos_t_node" output="screen"> |
| 59 | <param name="traj_id" value="$(arg traj_drone1)"/> |
| 60 | </node> |
| 61 | </group> |
| 62 | <group ns="drone2"> |
| 63 | <node pkg="bridge_px4" type="sp_pos_t_node" name ="sp_pos_t_node" output="screen"> |
| 64 | <param name="traj_id" value="$(arg traj_drone2)"/> |
| 65 | </node> |
| 66 | </group> |
| 67 | <group ns="drone3"> |
| 68 | <node pkg="bridge_px4" type="sp_pos_t_node" name ="sp_pos_t_node" output="screen"> |
| 69 | <param name="traj_id" value="$(arg traj_drone3)"/> |
| 70 | </node> |
| 71 | </group> |
| 72 | </launch> |
| 73 | trajectoryFiles: |
| 74 | square1.csv: | |
| 75 | 2.00,3.00,6.00,9.00,12.00,15.00,18.00,21.00,24.00,27.00 |
| 76 | 1.00,1.00,1.00,1.00,3.00,3.00,3.00,3.00,1.00,1.00 |
| 77 | -1.00,-1.00,1.00,1.00,1.00,1.00,-1.00,-1.00,-1.00,-1.00 |
| 78 | 1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00 |
| 79 | 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00 |
| 80 | square2.csv: | |
| 81 | 2.00,3.00,6.00,9.00,12.00,15.00,18.00,21.00,24.00,27.00 |
| 82 | -1.00,-1.00,-1.00,-1.00,-3.00,-3.00,-3.00,-3.00,-1.00,-1.00 |
| 83 | 1.00,1.00,-1.00,-1.00,-1.00,-1.00,1.00,1.00,1.00,1.00 |
| 84 | 1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00 |
| 85 | 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00 |
| 86 | ysmrr1.csv: | |
| 87 | 2.00,3.00,4.00,5.00,6.00,6.50,7.00,7.50,8.00,8.50,9.00,9.50,10.00,15.00,20.00 |
| 88 | 1.00,1.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,3.00,1.00,1.00 |
| 89 | 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00 |
| 90 | 1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50 |
| 91 | 0.00,0.00,0.00,0.00,0.00,0.40,0.80,1.20,1.60,2.00,2.40,2.80,3.20,3.20,3.20 |
| 92 | ysmrr2.csv: | |
| 93 | 2.00,3.00,4.00,5.00,6.00,6.50,7.00,7.50,8.00,8.50,9.00,9.50,10.00,15.00,20.00 |
| 94 | -1.00,-1.00,-3.00,-3.00,-3.00,-3.00,-3.00,-3.00,-3.00,-3.00,-3.00,-3.00,-3.00,-1.00,-1.00 |
| 95 | 0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00 |
| 96 | 1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50,1.50 |
| 97 | 0.00,0.00,0.00,0.00,0.00,0.40,0.80,1.20,1.60,2.00,2.40,2.80,3.20,3.20,3.20 |
| 98 | line.csv: | |
| 99 | 3.00,6.00,9.00 |
| 100 | 0.00,1.00,1.00 |
| 101 | 0.00,0.00,0.00 |
| 102 | 1.00,1.00,1.00 |
| 103 | 0.00,0.00,0.00 |
| 104 | orbit.csv: | |
| 105 | 3.00,7.00,8.10,9.20,10.30,11.40,12.50,13.60,14.70,15.80,16.90,18.00,21.00 |
| 106 | 0.00,-0.50,-0.21,0.54,1.46,2.21,2.50,2.21,1.46,0.54,-0.21,-0.50,-0.50 |
| 107 | 0.00,1.00,0.12,-0.43,-0.43,0.12,1.00,1.88,2.43,2.43,1.88,1.00,1.00 |
| 108 | 1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,1.00,0.00 |
| 109 | 0.00,0.00,0.63,1.26,1.88,2.51,3.14,3.77,4.40,5.03,5.65,6.28,6.28 |
Woojoong Kim | 0b46a41 | 2021-01-25 00:51:11 -0800 | [diff] [blame] | 110 | droneNetListener: |
| 111 | port: 58080 |
Woojoong Kim | 676bbac | 2021-01-15 12:00:33 -0800 | [diff] [blame] | 112 | |
| 113 | networks: |
| 114 | hostNetwork: true |
| 115 | |
Woojoong Kim | 0b46a41 | 2021-01-25 00:51:11 -0800 | [diff] [blame] | 116 | coredns: |
| 117 | deploy: true |
| 118 | serviceType: ClusterIP |
| 119 | service: |
| 120 | clusterIP: 10.67.128.12 |
| 121 | servers: |
| 122 | - zones: |
| 123 | - zone: . |
| 124 | port: 53 |
| 125 | plugins: |
| 126 | - name: errors |
| 127 | - name: health |
| 128 | configBlock: |- |
| 129 | lameduck 5s |
| 130 | - name: ready |
| 131 | - name: forward |
| 132 | parameters: . 10.67.128.10 |
| 133 | - name: cache |
| 134 | parameters: 30 |
| 135 | - name: loop |
| 136 | - name: reload |
| 137 | - name: loadbalance |
| 138 | - zones: |
| 139 | - zone: local |
| 140 | port: 53 |
| 141 | plugins: |
| 142 | - name: errors |
| 143 | - name: health |
| 144 | configBlock: |- |
| 145 | lameduck 5s |
| 146 | - name: ready |
| 147 | - name: hosts |
| 148 | configBlock: |- |
Woojoong Kim | 4f5cf18 | 2021-01-31 00:09:54 -0800 | [diff] [blame] | 149 | 10.250.255.1 drone1.local |
| 150 | 10.250.255.2 drone2.local |
| 151 | 10.250.255.3 drone3.local |
| 152 | 10.64.5.35 mocap.local |
| 153 | 10.64.4.139 node2.local |