-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ethzasl_sensor_fusion tutorial is not working properly #6
Comments
------------------------------- ==== Follow up from Hunzai ==== --------------------------------- Dear Stephan! thanks for reply, Now first tutorial code (position_ for 3DoF global position ) using dataset is working properly, i had mistakenly commented a "take fix covariance" code in viconpos_sensor.cpp. But second tutorial code( for 6Dof ) is still throwing the NAN, output (q_cv_ and q_wv ) is as fallows: .......................................................................... [ INFO] [1358804676.146102699]: filter initialized to: === ERROR === update: NAN at index 0 cheers, |
Dear Hunzai, According to the ROS warnings thrown it seems that the measurement messages are not correctly received (i.e not received). Hence the initial attitude and position may be too far off of the true values destabilizing the filter. Best |
Dear Stephan! Thanks, Now measurements are received correctly, both tutorials === ERROR === update: NAN at index 0 === ERROR === update: NAN at index 0 cheers, Hunzai On Mon, Jan 21, 2013 at 11:49 PM, stephanweiss notifications@github.comwrote:
|
Thanks, Problem solved. The problem was in time stamp in sensor_msgs::Imu. cheers, Hunzai |
Dear Hunzai, Sorry for my late (actually too late) reply. I'm currently buried in work. Thanks From: amajan [notifications@github.com] Thanks, Problem solved. The problem was in time stamp in sensor_msgs::Imu. cheers, Hunzai — |
Forwarded communication from Gmail
From: Ahmed D. Hunzai
Sent: Monday, January 21, 2013 12:14 AM
To: Weiss Stephan; Achtelik Markus
Hi,
Thanks for sharing framework and such nice tutorials, I am intended to use ethzasl_sensor_fusion package to integrate my 6dof visual odometry and IMU. I have tried the tutorial and got it working, but have a problem in results (ssf_core/state_out etc), mostly it is showing nothing on rxplot even after fallowing all instructions in tutorial, some times it shows good results for few seconds are then giving error, as given below and screenshot of the rxgraph is attached.
My second question is regarding using package with my visual odoemtry and IMU, initially i will use with fixed covariance. Please confirm if following steps are correct ( uisng viconpose_ example given in second tutorial)
third question is, how pose_sensor can be used with 6dof visual odometry?
can you please share code that is running correctly with the dateset given in tutorials?
subscribed to topics:
/auk/fcu/imu
/ssf_core/hl_state_input
/vicon/auk/auk
advertised topics:
/rosout
/ssf_core/state_out
/ssf_core/correction
/ssf_core/pose
/ssf_core/ext_state
/viconpos_sensor/parameter_descriptions
/viconpos_sensor/parameter_updates
[ INFO] [1358713846.549348267]: filter initialized to:
position: [0, 1.42598e-311, -6.19637e-42]
scale:1
attitude (w,x,y,z): [-3.58916e-45, -1.6005e-41, -4.27156e-42, -1.70691e-41
p_ci: [0, 0, 0
q_ci: (w,x,y,z): [1, 0, 0, 0]
[ WARN] [1358713866.497728980]: large time-gap re-initializing to last state
=== ERROR === update: NAN at index 0
=== ERROR === update: NAN at index 0
=== ERROR === prediction p: NAN at index 0
=== ERROR === update: NAN at index 0
......
Thanks in advance.
cheers,
Hunzai
------------------------------- ==== Answer ==== ---------------------------------
from: Weiss Stephan
Dear Hunzai,
Thank you for the feedback and for using our framework. If the rxplots do not show anything but the time-line still advances in the plot this means that the filter throws NANs somewhere. Code and tutorial should work - unless an error slipped in when I was testing it.
and send me the output.
Using your VO/IMU: the general steps you describe are correct. However, I think your VO computes a 6DoF pose, whereas the tutorial is made for a 3DoF position. Therefor, you may actually want to do similar steps as described in the tutorial but using the pose_sensor files as a basis (instead of the position_sensor files as in the tutorial). Keep in mind that the values you should change in the *_fix.yaml file are the camera-imu calibration parameters (q_ci, p_ci), the delay and the noise of your VO. If the filter does not do what you expect, usually q_ci is not set correctly. The noise parameters should be computed once and then kept fix.
using VO as 6DoF: see in 2) the pose (=6DoF) sensor module essentially provides everything you need if I am not mistaken.
Please let me know if the above helps and how things are going.
Best
Stephan
PS: Do you mind posting this conversation as an issue on github? This way, other users have access to the information as well.
The text was updated successfully, but these errors were encountered: