Cannot locate node of type [septentrio_gnss_driver_node]

huangapple go评论59阅读模式
英文:

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
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;

&lt;launch&gt;
  &lt;arg name=&quot;node_name&quot; default=&quot;septentrio_gnss&quot; /&gt;
  &lt;arg name=&quot;param_file_name&quot; /&gt;
  &lt;arg name=&quot;output&quot; default=&quot;screen&quot; /&gt;
  &lt;arg name=&quot;respawn&quot; default=&quot;false&quot; /&gt;
  &lt;arg name=&quot;clear_params&quot; default=&quot;true&quot; /&gt;

  &lt;node pkg=&quot;tf2_ros&quot; type=&quot;static_transform_publisher&quot; name=&quot;tf_imu&quot;
		args=&quot;0 0 0 0 0 0 base_link imu&quot; /&gt;

	&lt;node pkg=&quot;tf2_ros&quot; type=&quot;static_transform_publisher&quot; name=&quot;tf_gnss&quot;
		args=&quot;0 0 0 0 0 0 imu gnss&quot; /&gt;

  &lt;node pkg=&quot;tf2_ros&quot; type=&quot;static_transform_publisher&quot; name=&quot;tf_vsm&quot;
		args=&quot;0 0 0 0 0 0 imu vsm&quot; /&gt;

  &lt;node pkg=&quot;tf2_ros&quot; type=&quot;static_transform_publisher&quot; name=&quot;tf_aux1&quot;
		args=&quot;0 0 0 0 0 0 imu aux1&quot; /&gt;

  &lt;node pkg=&quot;septentrio_gnss_driver&quot; type=&quot;septentrio_gnss_driver_node&quot; name=&quot;$(arg node_name)&quot;
        output=&quot;$(arg output)&quot; 
        clear_params=&quot;$(arg clear_params)&quot;
        respawn=&quot;$(arg respawn)&quot;&gt;
    &lt;rosparam command=&quot;load&quot; 
              file=&quot;$(find septentrio_gnss_driver)/config/$(arg param_file_name).yaml&quot; /&gt;
  &lt;/node&gt;

&lt;/launch&gt;

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

huangapple
  • 本文由 发表于 2023年4月10日 22:41:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/75978058.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定