-
Notifications
You must be signed in to change notification settings - Fork 160
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
os_sensor node error when trying to publish imu/lidar_packets (ros2-foxy) #212
Comments
First time I have seen a complain about the topics are not activated, are using the latest commit.
This error suggest that the file is not properly loaded or maybe the namespace/nodename combination does not match. Since you are using the default file, the path shouldn't have be the issue. So I am wondering if changed the node name? |
Thanks for your reply.
Any suggestions? |
@tseco15 This was a code issue that was inadvertently introduced by a previous merge. Please update to the latest commit for the |
Thank you very much! It works properly now. |
With regard to |
os_sensor node error when trying to publish imu/lidar_packets (ros2-foxy)
We are working with ros2-foxy branch and we need lidar_packets topic.
When we launch the node, we get the following warning:
[os_sensor-1] [WARN] [1694514333.922770617] [LifecyclePublisher]: Trying to publish message on the topic '/ouster/imu_packets', but the publisher is not activated
[os_sensor-1] [WARN] [1694514333.923958652] [LifecyclePublisher]: Trying to publish message on the topic '/ouster/lidar_packets', but the publisher is not activated
but os_sensor is configured and activated.
To Reproduce
In order to reproduce the bug, we launch the os_sensor by two different ways:
ros2 launch ouster_ros sensor.independent.launch.xml sensor_hostname:=192.168.1.60
Once the connection with the ouster lidar is established, the warnings arise. The /ouster/points are not published either.
ros2 launch ouster_ros sensor.composite.launch.py
We change the value of sensor_hostname in os_sensor_cloud_image_params.yaml config file (default one), but the config file is not loaded correctly because an error arises:
[ouster.os_sensor]: Must specify a sensor hostname
Anyway, we set the sensor_hostname value manually in the source code, and after launching the previous launch file, the same message about the activation is shown.
Platform :
The text was updated successfully, but these errors were encountered: