英文:
Cannot locate node of type [septentrio_gnss_driver_node]
问题
当我启动roslaunch septentrio_gnss_driver rover.launch param_file_name:=rover
时,出现以下启动文件错误:
我已经通过`sudo apt install ros-noetic-septentrio-gnss-driver`安装了ROS Noetic的septentrio_gnss_driver。`
<details>
<summary>英文:</summary>
when I launch `roslaunch septentrio_gnss_driver rover.launch param_file_name:=rover
`
having following launch file for github [repo][1]
```xml
<?xml version="1.0" encoding="UTF-8"?>
<launch>
<arg name="node_name" default="septentrio_gnss" />
<arg name="param_file_name" />
<arg name="output" default="screen" />
<arg name="respawn" default="false" />
<arg name="clear_params" default="true" />
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_imu"
args="0 0 0 0 0 0 base_link imu" />
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_gnss"
args="0 0 0 0 0 0 imu gnss" />
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_vsm"
args="0 0 0 0 0 0 imu vsm" />
<node pkg="tf2_ros" type="static_transform_publisher" name="tf_aux1"
args="0 0 0 0 0 0 imu aux1" />
<node pkg="septentrio_gnss_driver" type="septentrio_gnss_driver_node" name="$(arg node_name)"
output="$(arg output)"
clear_params="$(arg clear_params)"
respawn="$(arg respawn)">
<rosparam command="load"
file="$(find septentrio_gnss_driver)/config/$(arg param_file_name).yaml" />
</node>
</launch>
I get following error
ERROR: cannot launch node of type [septentrio_gnss_driver/septentrio_gnss_driver_node]: Cannot locate node of type [septentrio_gnss_driver_node] in package [septentrio_gnss_driver]. Make sure file exists in package path and permission is set to executable (chmod +x)
I already install septentrio_gnss_driver for ros noetic by sudo apt install ros-noetic-septentrio-gnss-driver
答案1
得分: 1
对于软件包安装验证,您需要手动运行您在启动文件中编写的节点以执行。还尝试在编写节点名称之前按两次TAB键以检查是否找到软件包。
ros2 run <package_name> <node_name>
- 如果未找到节点,请检查此存储库,其中所有使用sudo安装的软件包都会进入:
/opt/ros/humble/lib/
- 列出所有软件包并找到您的。
- 我还制作了一个相关视频-> 链接。
英文:
For package installation verification you need to manually run the node you are writting in launch file to execute . Also try pressing double TAB key before writing node name to check if package was found.
> ros2 run <package_name> <node_name>
- If node is not found check this repository where all sudo installed package go into
> /opt/ros/humble/lib/
- List all packages and find yours .
- I have produced a video about it as well -> link
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论