generalized-intelligence / GAAS-Object-Tracking

Object Tracking for GAAS
https://www.gaas.dev
BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Issue with "ImportError: No module named ros_kcf.srv" #2

Open limyanyu opened 4 years ago

limyanyu commented 4 years ago

Hi all,

Currently, I am facing an issue with the tutorial E06 of GAAS.

When I tried to run the python file, it shows this error: "ImportError: No module named ros_kcf.srv", in which the drone does not track the ground vehicle.

May I check what could cause this error??

Thank you!

Gushu1999 commented 4 years ago

How to solve this problem?

Lndulge666 commented 4 years ago

添加KCF的环境变量

------------------ 原始邮件 ------------------ 发件人: "Gushu"<notifications@github.com>; 发送时间: 2020年9月6日(星期天) 晚上7:56 收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com>; 抄送: "Lndulge"<1090276678@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with "ImportError: No module named ros_kcf.srv" (#2)

大家好,

目前,我正面临GAAS教程E06的问题。

当我尝试运行python文件时,它显示以下错误:“ ImportError:无名为ros_kcf.srv的模块”,其中无人机无法跟踪地面车辆。

我可以检查什么可能导致此错误吗?

谢谢!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Gushu1999 commented 4 years ago

可以具体一点吗?我试了一下不行......万分感谢!!

------------------ 原始邮件 ------------------ 发件人: "generalized-intelligence/GAAS-Object-Tracking" <notifications@github.com>; 发送时间: 2020年9月6日(星期天) 晚上8:17 收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com>; 抄送: "菰蜀"<738830345@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with "ImportError: No module named ros_kcf.srv" (#2)

添加KCF的环境变量

------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "Gushu"<notifications@github.com&gt;;
发送时间: 2020年9月6日(星期天) 晚上7:56 收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com&gt;;
抄送: "Lndulge"<1090276678@qq.com&gt;; "Comment"<comment@noreply.github.com&gt;;
主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with &quot;ImportError: No module named ros_kcf.srv&quot; (#2)

大家好,

目前,我正面临GAAS教程E06的问题。

当我尝试运行python文件时,它显示以下错误:“ ImportError:无名为ros_kcf.srv的模块”,其中无人机无法跟踪地面车辆。

我可以检查什么可能导致此错误吗?

谢谢!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Lndulge666 commented 4 years ago

KCF编译完,build下面的devel文件夹里面应该有一个setup.bash文件,把它添加到环境变量里面应该就行了就像这个:source ~/GAAS-Object-Tracking/KCF/build/devel/setup.bash

------------------ 原始邮件 ------------------ 发件人: "Gushu"<notifications@github.com>; 发送时间: 2020年9月6日(星期天) 晚上9:04 收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com>; 抄送: "Lndulge"<1090276678@qq.com>; "Comment"<comment@noreply.github.com>; 主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with "ImportError: No module named ros_kcf.srv" (#2)

可以具体一点吗?我试了一下不行......万分感谢!!

------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "generalized-intelligence/GAAS-Object-Tracking" <notifications@github.com&gt;; 发送时间:&nbsp;2020年9月6日(星期天) 晚上8:17 收件人:&nbsp;"generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com&gt;; 抄送:&nbsp;"菰蜀"<738830345@qq.com&gt;;"Comment"<comment@noreply.github.com&gt;; 主题:&nbsp;Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with "ImportError: No module named ros_kcf.srv" (#2)

添加KCF的环境变量

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人: "Gushu"<notifications@github.com&amp;gt;;
发送时间: 2020年9月6日(星期天) 晚上7:56
收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com&amp;gt;;
抄送: "Lndulge"<1090276678@qq.com&amp;gt;; "Comment"<comment@noreply.github.com&amp;gt;;
主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with &amp;quot;ImportError: No module named ros_kcf.srv&amp;quot; (#2)

大家好,

目前,我正面临GAAS教程E06的问题。

当我尝试运行python文件时,它显示以下错误:“ ImportError:无名为ros_kcf.srv的模块”,其中无人机无法跟踪地面车辆。

我可以检查什么可能导致此错误吗?

谢谢!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Gushu1999 commented 4 years ago

谢谢!

------------------ 原始邮件 ------------------ 发件人: "generalized-intelligence/GAAS-Object-Tracking" <notifications@github.com>; 发送时间: 2020年9月6日(星期天) 晚上9:15 收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com>; 抄送: "菰蜀"<738830345@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with "ImportError: No module named ros_kcf.srv" (#2)

KCF编译完,build下面的devel文件夹里面应该有一个setup.bash文件,把它添加到环境变量里面应该就行了就像这个:source ~/GAAS-Object-Tracking/KCF/build/devel/setup.bash

------------------&nbsp;原始邮件&nbsp;------------------ 发件人: "Gushu"<notifications@github.com&gt;;
发送时间: 2020年9月6日(星期天) 晚上9:04 收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com&gt;;
抄送: "Lndulge"<1090276678@qq.com&gt;; "Comment"<comment@noreply.github.com&gt;;
主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with &quot;ImportError: No module named ros_kcf.srv&quot; (#2)

可以具体一点吗?我试了一下不行......万分感谢!!

------------------&amp;nbsp;原始邮件&amp;nbsp;------------------
发件人: "generalized-intelligence/GAAS-Object-Tracking" <notifications@github.com&amp;gt;;
发送时间:&amp;nbsp;2020年9月6日(星期天) 晚上8:17
收件人:&amp;nbsp;"generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com&amp;gt;;
抄送:&amp;nbsp;"菰蜀"<738830345@qq.com&amp;gt;;"Comment"<comment@noreply.github.com&amp;gt;;
主题:&amp;nbsp;Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with "ImportError: No module named ros_kcf.srv" (#2)

添加KCF的环境变量

------------------&amp;amp;nbsp;原始邮件&amp;amp;nbsp;------------------
发件人: "Gushu"<notifications@github.com&amp;amp;gt;;
发送时间: 2020年9月6日(星期天) 晚上7:56
收件人: "generalized-intelligence/GAAS-Object-Tracking"<GAAS-Object-Tracking@noreply.github.com&amp;amp;gt;;
抄送: "Lndulge"<1090276678@qq.com&amp;amp;gt;; "Comment"<comment@noreply.github.com&amp;amp;gt;;
主题: Re: [generalized-intelligence/GAAS-Object-Tracking] Issue with &amp;amp;quot;ImportError: No module named ros_kcf.srv&amp;amp;quot; (#2)

大家好,

目前,我正面临GAAS教程E06的问题。

当我尝试运行python文件时,它显示以下错误:“ ImportError:无名为ros_kcf.srv的模块”,其中无人机无法跟踪地面车辆。

我可以检查什么可能导致此错误吗?

谢谢!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.