Re: [ros-users] cannot find state publisher error

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Yeon Grace Lee
Date:  
To: ros-users
Subject: Re: [ros-users] cannot find state publisher error
The problem has been fixed. It was a matter of doing rosmake in the current
directory.

-Grace

On Mon, Jul 19, 2010 at 3:42 PM, Yeon Grace Lee <>wrote:

> In attempts to relocate the package to another directory, I have created a
> new rospackage and copied over the state_publisher.cpp file, my urdf file
> called model.xml, my launch file and the meshes folder that holds stl files.
> Launch file has been edited to reflect the path change. Copying over these
> files have created an error when a launch my launch file. It cannot locate
> the node of the type "robot state publisher". The error is copied below:
>
> yglee@yglee-laptop:~/cturtle_usc/stacks/interaction-ros-pkg/sandbox/person_urdf2$
> roslaunch person_urdf2 launch_file.launch
> ... logging to
> /home/yglee/.ros/log/91d211cc-9385-11df-b772-00236c960005/roslaunch-yglee-laptop-30443.log
> Checking log directory for disk usage. This may take awhile.
> Press Ctrl-C to interrupt
> Done checking log file disk usage. Usage is <1GB.
>
> started roslaunch server http://yglee-laptop:35400/
>
> SUMMARY
> ========
>
> PARAMETERS
> * /robot_description
>
> NODES
>   /
>     robot_state_publisher (robot_state_publisher/state_publisher)
>     state_publisher (person_urdf2/state_publisher)

>
> starting new master (master configured for auto start)
> process[master]: started with pid [30458]
> ROS_MASTER_URI=http://yglee-laptop:11311/
>
> setting /run_id to 91d211cc-9385-11df-b772-00236c960005
> process[rosout-1]: started with pid [30471]
> started core service [/rosout]
> ERROR: cannot launch node of type [robot_state_publisher/state_publisher]:
> Cannot locate node of type [state_publisher] in package
> [robot_state_publisher]
> process[state_publisher-3]: started with pid [30483]
> ^C[state_publisher-3] killing on exit
> [rosout-1] killing on exit
> [master] killing on exit
> exiting...
> shutting down processing monitor...
> ... shutting down processing monitor complete
> done
>
> Any insight into this problem will be much appreciated.
>
> Grace L.
>