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
Problem displaying laser scan #132
Comments
Hi @Cavalletta98 can you please provide the asked for information so we can have a starting point to help you? In particular, how did you enable the laser? For reference:
|
@tonybaltovski I run the command |
Thanks! I was able to reproduce the issue and the fix is #133. Please give that a try. |
@tonybaltovski The fix worked for the echo command. When i run my launch file provided to you before, i got this errors |
@tonybaltovski I noticed that if i launch the simulation with |
Can you set |
@tonybaltovski I setted |
We are able to reproduce the issue and will get back to you. |
Thanks. I think the two issue are related. I was able to visualize the robot in the map |
Hi All, Using |
@DrAndyWest HAve you solved it? |
Hi All, jackal_gazebo/gazebo.launch.py Additional 'is_sim' argument is required for the teleop include on Line 101. jackal_description/description.launch.py
The robot_state_publisher node line needs to include use_sim_time, e.g. jackal_control/teleop_base.launch.py jackal_control/control.launch.py Annoyingly, the control nodes cannot have use_sim_time arguments passed to them using launch arguments (see this issue). We must amend the jackal_control/config/control.yaml file. jackal_control/config/control.yaml
User beware! I noticed that the Jackal hardware uses this control code too (see here). Therefore, hard-coding in use_sim_time: true is kind of risky. As I use both sim and hardware I will have to be careful. As this is a decision to be made by Clearpath how to handle this use_sim_time issue for the controller manager (which gets passed to jackal_velocity_controller and joint_state_broadcaster), I don't think a PR request and pushing my changes is sensible. |
Hi @DrAndyWest i have done all you suggestion but still not working. In particular, when i launch |
Hi, i'm running on Ubuntu 20.04 with ROS Foxy and i'm trying to echo the laser topic with the command
ros2 topic echo /front/scan
. I'm getting this errorCannot echo topic '/front/scan', as it contains more than one type: [sensor_msgs/msg/LaserScan, sensor_msgs/msg/PointCloud2].
. Can you please help me?Thanks
The text was updated successfully, but these errors were encountered: