-
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
Not able to publish to the topic: /dji_sdk/flight_control_setpoint_rollpitch_yawrate_zposition #534
Comments
Agent comment from Leon in Zendesk ticket #106373: Greetings. We appreciate your contact with DJI - Da-Jiang Innovations. We apologize for the delay. Due to the ongoing national public holiday in our country, our engineers are currently on leave. They are expected to get in touch with you again on May 6th. We sincerely apologize for any inconvenience this may have caused. Thank you for your support of DJI products! Wishing you all the best! Best Regards, DJI - Da-Jiang Innovations SDK Technical Support °°° |
Thanks for getting back to me, I await your response. |
Agent comment from Leon in Zendesk ticket #106373: Greetings! We appreciate your contact with DJI - Da-Jiang Innovations. Thank you for your patience. May we inquire about the specific version of ROS you are using and the model of your drone? We may need to verify this information first before we can further assist you. Thank you for your support of DJI products! Wishing you all the best! Best Regards, DJI - Da-Jiang Innovations SDK Technical Support °°° |
I am using ROS Kinetic, and DJI M300. But I have resolved the issue, I was not obtaining the control authority. |
Agent comment from Leon in Zendesk ticket #106373: Greetings. We appreciate your contact with DJI - Da-Jiang Innovations. We apologize for any inconvenience caused by the delay. We are pleased to hear that you have resolved the issue. Should you have any further requests, please do not hesitate to contact us again. Thank you once more. We appreciate your support for DJI products! Wishing you all the best! Best Regards, DJI - Da-Jiang Innovations SDK Technical Support °°° |
My final aim to design a NMPC controller that would generate a pitch, roll angles, yaw rate commands, and z position command.
What I am trying to do is to publish to the following topic:
/dji_sdk/flight_control_setpoint_rollpitch_yawrate_zposition
To do this, I first launch the
dji_sdk_node
. Then, I open another terminal, and run the following command in terminal:rostopic pub /dji_sdk/flight_control_setpoint_rollpitch_yawrate_zposition sensor_msgs/Joy "{header: {stamp: {secs: 0, nsecs: 0}, frame_id: ''}, axes: [0.0, 0.0, 0.0, 0.5], buttons: []}"
When i run the command, it says "publishing and latching message", but I don't see anything happening in the DJI Assitant 2 Simulator.
But, When I publish to the
/dji_sdk/flight_control_setpoint_generic
, it works and I see the drone moving in the simulator. I think it has to do something with the flags. Could anyone please help me out here!The text was updated successfully, but these errors were encountered: