Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix psdk_wrapper.launch.py by removing tab in default config files #6

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions config/psdk_authentication.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/**:
ros__parameters:
app_name: "YourPSDK"
app_id: "YourID"
app_key: "YourAppKey"
app_license: "YourAppLicense"
developer_account: "YourDeveloperAccount"
baudrate: "921600"
ros__parameters:
app_name: "YourPSDK"
app_id: "YourID"
app_key: "YourAppKey"
app_license: "YourAppLicense"
developer_account: "YourDeveloperAccount"
baudrate: "921600"
82 changes: 41 additions & 41 deletions config/psdk_params.yaml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
/**:
ros__parameters:
num_of_initialization_retries: 3
ros__parameters:
num_of_initialization_retries: 3

imu_frame: "imu_link"
body_frame: "base_link"
map_frame: "psdk_map_enu"
gimbal_base_frame: "gimbal_base"
gimbal_frame: "gimbal"
camera_frame: "camera_link"
publish_transforms: true
imu_frame: "imu_link"
body_frame: "base_link"
map_frame: "psdk_map_enu"
gimbal_base_frame: "gimbal_base"
gimbal_frame: "gimbal"
camera_frame: "camera_link"
publish_transforms: true

file_path: "/tmp/"
file_path: "/tmp/"

# Mandatory modules to be initialized. Mark with a true those which you
# consider mandatory for your application, false otherwise. Be aware that
# some modules might have inter-dependencies. Non mandatory modules will
# still be initialized but if case of failure, the node will continue to run.
mandatory_modules:
telemetry: true
flight_control: true
camera: false
gimbal: false
liveview: false
hms: false
perception: false
data_frequency: # Options are: 1, 5, 10, 50, 100, 200, 400 Hz
imu: 1
attitude: 10
acceleration: 10
velocity: 50
angular_velocity: 10
position: 50
altitude: 50
gps_fused_position: 50
gps_data: 1
rtk_data: 50
magnetometer: 1
rc_channels_data: 1
gimbal_data: 10
flight_status: 1
battery_level: 1
control_information: 1
esc_data_frequency: 1
# Mandatory modules to be initialized. Mark with a true those which you
# consider mandatory for your application, false otherwise. Be aware that
# some modules might have inter-dependencies. Non mandatory modules will
# still be initialized but if case of failure, the node will continue to run.
mandatory_modules:
telemetry: true
flight_control: true
camera: false
gimbal: false
liveview: false
hms: false
perception: false

data_frequency: # Options are: 1, 5, 10, 50, 100, 200, 400 Hz
imu: 1
attitude: 10
acceleration: 10
velocity: 50
angular_velocity: 10
position: 50
altitude: 50
gps_fused_position: 50
gps_data: 1
rtk_data: 50
magnetometer: 1
rc_channels_data: 1
gimbal_data: 10
flight_status: 1
battery_level: 1
control_information: 1
esc_data_frequency: 1