Robotics StackExchange | Archived questions

Help with installing robot_localizaition

Hello everyone

I am building a robot with a lidar and wheel encoders, as far as I understood, robot_localizaition will use the encoders data to help me with the localization of my robot ( correct me if i'm wrong please )

Now, I'm not sure how to install robot_localizaition , I'm using kientic on ubuntu 16.4

I tried using sudo apt-get install ros-kinetic-robot_localization and then go tocd~/catkin_ws, and catkin_make, and source devel/setup.bash

and finally roslaunch robot_localization ekf_template.launch but it give me an error saying

[ekf_template.launch ] is neither a launch file in package [robot_localization ] nor is [robot_localization ] a launch file name

Please help me with some detailed steps as I'm beginner to ROS.

Thank you

Asked by hamzh.albar@gmail.com on 2018-07-15 02:29:44 UTC

Comments

Are you running ros-kinetic-robot_localization or ros-kinetic-robot-localization to install the robot_localization pakcage? If it's the first then you should have been given an error.

Asked by jayess on 2018-07-15 02:52:08 UTC

Thank you, That worked !! Now, after installing that, I'm not sure how to use it, any advice ?

Asked by hamzh.albar@gmail.com on 2018-07-15 03:01:12 UTC

Could you please mark my answer as correct then?

Asked by jayess on 2018-07-15 03:09:35 UTC

Sorry, I've never used that package.

Asked by jayess on 2018-07-15 03:09:49 UTC

hi. I have installed robot_localization package but i am not sure what should i do next? can you elaborate a bit about how to do after installing. I just ran this command, what should i do next. sudo apt-get install ros-kinetic-robot_localization i am getting this error.

ERROR: cannot launch node of type [robot_localization/ekf_localization_node]: can't locate node [ekf_localization_node] in package [robot_localization]

Asked by enthusiast.australia on 2019-09-18 11:14:54 UTC

@enthusiast.australia you should create a new question

Asked by jayess on 2019-09-18 11:20:50 UTC

Answers

Are you running ros-kinetic-robot_localization or ros-kinetic-robot-localization to install the robot_localization package? If it's the first then you should have been given an error.

Just a note, the package names have a _ in them but they're listed in apt with a - instead. So, robot_localization pakcage is listed as ros-<distro>-robot_localization.

Asked by jayess on 2018-07-15 03:09:07 UTC

Comments

@hamzh.albar@gmail.com Could you please mark my answer as correct since it solved your problem?

Asked by jayess on 2018-07-15 10:40:36 UTC