ROS/NXT Error loading shared packages
Long story short... I am trying to get ROS set up to work with my NXT
I've been following the NXT ROS tutorials, and everyhting was going merrily until it came time to create urdf files and visualize them.
Tutorial link:
http://www.ros.org/wiki/nxt_lxf2urdf/Tutorials/Creating%20a%20simple%20robot%20model%20using%20lxf2urdf.py
I managed to create what appears to be a valid urdf file, however, the tutorial says to run the following:
roslaunch learning_nxt robot.launch
after adding the following to the robot.launch file:
<param name="robot_description" textfile="$(find learning_nxt)/robot.urdf"/>
<node name="robot_state_publisher" pkg="robot_state_publisher" type="state_publisher">
<param name="publish_frequency" value="100.0"/>
</node>
The robot.launch file works FINE without that added text. However, with the text in there, this happens:
started roslaunch server http://ubuntu:55334/
SUMMARY
========
PARAMETERS
* /rosversion
* /rosdistro
* /robot_description
* /robot_state_publisher/publish_frequency
* /nxt_ros/nxt_robot
NODES
/
robot_state_publisher (robot_state_publisher/state_publisher)
nxt_ros (nxt_ros/nxt_ros.py)
joint_state_publisher (nxt_ros/joint_states_aggregator.py)
ROS_MASTER_URI=http://localhost:11311
core service [/rosout] found
process[robot_state_publisher-1]: started with pid [5731]
/opt/ros/electric/stacks/robot_model/robot_state_publisher/bin/state_publisher: error while loading shared libraries: libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory
process[nxt_ros-2]: started with pid [5732]
[robot_state_publisher-1] process has died [pid 5731, exit code 127].
log files: /home/george/.ros/log/2c870166-fa26-11e0-abfd-000c29128eed/robot_state_publisher-1*.log
Mainly note the last few lines....
/opt/ros/electric/stacks/robot_model/robot_state_publisher/bin/state_publisher: error while loading shared libraries: libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory
I am deeply confused as to why this is happening, and I can't seem to find any solution. Please, can anyone help? Thankyou :)
EDIT: Same error when excecuting
rosrun rviz rviz