You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find the pose information of a drone is different is the mavlink message (ATTITUDE) and mavros/local/pose.
I was flying an ArduCopter in the guided mode. It is required to call the takeoff service before we can send position setpoints to setpoint_position/local. Lets say the target position is 1, 0, takeoff height, then I find the drone rotate 90 degrees in yaw before it performs translation. So, I guess there maybe be something wrong in frame transformation.
In order to verify that, I run ArduCopter in simulation, and I find even when I just begin the simulation, the yaw angle of the drone is 90 degrees in local_position/pose,
while at the same time, the mavlink message ATTITUDE shows 0 in yaw angle
After making it takeoff for 5m, I use mavproxy to make the drone move 10m forwards, which is shown as 10m movement in y direction from mavros/local/pose.
Therefore, I believe the frame translation is wrong.
MAVROS version and platform
Mavros: 1.17
ROS: Noetic
Ubuntu: 20.04
Autopilot type and version
[X] ArduPilot
[ ] PX4
Version: 4.4.0
Node logs
copy output of mavros_node. Usually console where you run roslaunch
I find the pose information of a drone is different is the mavlink message (ATTITUDE) and mavros/local/pose.
I was flying an ArduCopter in the guided mode. It is required to call the takeoff service before we can send position setpoints to
setpoint_position/local
. Lets say the target position is 1, 0, takeoff height, then I find the drone rotate 90 degrees in yaw before it performs translation. So, I guess there maybe be something wrong in frame transformation.In order to verify that, I run ArduCopter in simulation, and I find even when I just begin the simulation, the yaw angle of the drone is 90 degrees in local_position/pose,
while at the same time, the mavlink message ATTITUDE shows 0 in yaw angle
After making it takeoff for 5m, I use mavproxy to make the drone move 10m forwards, which is shown as 10m movement in y direction from mavros/local/pose.
Therefore, I believe the frame translation is wrong.
MAVROS version and platform
Mavros: 1.17
ROS: Noetic
Ubuntu: 20.04
Autopilot type and version
[X] ArduPilot
[ ] PX4
Version: 4.4.0
Node logs
Diagnostics
Check ID
The text was updated successfully, but these errors were encountered: