- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I am doing some position control with Intel Drone. First I let it go into offboard mode, then I set the position reference for the drone to follow through "mavros/set_position/pose" topic, the code is like this:
mypose = PoseStamped()
mypose .pose.position.x = 0
mypose .pose.position.y = 1
mypose .pose.position.z =3
mypose .pose.orientation.x =0
mypose .pose.orientation.y =0
mypose .pose.orientation.z =0
mypose .pose.orientation.w =1
pub.publish(mypose)
I just want the drone to reach the position coordinate (0,1,3), then how should I set the value for mypose .pose.orientation.x , mypose .pose.orientation.y, mypose .pose.orientation.z and mypose .pose.orientation.w?
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ZChen57,
Thank you for your interest in the Intel Aero Ready to Fly drone.
Unfortunately, we did not test this program and we are unable to provide you a suitable answer.
Since this questions imply ROS programming, the best source for a right solution will be the mavros GitHub Issue page - https://github.com/mavlink/mavros/issues
Thank you and best regards,
Eliza
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello ZChen57,
Thank you for your interest in the Intel Aero Ready to Fly drone.
Unfortunately, we did not test this program and we are unable to provide you a suitable answer.
Since this questions imply ROS programming, the best source for a right solution will be the mavros GitHub Issue page - https://github.com/mavlink/mavros/issues
Thank you and best regards,
Eliza

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page