Closed huaizhixu closed 11 months ago
Some time later, output:
[ INFO] [1694013983.743974051]: Published a grid map message.
[ INFO] [1694013983.744052947]: Loaded the mesh from file: /home/huaizhi/yuquan/code/catkin_ws/src/quad-sdk/quad_simulator/gazebo_scripts/worlds/flat/flat.ply. Its frame_id is set to 'map'
[Wrn] [ModelDatabase.cc:340] Getting models from[http://models.gazebosim.org/]. This may take a few seconds.
[Err] [ModelDatabase.cc:394] Unable to get model name[http://models.gazebosim.org/mud_box]
Some time later, output:
[ INFO] [1694014994.608271184, 0.377000000]: gazebo_ros_control plugin is waiting for model URDF in parameter [/robot_1/robot_description] on the ROS param server.
[ INFO] [1694014994.724330614, 0.377000000]: Loaded gazebo_ros_control.
[Msg] Waiting for model database update to complete...
[INFO] [1694014994.894702, 0.377000]: Controller Spawner: Waiting for service controller_manager/switch_controller
[INFO] [1694014994.898165, 0.377000]: Controller Spawner: Waiting for service controller_manager/unload_controller
[INFO] [1694014994.900287, 0.377000]: Loading controller: joint_controller
[ INFO] [1694014995.000943529, 0.377000000]: Ground Truth State Estimator: <updateRateHZ> set to: 500
[INFO] [1694014995.010302, 0.382000]: Loading controller: joint_state_controller
[INFO] [1694014995.018302, 0.390000]: Controller Spawner: Loaded controllers: joint_controller, joint_state_controller
[INFO] [1694014995.022346, 0.394000]: Started controllers: joint_controller, joint_state_controller
[robot_1/spawn_sdf_model-7] process has finished cleanly
log file: /home/huaizhi/.ros/log/ddeddd86-4cca-11ee-8efd-f92b0d9816de/robot_1-spawn_sdf_model-7*.log
Did you find solution to this? I am facing the exact same issue.
@pranavgo i've solved the problem. The key is to add the following lines to the environment variables
#gazebo
export GAZEBO_MODEL_PATH=:/home/huaizhi/yuquan/code/catkin_ws/src/quad-sdk/quad_simulator/spirit_description:/home/huaizhi/yuquan/code/catkin_ws/src/quad-sdk/quad_simulator/other/sensor_description:/home/huaizhi/yuquan/code/catkin_ws/src/quad-sdk/quad_simulator/other/objects_description:/home/huaizhi/yuquan/code/catkin_ws/src/quad-sdk/quad_simulator/gazebo_scripts/worlds
I referred to someone's issue,he suits me
Hi,
catkin build is OK,when i run roslaunch quad_utils quad_gazebo.launch,the rviz show a white box. OS:ubuntu20.04 git branch: Noetic-devel terminal output:
when i roslaunch quad_utils quad_gazebo.launch gui:=true to check the terrain has been loaded correctly in Gazebo..