Adlink-ROS / neuronbot2

NeuronBot2 is the newest version of NeuronBot made by Adlink, which fully supports ROS1 and ROS2.
Apache License 2.0
100 stars 41 forks source link

About robot_localization #23

Open miku54 opened 3 years ago

miku54 commented 3 years ago

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 commented 3 years ago

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

miku54 commented 3 years ago

I tried to use binary download, but my ros2 version is eloquent, it can't locate this package, and when I download using source code, it can't finish compiling.

Ting Chang @.***> 于2021年4月7日周三 下午3:11写道:

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

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Adlink-ROS/neuronbot2/issues/23#issuecomment-814664388, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATOU54Z7W2IETXLE733RE2TTHQARZANCNFSM42QEUSAQ .

QQting commented 3 years ago

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 commented 3 years ago

Did you download it through binary when you tested it before?

Ting Chang @.***> 于2021年4月7日周三 下午3:35写道:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Adlink-ROS/neuronbot2/issues/23#issuecomment-814679197, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATOU547VYS5WXYUYVLDWJBLTHQDLZANCNFSM42QEUSAQ .

QQting commented 3 years ago

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 commented 3 years ago

But if it is not used, it will always prompt that the coordinate information can not be found. I don't quite understand this.

Ting Chang @.***> 于2021年4月7日周三 下午4:07写道:

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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Adlink-ROS/neuronbot2/issues/23#issuecomment-814700526, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATOU543JORILGZQUX6CO4B3THQHDVANCNFSM42QEUSAQ .

miku54 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

After I executed the bringup_launch.py file in neuronbot2_bringup, I usedros2 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 commented 3 years ago

After I executed the bringup_launch.py file in neuronbot2_bringup, I usedros2 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 commented 3 years ago

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

debanik123 commented 2 years ago

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