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

[cob_sick_s300] two sensors have only the base_link as reference frame #426

Open
SinanK94 opened this issue Nov 17, 2021 · 1 comment
Open

Comments

@SinanK94
Copy link

The scans from my sensors (sensor_1 and sensor_2) are captured in an output "scan" which have a common frame_id (default: base_link). The problem on my mobile robot is that one sensor is placed in the front left and the other sensor is placed in the back right. Therefore, I cannot use the common frame base_link because a map is created from the base_link and not from the respective sensors.

I did try it to see if I could list the frame_ids, as with the input_scans parameter, but without success. Is there maybe another solution for this?

<node pkg="cob_scan_unifier" type="scan_unifier_node" name="scan_unifier_node" respawn="false" output="screen" > <rosparam> loop_rate: 100 input_scans: - scan_1 - scan_2 frame: base_link #default <!-- frame: - sensor_1 - sensor_2 --> </rosparam> <remap from = "scan_unified" to = "scan"/> </node>

Thanks in advance!

@HannesBachter
Copy link
Contributor

You should introduce two frames (one for each scanner) that describe the position relative to the base link and set those links for the scanners. And in general, maps should be generated in map link, not in base_link

Maybe you should have a look at those first:

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

2 participants