Cannot locate node of type [ekf_localization_node] in package [robot_localization]
Hello, I'm new in ROS. When I tried to run robot_localization package by this command: roslaunch robot_localization ekf_template.launch I have met this issue below:
ERROR: cannot launch node of type [robot_localization/ekf_localization_node]: Cannot locate node of type [ekf_localization_node] in package [robot_localization]. Make sure file exists in package path and permission is set to executable (chmod +x)
I had run these commands before that:
source devel/setup.bash
and
source /opt/ros/melodic/setup.bash
So can I fix it? Many thanks.
[UPDATE] When I used the command:
rosrun robot_localization ekf_localization_node
I got:
[rosrun] Couldn't find executable named ekf_localization_node below /home/swarm-robotics/catkin_ws/src/robot_localization