ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Is it possible to use the linear velocity from an optical flow sensors along with IMU data (sensor fusion) in the ekf_localization package? If so, how?

asked 2015-10-03 13:45:01 -0600

ros_geller gravatar image

updated 2015-10-03 13:46:09 -0600


I am using the px4flow optical flow camera module with pixhawk. It outputs linear velocity, i would like to use this somehow in the extended kalman filter in ros. The inputs to the robot_pose_ekf are odometry for 2d position, 3d orientation and 6d visual odometry for both 3d position and 3d orientation.

Is it possible to use this package for linear velocity also, or would i have to integrate the data and use the position instead? And ofcourse, if it is possible, how would i got about doing this?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-10-06 02:39:50 -0600

ros_geller gravatar image

Figured it out. There also is a kalman filter package that, called robot_localization, that allows you to add any number of sensors that you would like. It neither restricts your odometry input to 2D (wheel odometry). It also gives you the choice between an extended kalman filter or an unscented kalman filter.

edit flag offensive delete link more


Hi, I'm working on the same project, i am using the px4flow optical flow camera, and i want to use optical flow data in the extended Kalman filter in ROS. could you please explain how did you use the optical flow data in robot_localisation

elyazid gravatar image elyazid  ( 2021-06-17 08:12:46 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-10-03 13:45:01 -0600

Seen: 803 times

Last updated: Oct 06 '15