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

project_quadcopter's profile - activity

2021-11-14 00:59:34 -0500 received badge  Student (source)
2016-07-06 13:09:26 -0500 received badge  Famous Question (source)
2016-05-06 14:41:52 -0500 received badge  Notable Question (source)
2016-03-25 00:58:09 -0500 received badge  Popular Question (source)
2016-03-13 18:00:06 -0500 received badge  Enthusiast
2016-03-08 19:14:35 -0500 asked a question Trying to interface pixhawk IMU through MAVROS and HECTOR_SLAM

Hello,

I am very new to ROS and am working on a project using a Hukoyo-04LX laser and a pixhawk for IMU data. I was able to generate a hector_slam map using the laser, but I have had zero success integrating the pixhawk. I am using the hector_imu_attitude_to_tf node with the following line <remap from="/imu_topic" to="/mavros/imu/data_raw"/>. I seem to be getting the following errors:

in the terminal that i run hector_imu_attitude_to_tf in the terminal that I run hector_slam_launch at line 240 in /tmp/binarydeb/ros-indigo-tf2-0.5.12/src/buffer_core.cpp Error: TF_NAN_INPUT: Ignoring transform for child_frame_id "base_link" from authority "unknown_publisher" because of a nan value in the transform (0.000000 0.000000 0.000000) (-nan -nan -nan -nan)

in my tf tree:

map-->odom-->base_footprint map-->odom-->base_stabilized-->base_link-->laser map-->scanmatcher_frame (sorry I was not able to upload the picture)

Any help would be appreciated. Please let me know if further information is needed.

Thanks!!