Skip to content

Commit 7dc9c7e

Browse files
authored
Merge pull request #6 from aerostack2/5-launch-psdk_wrapperlaunchpy-fails-using-params-utils
Fix psdk_wrapper.launch.py by removing tab in default config files
2 parents f2bbc1b + 8e5f13a commit 7dc9c7e

File tree

2 files changed

+48
-48
lines changed

2 files changed

+48
-48
lines changed

config/psdk_authentication.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**:
2-
ros__parameters:
3-
app_name: "YourPSDK"
4-
app_id: "YourID"
5-
app_key: "YourAppKey"
6-
app_license: "YourAppLicense"
7-
developer_account: "YourDeveloperAccount"
8-
baudrate: "921600"
2+
ros__parameters:
3+
app_name: "YourPSDK"
4+
app_id: "YourID"
5+
app_key: "YourAppKey"
6+
app_license: "YourAppLicense"
7+
developer_account: "YourDeveloperAccount"
8+
baudrate: "921600"

config/psdk_params.yaml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,46 @@
11
/**:
2-
ros__parameters:
3-
num_of_initialization_retries: 3
2+
ros__parameters:
3+
num_of_initialization_retries: 3
44

5-
imu_frame: "imu_link"
6-
body_frame: "base_link"
7-
map_frame: "psdk_map_enu"
8-
gimbal_base_frame: "gimbal_base"
9-
gimbal_frame: "gimbal"
10-
camera_frame: "camera_link"
11-
publish_transforms: true
5+
imu_frame: "imu_link"
6+
body_frame: "base_link"
7+
map_frame: "psdk_map_enu"
8+
gimbal_base_frame: "gimbal_base"
9+
gimbal_frame: "gimbal"
10+
camera_frame: "camera_link"
11+
publish_transforms: true
1212

13-
file_path: "/tmp/"
13+
file_path: "/tmp/"
1414

15-
# Mandatory modules to be initialized. Mark with a true those which you
16-
# consider mandatory for your application, false otherwise. Be aware that
17-
# some modules might have inter-dependencies. Non mandatory modules will
18-
# still be initialized but if case of failure, the node will continue to run.
19-
mandatory_modules:
20-
telemetry: true
21-
flight_control: true
22-
camera: false
23-
gimbal: false
24-
liveview: false
25-
hms: false
26-
perception: false
27-
28-
data_frequency: # Options are: 1, 5, 10, 50, 100, 200, 400 Hz
29-
imu: 1
30-
attitude: 10
31-
acceleration: 10
32-
velocity: 50
33-
angular_velocity: 10
34-
position: 50
35-
altitude: 50
36-
gps_fused_position: 50
37-
gps_data: 1
38-
rtk_data: 50
39-
magnetometer: 1
40-
rc_channels_data: 1
41-
gimbal_data: 10
42-
flight_status: 1
43-
battery_level: 1
44-
control_information: 1
45-
esc_data_frequency: 1
15+
# Mandatory modules to be initialized. Mark with a true those which you
16+
# consider mandatory for your application, false otherwise. Be aware that
17+
# some modules might have inter-dependencies. Non mandatory modules will
18+
# still be initialized but if case of failure, the node will continue to run.
19+
mandatory_modules:
20+
telemetry: true
21+
flight_control: true
22+
camera: false
23+
gimbal: false
24+
liveview: false
25+
hms: false
26+
perception: false
27+
28+
data_frequency: # Options are: 1, 5, 10, 50, 100, 200, 400 Hz
29+
imu: 1
30+
attitude: 10
31+
acceleration: 10
32+
velocity: 50
33+
angular_velocity: 10
34+
position: 50
35+
altitude: 50
36+
gps_fused_position: 50
37+
gps_data: 1
38+
rtk_data: 50
39+
magnetometer: 1
40+
rc_channels_data: 1
41+
gimbal_data: 10
42+
flight_status: 1
43+
battery_level: 1
44+
control_information: 1
45+
esc_data_frequency: 1
4646

0 commit comments

Comments
 (0)