ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Using this package with a different purpose [Land a quadcopter]

asked 2019-04-22 08:11:10 -0600

Dylan gravatar image

I need to land my quadcopter on predefined tag. I’m using ARTags, so I know the position of the target when I see it with my camera. But I need to implement a better control, so I decided to use an Extended Kalman Filter (EKF) that uses the information of the camera but also from the gyroscope, magnetometer, etc.

I found this package called tum_ardrone that does a SLAM and then the EKF. What I would need is to use the first two nodes (drone_stateestimation and maybe drone_autopilot), but I don’t want to use the drone_gui node because it needs the final position to be send by a joystick or keyboard, and I need that position to be the position or my tag. I mean, I want the final position to be read in a specific topic where I can store the position of ny tag (or maybe you have a better solution)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-04-22 09:03:02 -0600

Hamid Didari gravatar image

Hi I think this pkg is better for you to use if you want just fuse imu and vo than tum ar_drone

edit flag offensive delete link more

Comments

But does that package make a map of the place where the quadcopter is?

Dylan gravatar image Dylan  ( 2019-04-22 16:04:46 -0600 )edit

why are you need a map? for landig uav you don't need a map

Hamid Didari gravatar image Hamid Didari  ( 2019-04-22 23:07:43 -0600 )edit

Ok, but I have some more questions. 1) the odom of my quadcopter is 3D because it’s flying, so the z component is not zero. The package talks about a 2D odometry topic. 2) I also have information about the gyroscope, accelerometer and magnetometer, pressure sensor, etc., but the pkg only talks about 3 subscribed topics: 2D odometry, imu and visual odometry

Dylan gravatar image Dylan  ( 2019-04-23 00:49:41 -0600 )edit

you can disable 2d odometry and in my experience i suggest you do not use magnetometer and pressure sensor for landing because pressure sensor have ground effect when the uav is landing and magnetometer can bother you only vo and imu i think is fine for landing(i tested with imu and marker for landing and it's just fine)

Hamid Didari gravatar image Hamid Didari  ( 2019-04-23 01:09:24 -0600 )edit

And what about the gyroscope and accelerometer?

Dylan gravatar image Dylan  ( 2019-04-23 04:31:20 -0600 )edit

imu = gyroscope + accelerometer

Hamid Didari gravatar image Hamid Didari  ( 2019-04-23 07:08:25 -0600 )edit

Ok. I didn’t know you use that nomenclature.

I can determine the visual odometry only when the tag is in my FOV. What happens when the visual odometry is 0?

To determine the visual odometry, do I have to make a topic that has the expected format, based on the information provided by the AR tag?

Dylan gravatar image Dylan  ( 2019-04-23 07:10:04 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-04-22 08:11:10 -0600

Seen: 209 times

Last updated: Apr 22 '19