I have created a robot with 25 links i.e. one chassis and 8 legs where each leg has three links and 3 joints. when I tried to use `roslaunch spider_gazebo spider_world.launch`, I am having the following errors:
ERROR: cannot launch node of type [robot_state_publisher/state_publisher]: can't locate node [state_publisher] in package [robot_state_publisher]
Error [parser_urdf.cc:3474] Unable to call parseURDF on robot model
Error [parser.cc:341] parse as old deprecated model file failed.
These are the node created that i found out after running rosnode list function,
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
rob_State_publisher (robot_state_publisher/state_publisher)
urdf_spawner (gazebo_ros/spawn_model)
/spider/
controller_spawnner (controller_manager/spawner)
This error after searching on the internet for many days, I thought it was coz of some function I might have used in my xacro file but I could not find any mistake in the xacro file. Can anyone please shed some light about what might cause this parse error. I am usiing ros kinetic and gazebo 7.14. Also here is the sample code for 1 link and a joint which is almost same for every link with just varying name:
Also, I have added transmission elements to all the joints and have also included `gazebo_ros_contro` plugin.
↧