I'm trying to figure out how to use the inertial sensors in an AR Drone to perform a rough version of dead reckoning. I want to move the drone around a room (without flying it) and using the velocity and orientation data from the drone to plot the trajectory that I have moved it so far.
I know that inertial odometry data is prone to heavy drift with continuous use, but for a short term exploration, I am ok with that.
I'm running the ardrone_autonomy package on ROS and I am using the odometry data from the drone to plot my trajectory on Rviz. However, Rviz only shows me the orientation of my drone and does not update movement whatsoever.
This is how my Rviz looks:
As you can see, even if I move the drone around the entire room, the position on the map does not get updated, but the orientation does.
Can anyone tell me what I am doing wrong here?