Please select Into the mobile phone version | Continue to access the computer ver.
Gimbal Control
88 3 7-30 02:28
Uploading and Loding Picture ...(0/1)
o(^-^)o
Milhouse1234
lvl.3

Denmark
Offline

Hi,

I'm trying to control the gimbal but the rosservice doesn't seem to be working properly. No matter my inputs, the angle output and the "time" argument do not seem to correspond. Screenshot from 2020-07-30 11-24-12.png

Is it maybe necessary to recalibrate? If so, how do I do it?
Also, what is the "rotationMode" argument used for? I've tried changing the values but it never gave me an error and didn't seem to make a difference in the output.

Setup:
OSDK 4.0 (not the master)
M210 RTK v2
Zenmuse XT2

Thanks in advance,
Lucas
7-30 02:28
Use props
kv886
lvl.4

South Africa
Offline

It may be that the coordinate system is different. The coordinate system for setting the rotation angle is the body coordinate system. But if you get the attitude of the gimbal the  coordinate system is Ground coordinate system.
7-31 00:36
Use props
Milhouse1234
lvl.3

Denmark
Offline

That might be it.. Thanks for the help
8-3 23:33
Use props
Milhouse1234
lvl.3

Denmark
Offline

kv886 Posted at 7-31 00:36
It may be that the coordinate system is different. The coordinate system for setting the rotation angle is the body coordinate system. But if you get the attitude of the gimbal the  coordinate system is Ground coordinate system.

Even if that were true, it wouldn't explain how I asked it to turn 10º and it moved 30. Also, it moved mostly in the yaw frame when I asked for pitch movement.
Not to mention the time requested was much longer than the time for execution.
It's too weird
Edit: Nevermind, I see what I did wrong there.
8-4 06:45
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules