Skip to content
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

SITL error: unconnected trees #1293

Closed
BRNKR opened this issue Aug 14, 2019 · 15 comments · Fixed by #1300
Closed

SITL error: unconnected trees #1293

BRNKR opened this issue Aug 14, 2019 · 15 comments · Fixed by #1300
Labels

Comments

@BRNKR
Copy link

BRNKR commented Aug 14, 2019

Hey,

with actual PX4 master and mavros i am getting following error

ODOM: Ex: Could not find a connection between 'local_origin_ned' and 'fcu' because they are not part of the same tree.Tf has two or more unconnected trees.

frames.pdf

@TSC21
Copy link
Member

TSC21 commented Aug 14, 2019

That's a direct consequence of #1252. A definite solution is being worked on so stay tunned.

@senthilarul
Copy link

Is there any update on this issue. PX4 firmware was working fine for me over the last few months, but since the last 3 days it shows the this error

ODOM: Ex: Could not find a connection between 'local_origin_ned' and 'fcu' because they are not part of the same tree.Tf has two or more unconnected trees.

I even tried building the latest version of firmware from scratch and it shows the same error. Is there a fix for this?

@autorobot192
Copy link

Has anyone got any solution for this?

I am also facing the same problem.

@jungx148
Copy link

jungx148 commented Sep 2, 2019

Having same problem and waiting the update.

@TSC21
Copy link
Member

TSC21 commented Sep 2, 2019

Solution coming in #1300

@sasakou0911
Copy link

Hi, I've tried to build the latest firmware and I'm facing with the same problem. I'm not sure what should I do for solving it. Should I wait for a while for the update or can I modify something inside the Firmware?

@TSC21
Copy link
Member

TSC21 commented Sep 6, 2019

@ALL the issue your are facing won't break any functionality of MAVROS. Please allow #1300 to be reviewed and merged and as soon as it gets upstream, we will do the release.

@dftossem
Copy link

Having same problem and waiting the update.

Thanks for all your work guys.

@autorobot192
Copy link

Use this launch file and problem will be solved.

<node name="task_3" pkg="task_3" type="task_3_node" output="screen"/>
<node name ="link1_broadcaster" pkg="tf" type="static_transform_publisher" args="0 0 0 0 0 0 local_origin_ned fcu 10" />

@TSC21
Copy link
Member

TSC21 commented Sep 16, 2019

Use this launch file and problem will be solved.

<node name="task_3" pkg="task_3" type="task_3_node" output="screen"/>
<node name ="link1_broadcaster" pkg="tf" type="static_transform_publisher" args="0 0 0 0 0 0 local_origin_ned fcu 10" />

That doesn't solve anything. Just hides the problem ;)

@alcidesmig
Copy link

alcidesmig commented Oct 19, 2019

I'm trying to collect data from mavros/global_position/compass_hdg and mavros/global_position/global and this topics are not being published. I'm having the error the same error of the issue:

ODOM: Ex: Could not find a connection between 'local_origin_ned' and 'fcu' because they are not part of the same tree.Tf has two or more unconnected trees.

Is there any relationship between the error and the topics?
What can I do?

Thank you all!

@TSC21
Copy link
Member

TSC21 commented Oct 19, 2019

I'm trying to collect data from mavros/global_position/compass_hdg and mavros/global_position/global and this topics are not being published. I'm having the error the same error of the issue:

ODOM: Ex: Could not find a connection between 'local_origin_ned' and 'fcu' because they are not part of the same tree.Tf has two or more unconnected trees.

Is there any relationship between the error and the topics?
What can I do?

Thank you all!

Yes. 0.33 was already release and soon the fix should be available through apt. Anyway, if you want this fixed now, build or install MAVROS from source.

@TSC21
Copy link
Member

TSC21 commented Oct 19, 2019

Actually, I rephrase: the problem you are having has nothing to do with the TF issue. The more obvious issue I see is that you don't have GPS data on your autopilot. Anyway, different issue, so please do not continue the discussion in this topic.

@liangpu597
Copy link

liangpu597 commented Dec 25, 2019

My Systemis : Ubuntu 18.04 + PX4+ ROS Melodic Morenia.
I am in full simulate, I don't have pixwark
i have same troubles when i use : roslaunch px4 mavros_posix_sitl.launch
I can't understand these solution.
please tell me how to solve? thanks a lot !

@alcidesmig
Copy link

alcidesmig commented Dec 25, 2019

My Systemis : Ubuntu 18.04 + PX4+ ROS Melodic Morenia.
I am in full simulate, I don't have pixwark
i have same troubles when i use : roslaunch px4 mavros_posix_sitl.launch
I can't understand these solution.
please tell me how to solve? thanks a lot !

Try to source catkin_ws/devel/setup.bash and /opt/ros/.../setup.bash. My problem was solved doing it. Maybe you can try to run the command inside the catkin_ws folder and rebuild the project before sourcing the environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants