Closed ajay1606 closed 4 years ago
@hadiTab isn't this an issue with ROS?
@ajay1606 what sensors do you have on the vehicle? Is it the default Autoware car? Also what are the specs of the computer you are running it on?
Do you get any errors when you try to echo imu_raw?
@EricBoiseLGSVL & @hadiTab Thanks for your quick response. Currently am running LGSVL with Autoware with following specifications
OS: Ubuntu 16.04 (32GB RAM, Graphics card Titan Xp) ROS: kinetic
Simulation setup: Vehicle and map setup: Rosbridge connection status: $rostopic list output: $rostopic echo /poinst_raw output: $rostopic echo /imu_raw output: $rostopic hz /points_raw $rostopic hz /imu_raw
Jason format:
[{"type": "GPS Device", "name": "GPS",
"params": {"Frequency": 12.5, "Topic": "/nmea_sentence", "Frame": "gps", "IgnoreMapOrigin": true},
"transform": {"x": 0, "y": 0, "z": 0, "pitch": 0, "yaw": 0, "roll": 0}},{"type": "GPS Odometry", "name": "GPS Odometry",
"params": {"Frequency": 12.5, "Topic": "/odom", "Frame": "gps", "IgnoreMapOrigin": true},
"transform": {"x": 0, "y": 0, "z": 0, "pitch": 0, "yaw": 0, "roll": 0}},{"type": "IMU", "name": "IMU",
"params": {"Topic": "/imu_raw", "Frame": "imu"},
"transform": {"x": 0, "y": 0, "z": 0, "pitch": 0, "yaw": 0, "roll": 0}},{"type": "Lidar", "name": "Lidar",
"params": {"LaserCount": 32, "MinDistance": 0.5, "MaxDistance": 100, "RotationFrequency": 10, "MeasurementsPerRotation": 360, "FieldOfView": 41.33, "CenterAngle": 10, "Compensated": true, "PointColor": "#ff000000", "Topic": "/points_raw", "Frame": "velodyne"},
"transform": {"x": 0, "y": 2.312, "z": -0.3679201, "pitch": 0, "yaw": 0, "roll": 0}},{"type": "Color Camera", "name": "Main Camera",
"params": {"Width": 1920, "Height": 1080, "Frequency": 15, "JpegQuality": 75, "FieldOfView": 50, "MinDistance": 0.1, "MaxDistance": 1000, "Topic": "/simulator/camera_node/image/compressed", "Frame": "camera"},
"transform": {"x": 0, "y": 1.7, "z": -0.2, "pitch": 0, "yaw": 0, "roll": 0}},{"type": "Keyboard Control", "name": "Keyboard Car Control"},{"type": "Wheel Control", "name": "Wheel Car Control"},{"type": "Vehicle Control", "name": "Autoware Car Control",
"params": {"Topic": "/vehicle_cmd"} }]
Kind Regards Ajay
@ajay1606 Can you post player.log as well as any error msg from imu_raw please
@EricBoiseLGSVL I could not find the player.log file in the location: /.config/unity3d/LG Silicon Valley Lab/ Also, sometimes I observe very strangely /imu_raw publish and pause as shown in the shared video
@ajay1606 the rosbridge for ros kinetic has a lot of performance issues. Ros melodic's rosbridge does a much better job, but you can't install it on your host machine because it requires ubuntu 18.04. You can run it through docker though. I would suggest testing it out on ros melodic through a docker container to see if that improves things.
For example if you have docker installed:
docker pull ros:melodic-ros-core
docker run -it --net host ros:melodic-ros-core
apt update
apt install ros-melodic-rosbridge-suite
roslaunch rosbridge_server rosbridge_websocket.launch
@hadiTab , thanks for your efforts, I will check with ubuntu 18.04 and get back to you.
@hadiTab actually I have setup ubuntu 18.04 with ROS melodic in a separate machine. But I am getting an error while starting the simulation environment.
Test with lgsvlsimulator-linux64-2020.03-rc1 (release version)
lgsvlsimulator-linux64-2020.01 (release version)
Sorry for bothering you again, but could you please help me to fix this issue.
kind regards,
It seems like you had an old simulator installation on that machine.
Close the simulator and delete the folder called "LG Silicon Valley Lab" located in ~/.config/unity3d.
Launching the simulator again now should redownload all the maps and vehicles and the error should be resolved.
Excellent, billion thanks to you.
Really appreciate your help.
Thanks to LGSVL for an updated version of the simulator package. I have a few quick questions regarding simulator sensor data output to verify with the Autoware.
Working environment: Linux 16.04 (ROS Kinetic) LGSVL 2020.01 (released version)
command rostopic list output following topics: /client_count /connected_clients /imu_raw /nmea_sentence /odom /points_raw /rosout /rosout_agg /simulator/camera_node/image/compressed But there are no any data publishing in the topic /imu_raw
Raw points data are getting at /points_raw topic, but the output rate of is less than 5hz.
Could you please help me to figure out how to get imu_raw data and points_raw at 10 hz frequency.
Kind regards,