yukkysaito / vehicle_sim

119 stars 46 forks source link

Facing problems while running with gpu #9

Closed KomalBagai closed 3 years ago

KomalBagai commented 3 years ago

Hello, While I can run everything without the gpu, I am facing this error when I run world_test.launch with gpu:

[ERROR] [1628072176.288128426, 0.159000000]: No p gain specified for pid.  Namespace: /autoware_gazebo/gazebo_ros_control/pid_gains/wheel_left_rear_joint
[ERROR] [1628072176.288572213, 0.159000000]: No p gain specified for pid.  Namespace: /autoware_gazebo/gazebo_ros_control/pid_gains/wheel_right_rear_joint
[Err] [REST.cc:205] Error in REST request

I can still see and control the car but I cant seem to visualise the Lidar points. As soon as I add the Lidar topic in rviz. I see:

Aborted (core dumped)
[gazebo-2] process has died [pid 11953, exit code 134, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -e ode /home/komal/catkin_ws/src/vehicle_sim/worlds/gazebo_world_description/worlds/autoware.world __name:=gazebo __log:=/home/komal/.ros/log/ff70235a-f50c-11eb-9784-309c23d0bf8a/gazebo-2.log].
log file: /home/komal/.ros/log/ff70235a-f50c-11eb-9784-309c23d0bf8a/gazebo-2*.log

Can anyone please help me with this? Thanks, Komal

KomalBagai commented 3 years ago

When I run: rosrun vehicle_sim_launcher setup.sh

I get the following:

Download generic gazebo models /home/komal/catkin_ws/src/vehicle_sim/launcher/vehicle_sim_launcher/scripts/download_model.sh: 10: /home/komal/catkin_ws/src/vehicle_sim/launcher/vehicle_sim_launcher/scripts/download_model.sh: hg: not found Error