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

Invalid argument "/world" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like warning #69

Open
ta-jetson opened this issue Dec 27, 2023 · 3 comments

Comments

@ta-jetson
Copy link

OS: Ubuntu 20
ROS: Noetic

I setup and built the FUEL algorithm in my system, but when I start the simulation as given in the Readme I am getting the following error when I run roslaunch exploration_manager rviz.launch

[ WARN] [1703668613.069205315]: Invalid argument "/world" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:
[ WARN] [1703668613.069228771]: Invalid argument "/world" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:
[ WARN] [1703668613.069252890]: Invalid argument "/world" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:
[ WARN] [1703668613.069275772]: Invalid argument "/world" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like:

I am getting this error in RVIZ

image
image

And in another terminal I am getting the below when I run roslaunch exploration_manager exploration.launch

cost mat size final:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
Before remove: 6
After remove: 6
[ WARN] [1703668610.968778590]: Frontier t: 0.001246
0, 1, 2, 3, 4, 5,
new num: 0, new dormant: 0
to visit: 6, dormant: 0
cost mat size before remove:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
cost mat size remove:

cost mat add:

cost mat size final:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
[ INFO] [1703668611.097074827]: [FSM]: state: WAIT_TRIGGER
[ WARN] [1703668611.097103920]: wait for trigger.
Before remove: 6
After remove: 6
0, 1, 2, 3, 4, 5,
new num: 0, new dormant: 0
to visit: 6, dormant: 0
cost mat size before remove:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
cost mat size remove:

cost mat add:

cost mat size final:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
Before remove: 6
After remove: 6
0, 1, 2, 3, 4, 5,
new num: 0, new dormant: 0
to visit: 6, dormant: 0
cost mat size before remove:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
cost mat size remove:

cost mat add:

cost mat size final:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
[ INFO] [1703668612.100573511]: [FSM]: state: WAIT_TRIGGER
[ WARN] [1703668612.100603082]: wait for trigger.
Before remove: 6
After remove: 6
0, 1, 2, 3, 4, 5,
new num: 0, new dormant: 0
to visit: 6, dormant: 0
cost mat size before remove:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
cost mat size remove:

cost mat add:

cost mat size final:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
Before remove: 6
After remove: 6
0, 1, 2, 3, 4, 5,
new num: 0, new dormant: 0
to visit: 6, dormant: 0
cost mat size before remove:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),
cost mat size remove:

cost mat add:

cost mat size final:
(6,6), (6,6), (6,6), (6,6), (6,6), (6,6),

@ta-jetson ta-jetson changed the title I am getting error when I run the simulation Invalid argument "/world" passed to canTransform argument source_frame in tf2 frame_ids cannot start with a '/' like warning Dec 27, 2023
@Qhijane
Copy link

Qhijane commented Apr 2, 2024

hello,I have facing an issue as you. Do you have an answer or do you have any suggestion to fix this bug?

@lightkid
Copy link

lightkid commented Apr 6, 2024

replace "/world" by "world"

@JaBerrin
Copy link

you need to locate to this file: FUEL / uav_simulator / Utils / odom_visualization / src / odom_visualization.cpp In this file, find something like: *.frame_id = string("/world"). you should remove "/" in all those statements. but you do not need to do so for line 369. Then save the file, catkin and run again, the warning will not exist.

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

No branches or pull requests

4 participants