Error while running Husky_Simulator - "No p gain specified for pid. Namespace: /gazebo_ros_control/pid_gains/"

asked 2020-07-25 14:19:20 -0500

gauravmp gravatar image

Hi,

I'm new to ros and I have installed ros-melodic on Ubuntu 18.04. I was trying to do the husky simulator tutorial from http://wiki.ros.org/husky_gazebo/Tuto...

However, when i execute the command

roslaunch husky_gazebo husky_empty_world.launch

I get the following error and gazebo just shows me a black screen. Does anyone have any idea what I might be doing wrong?

No p gain specified for pid.  Namespace: /gazebo_ros_control/pid_gains/

Any help would be appreciated. I have printed the full log below for reference.

gaurav@gaurav-VirtualBox:~$ roslaunch husky_gazebo husky_empty_world.launch
... logging to /home/gaurav/.ros/log/392941d4-cea9-11ea-95e5-080027c59306/roslaunch-gaurav-VirtualBox-3504.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro: in-order processing became default in ROS Melodic. You can drop the option.
Deprecated: xacro tag 'sick_lms1xx_mount' w/o 'xacro:' xml namespace prefix (will be forbidden in Noetic)
when processing file: /opt/ros/melodic/share/husky_description/urdf/husky.urdf.xacro
Use the following command to fix incorrect tag usage:
find . -iname "*.xacro" | xargs sed -i 's#<\([/]\?\)\(if\|unless\|include\|arg\|property\|macro\|insert_block\)#<\1xacro:\2#g'

started roslaunch server http://gaurav-VirtualBox:41033/

SUMMARY
========

PARAMETERS
 * /ekf_localization/base_link_frame: base_link
 * /ekf_localization/frequency: 50
 * /ekf_localization/imu0: imu/data
 * /ekf_localization/imu0_config: [False, False, Fa...
 * /ekf_localization/imu0_differential: True
 * /ekf_localization/imu0_queue_size: 10
 * /ekf_localization/imu0_remove_gravitational_acceleration: True
 * /ekf_localization/odom0: husky_velocity_co...
 * /ekf_localization/odom0_config: [False, False, Fa...
 * /ekf_localization/odom0_differential: False
 * /ekf_localization/odom0_queue_size: 10
 * /ekf_localization/odom_frame: odom
 * /ekf_localization/two_d_mode: True
 * /ekf_localization/world_frame: odom
 * /gazebo/enable_ros_network: True
 * /husky_joint_publisher/publish_rate: 50
 * /husky_joint_publisher/type: joint_state_contr...
 * /husky_velocity_controller/angular/z/has_acceleration_limits: True
 * /husky_velocity_controller/angular/z/has_velocity_limits: True
 * /husky_velocity_controller/angular/z/max_acceleration: 6.0
 * /husky_velocity_controller/angular/z/max_velocity: 2.0
 * /husky_velocity_controller/base_frame_id: base_link
 * /husky_velocity_controller/cmd_vel_timeout: 0.25
 * /husky_velocity_controller/enable_odom_tf: False
 * /husky_velocity_controller/estimate_velocity_from_position: False
 * /husky_velocity_controller/left_wheel: ['front_left_whee...
 * /husky_velocity_controller/linear/x/has_acceleration_limits: True
 * /husky_velocity_controller/linear/x/has_velocity_limits: True
 * /husky_velocity_controller/linear/x/max_acceleration: 3.0
 * /husky_velocity_controller/linear/x/max_velocity: 1.0
 * /husky_velocity_controller/pose_covariance_diagonal: [0.001, 0.001, 0....
 * /husky_velocity_controller/publish_rate: 50
 * /husky_velocity_controller/right_wheel: ['front_right_whe...
 * /husky_velocity_controller/twist_covariance_diagonal: [0.001, 0.001, 0....
 * /husky_velocity_controller/type: diff_drive_contro...
 * /husky_velocity_controller/velocity_rolling_window_size: 2
 * /husky_velocity_controller/wheel_radius_multiplier: 1.0
 * /husky_velocity_controller/wheel_separation_multiplier: 1.875
 * /robot_description: <?xml version="1....
 * /rosdistro: melodic
 * /rosversion: 1.14.6
 * /twist_mux/locks: [{'topic': 'e_sto...
 * /twist_mux/topics: [{'topic': 'joy_t...
 * /use_sim_time: True

NODES
  /
    base_controller_spawner (controller_manager/spawner)
    ekf_localization (robot_localization/ekf_localization_node)
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    spawn_husky_model (gazebo_ros/spawn_model)
    twist_marker_server (interactive_marker_twist_server/marker_server)
    twist_mux (twist_mux/twist_mux)

auto-starting new master
process[master]: started with pid [3517]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 392941d4-cea9-11ea-95e5-080027c59306
process[rosout-1]: started with pid [3528]
started core service [/rosout]
process[gazebo-2]: started with pid [3535]
process[gazebo_gui-3]: started with pid [3540]
process[base_controller_spawner-4]: started with pid [3545]
process[ekf_localization-5]: started with pid [3546]
process[twist_marker_server-6]: started with pid [3547]
process[robot_state_publisher-7]: started with pid [3554]
process[twist_mux-8]: started with pid [3560]
process[spawn_husky_model-9]: started with pid [3562]
[ INFO] [1595703680.158171986]: [twist_marker_server] Initialized.
[ INFO] [1595703680.410995404]: Finished loading Gazebo ROS API Plugin.
[ INFO] [1595703680.412206709]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting ...
(more)
edit retag flag offensive close merge delete