Closed trishantroy closed 5 years ago
I am sorry for opening the issue. It was working now! The only change I did was change the frame_id to map. It was base_link earlier. May this have been a possible reason for the problem earlier?
@trishantroy Where did you changed the frame id? Can you please explain , i am having the same issue
Issue details
Hey, I am using Pixhawk in my quadcopter. I have created a rosnode (/loc_vpe) to publish data on the /mavros/vision_pose/pose topic, taking x,y data from SLAM, z from TFMini (from /mavros/altitude topic) and orientation data from Pixhawk's imu (from /mavros/imu/data topic), time stamp: ros::Time::now(), header: "map" [Is this correct?] When I run the node, I am getting data on the /mavros/local_position/pose topic. I have set "EKF2_AID_MASK" as 8 ()tried with 24 as well) and "EKF2_HGT_MODE" as Range Sensor.
When I switch to Position mode using transmitter, there is a red light blinking instead of a green one. This means that the Pixhawk is unable to get it's position, right? What should I do to solve the issue? Thanks in advance.
rqt_graph:
MAVROS version and platform
Mavros: How to check this? Installed a month ago. ROS: ?Kinetic? Ubuntu: ?16.04?
Autopilot type and version
[ ] PX4: 1.8.1 px4fmu-v2 default
Node logs
Diagnostics
Check ID