dji-sdk / Onboard-SDK-ROS

Official ROS packages for DJI onboard SDK.
436 stars 308 forks source link

How to Set Gimbal Reference Point for H20T? #520

Open jin-bae-joulea opened 1 year ago

jin-bae-joulea commented 1 year ago

I have an H20T hooked up to my M300 and I'm using OSDK-ROS on my onboard Jetson to control the gimbal. However, I've noticed that the angle in the default position (facing directly front) is 0 degree roll 0 degree pitch and -100 degree yaw. Is there a way to set this angle to be 0 0 0 at its default position? Also, is the default angle always 0 0 -100? Sometimes the angle values are set to something else like 0 0 -65 at its default position. Thanks.

dji-dev commented 1 year ago

Agent comment from kyle.cai in Zendesk ticket #77732:

The gimbal attitude angle obtained by OSDK is based on NEU, and 0 degrees refers to north.

°°°

jin-bae-joulea commented 1 year ago

Does the magnetometer reading only affect the initial gimbal yaw value or is the gimbal yaw value entirely based on the magnetometer reading according to NEU? We're talking about dji_osdk_ros/gimbal_angle topic right?


From: DJI @.> Sent: Monday, February 20, 2023 10:33:14 PM To: dji-sdk/Onboard-SDK-ROS @.> Cc: Jin Bae @.>; Author @.> Subject: Re: [dji-sdk/Onboard-SDK-ROS] How to Set Gimbal Reference Point for H20T? (Issue #520)

Caution: This is an external email and may be malicious. Please take care when clicking links or opening attachments.

Agent comment from kyle.cai in Zendesk ticket #77732https://djisdksupport.zendesk.com/agent/tickets/77732:

The gimbal attitude angle obtained by OSDK is based on NEU, and 0 degrees refers to north.

°°°

— Reply to this email directly, view it on GitHubhttps://github.com/dji-sdk/Onboard-SDK-ROS/issues/520#issuecomment-1437812679, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3X6YZUOGGB22PWKDO6B3Y3WYQZPVANCNFSM6AAAAAAVCI4KOA. You are receiving this because you authored the thread.Message ID: @.***>