-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from aerostack2/psdk_ros2_v1.3.0
[as2_platform_dji_psdk] Update changes in launcher and params to psdk_ros2 v1.3.0
- Loading branch information
Showing
7 changed files
with
88 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
/**: | ||
ros__parameters: | ||
cmd_freq: 30.0 # Hz (default: 100.0) | ||
info_freq: 10.0 # Hz (default: 10.0) | ||
enable_camera: false # (default: false) | ||
enable_gimbal: false # (default: false) | ||
gimbal_base_frame_id: "gimbal_base" # (default: "gimbal_base") | ||
tf_timeout_threshold: 0.05 # Default tf timeout (50ms) | ||
cmd_freq: 30.0 # Command send frequency to the platform (default: 30.0 Hz) | ||
info_freq: 10.0 # Info send frequency to ROS 2 (default: 10.0 Hz) | ||
enable_camera: false # Enable camera image publishing (default: false) | ||
enable_gimbal: false # Enable gimbal control (default: false) | ||
tf_timeout_threshold: 0.05 # tf timeout (default: 0.05 s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/**: | ||
ros__parameters: | ||
app_name: "YourPSDK" | ||
app_id: "YourID" | ||
app_key: "YourAppKey" | ||
app_license: "YourAppLicense" | ||
developer_account: "YourDeveloperAccount" | ||
baudrate: "921600" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/**: | ||
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 | ||
|
||
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 | ||
|
||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters