rosrun map_server map_server couldn't find executable
I'm following ros-by-example book and in chapter 8, I'm dealing with things in navigation package.
I install the navigation package using 'sudo apt-get install ros-indigo-navigation', it automatically installed "move_base", "map_server", "gmapping" etc packages. After that I can run move_base package using "rosrun move_base move_base" and it shows no error.
But when I input "rosrun map_server map_server", it shows:
[rosrun] Couldn't find executable named map_server below /opt/ros/indigo/share/map_server
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun] /opt/ros/indigo/share/map_server
By the way, if I attempt to run it in a launch file as follows
<launch>
<!-- Run the map server with a blank map -->
<node name="map_server" pkg="map_server" type="map_server" args="$(find rbx1_nav)/maps/blank_map.yaml"/>
<include file="$(find rbx1_nav)/launch/fake_move_base.launch" />
<!-- Run a static transform between /odom and /map -->
<node pkg="tf" type="static_transform_publisher" name="odom_map_broadcaster" args="0 0 0 0 0 0 /map /odom 100" />
</launch>
It shows
ERROR: cannot launch node of type [map_server/map_server]: can't locate node [map_server] in package [map_server]
By the way, I can go to the map_server package directory via "roscd map_server", there are a package.xml file and a cmake folder in the directory.
Can anyone help me ? I'm trying to run the SLAM feature in ROS.
I assume you meant "sudo apt-get install ros-indigo-navigation"?
anyone knows?
Yes, I mean "sudo apt-get install ros-indigo-navigation", I have corrected it, thanks
@zinkcious were you able to solve this issue?