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

How to get odometry message from picoscan150? #23

Open
whm210806 opened this issue Oct 10, 2024 · 1 comment
Open

How to get odometry message from picoscan150? #23

whm210806 opened this issue Oct 10, 2024 · 1 comment

Comments

@whm210806
Copy link

whm210806 commented Oct 10, 2024

Hi, I'm trying to use the picoscan150 on AGV navigation. After launching the sick_lidar_localization.launch, I can see the odometry 0104 and 0105 topics, but there's no message published inside. How can I solve this problem? Thank you.

@whm210806 whm210806 changed the title How to get odometry message, grid map and point cloud from picoscan150? How to get odometry message from picoscan150? Oct 14, 2024
@honyu-sick
Copy link

honyu-sick commented Oct 15, 2024

image-20241014131957-3
image-20241014132548-4
image-20241014133508-5
image-20241014134203-6
ROS Driver capabilities:

The ROS driver communicates with LiDAR-LOC to extract the results or additional information from or to LiDAR-LOC. .
This communication happens via ROS topics or ROS services.

Here is the ROS topic list that user gets once the parameters have been correctly set up.

These ROS topics contain different types of variables that the customer can use.
Here is an example from the localization result topic (vehicle's coordinates) "":

To see this topic, the user can use the command:

rostopic echo /localizationcontroller/out/localizationcontroller_result_message_0502

Note: The ROS driver needs to be already launched.

To extract the variables from the ROS Driver, the user needs to subscribe to a topic and assign the variables from the messages to a local variable.
Here is an python program that retrieves the localization result output.
The program retrieves the localization result and uses the print function to display it on the terminal.

Please find example python script attached to this post.

Odometry within LiDAR-LOC:

LiDAR-LOC uses the vehicle's wheel odometry or the user's "calculated-external"odometry to uses it as a second source to calculate the vehicle's localization.
This additional input can be sent to LiDAR-LOC via the "/odom" topic in LiDAR-LOC.

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