-
Notifications
You must be signed in to change notification settings - Fork 309
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
What are the commands being sent from RC or being obtained from \dji_osdk_ros\rc topic? #538
Comments
Agent comment from Leon in Zendesk ticket #121730: Hello, thank you for contacting DJI. Thank you for your patience. First of all, the data you received in the range of -1 to 1 is the RC input, including the throttle range. Perhaps you can refer to: Do you want to combine these values with the actual flight speed of the drone for display? Thank you for your support of DJI products! Wish you all the best! Best Regards, °°° |
Hi I understand about the commands and the scale. What I mean to ask is, when I give the pitch stick, that command is converted into a pitch angle command? pitch rate or forward velocity? If it is a pitch angle command, what factor is being used to scale [-1 1] to the appropriate pitch angle command being used by the attitude controller? Similar to all four channels, like for throttle, what exactly does it mean? is it converted into thrust, ascent velocity, or vertical position command? And then yaw rate? is the command yaw rate or yaw angle? again what factor does it have? I have to do system identification, I have the commands from rc, attitude and local positions, and I have to derive the following transfer functions:
Now my question is, how do I scale up the rc input data? What factor should I multiply with the data so that I could use input/output data for the system identification? |
Agent comment from Leon in Zendesk ticket #121730: Hello, thank you for contacting DJI. Thank you for your further supplement. Sorry, I may not have fully understood your meaning before. In fact, you want to get the mapping relationship. For example, when the joystick value is 0.5, what is the corresponding thrust given to the aircraft? Is this correct? In addition, we noticed that you sent emails and messages through multiple channels. To avoid omissions and confusion in communication, we recommend that you communicate in the same ticket. Thank you for your support for DJI products! Wish you all the best! Best Regards, °°° |
Hi there,
I have a question. I have a HITL setup of DJI M300, and I am saving data by recording these topics using rosbag: dji_osdk_ros/attitude, dji_osdk_ros/imu, dji_osdk_ros/local_position and dji_osdk_ros/rc.
My RC is in S mode; I am confused about what exact commands are being sent from the RC sticks and what is being saved in dji_osdk_ros/rc. I know this is scaled to -1 to 1, but are these roll pitch yaw angles commands being sent from the RC sticks or is it something else? And is the throttle thrust or z-position command?
How do you do the appropriate scaling to visualize the data or make system identification, let's suppose?
The text was updated successfully, but these errors were encountered: