Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About robot_localization #23

Open
miku54 opened this issue Apr 7, 2021 · 13 comments
Open

About robot_localization #23

miku54 opened this issue Apr 7, 2021 · 13 comments

Comments

@miku54
Copy link

miku54 commented Apr 7, 2021

neuronbot2_bringup Bringup_launch.py robot_localization
Hello, is the robot_localization mentioned in the Bringup_launch file in the neuronbot2_bringup function package included in the warehouse?
Or do I need to use a separate binary download and installation?

@QQting
Copy link
Member

QQting commented Apr 7, 2021

You can install it by typing sudo apt install ros-$ROS_DISTRO-robot-localization

@miku54
Copy link
Author

miku54 commented Apr 7, 2021 via email

@QQting
Copy link
Member

QQting commented Apr 7, 2021

Maybe the reason is that eloquent is end-of-life, so you can't download the binary.
I have no time to test it on eloquent, if you are still using eloquent, you have to build robot-localization on your own and fix the error.

@miku54
Copy link
Author

miku54 commented Apr 7, 2021 via email

@QQting
Copy link
Member

QQting commented Apr 7, 2021

I have forgot it...it's been a long time, almost a half year.
By the way, robot_localization is not necessary for NeuronBot, you can remove it if you don't need EKF functionality.

@miku54
Copy link
Author

miku54 commented Apr 8, 2021 via email

@miku54
Copy link
Author

miku54 commented Apr 10, 2021

Hello, if it is convenient for you, can you post a rqt-graph file or tf-tree of the normal navigation node for your reference?

@QQting
Copy link
Member

QQting commented Apr 10, 2021

Hello, if it is convenient for you, can you post a rqt-graph file or tf-tree of the normal navigation node for your reference?

nb2_tf

@QQting
Copy link
Member

QQting commented Apr 10, 2021

But if it is not used, it will always prompt that the coordinate information can not be found.

You have to publish the TF from odom instead of the TF from ekf.

@miku54
Copy link
Author

miku54 commented Apr 10, 2021

After I executed the bringup_launch.py file in neuronbot2_bringup, I used ros2 topic echo /odom to view the data of / odom and found that it did not output data information, so when I ran bringup_launch.py in the neuronbot2_nav file, it kept warning that I could not find odom, and my tf tree could not connect to map. I am now looking for the reason.
By the way, the tf tree you posted seems to be the node of the gmapping. Can you post an information map of rqt_graph when performing navigation?

@QQting
Copy link
Member

QQting commented Apr 10, 2021

After I executed the bringup_launch.py file in neuronbot2_bringup, I used ros2 topic echo /odom to view the data of / odom and found that it did not output data information, so when I ran bringup_launch.py in the neuronbot2_nav file, it kept warning that I could not find odom, and my tf tree could not connect to map. I am now looking for the reason.
By the way, the tf tree you posted seems to be the node of the gmapping. Can you post an information map of rqt_graph when performing navigation?

Do you have a NeuronBot? If you don't, why do you think you can receive /odom without a robot?

@miku54
Copy link
Author

miku54 commented Apr 10, 2021

I deployed the program to an actual car to execute the program.

@debanik123
Copy link

Build robot localization pkg ->>>>>>
mkdir -p ros2_ws/src
cd ros2_ws/src
apt update
apt install geographiclib-tools -y
apt-get install build-essential cmake libgeographic-dev -y
git clone -b foxy-devel https://github.com/ros/angles.git
git clone -b ros2 https://github.com/ros-geographic-info/geographic_info.git
git clone -b foxy https://github.com/ros/diagnostics.git
git clone -b foxy-devel https://github.com/cra-ros-pkg/robot_localization.git
cd ..
colcon build --symlink-install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants