dji-sdk / Onboard-SDK-ROS

Official ROS packages for DJI onboard SDK.
443 stars 309 forks source link

Could not find a package configuration file provided by "geometry_msgs" #112

Closed yihuanliao closed 7 years ago

yihuanliao commented 7 years ago

Hi, I am new to this developing things. I am following the guide documentations. But I have met some errors when proceeding to "catkin_make"

Here is the error which I encountered:

CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:75 (find_package): Could not find a package configuration file provided by "geometry_msgs"

Can anyone please help me? Many thanks

zliDJI commented 7 years ago

Can you give the detailed procedure how you installed ROS? Did you follow this link? http://wiki.ros.org/kinetic/Installation/Ubuntu

Most users install ROS under /opt/ros instead of /usr. Also, install ros-kinetic-desktop-full if possible.

yihuanliao commented 7 years ago

Yes, I have done so, but I still have this problem, seems like there are some files missing.

2017-08-01 5 26 26

Can anyone please help me with that? (I know this feels like a stupid question, but I am really new to SDK development) Many thanks

zliDJI commented 7 years ago

Please check if this link can help you. https://github.com/mavlink/mavros/issues/539

amenonDJI commented 7 years ago

@yihuanliao Closed due to inactivity. Please reopen if you continue to have issues.

AbhishekGS commented 5 years ago

Hi @yihuanliao , @zliDJI , @amenonDJI,

I am facing the same issue while trying to execute the command catkin_make on Raspberry Pi , which is running Raspbian.

catkin_error

I followed the instructions from the below link for installing ROS kinetic on Raspberry Pi. http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi

I tried executing the below command as mentioned in [mavlink/mavros#539],(https://github.com/mavlink/mavros/issues/539)

sudo apt-get install ros-kinetic-geometry-msgs

However, I get the below error.

geometry_error

Please guide me.

Thanks, Abhishek

yihuanliao commented 5 years ago

Try

sudo apt install ros-kinetic-geometry-msgs

This might work.

It has been a long time, I couldn’t remember whether I solved this problem.

Best regards, Yihuan

AbhishekGS notifications@github.com于2019年8月7日 周三下午12:17写道:

Hi @yihuanliao https://github.com/yihuanliao , @zliDJI https://github.com/zliDJI , @amenonDJI https://github.com/amenonDJI,

I am facing the same issue while trying to execute the command catkin_make on Raspberry Pi , which is running Raspbian.

[image: catkin_error] https://user-images.githubusercontent.com/14905535/62594302-bdaa5380-b8f7-11e9-8f22-1eea6f61d322.png

I followed the instructions from the below link for installing ROS kinetic on Raspberry Pi.

http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi

I tried executing the below command as mentioned in [mavlink/mavros#539 https://github.com/mavlink/mavros/issues/539],(mavlink/mavros#539 https://github.com/mavlink/mavros/issues/539)

sudo apt-get install ros-kinetic-geometry-msgs

However, I get the below error.

[image: geometry_error] https://user-images.githubusercontent.com/14905535/62594438-52ad4c80-b8f8-11e9-9b05-f43612cc245a.PNG

Please guide me.

Thanks, Abhishek

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dji-sdk/Onboard-SDK-ROS/issues/112?email_source=notifications&email_token=AF2HNM4LIR2PAD3VBRDNQ2TQDJEF3A5CNFSM4DUO7HR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3XETYI#issuecomment-518932961, or mute the thread https://github.com/notifications/unsubscribe-auth/AF2HNMY3T4VW7URJR7ZICVLQDJEF3ANCNFSM4DUO7HRQ .

TianleZhang-sketch commented 3 years ago

I met the same error,i've tried to download the geometry package,but it didn't work.So i watch carefully about the error reminder,i find it is because i made a spell mistake when i use"catkin_create_pkg test_pkg depend1 depend2"to create a ros package.So my suggestion is to check the find_pkg from your CmakeList.txt

DanGlChris commented 2 years ago

I met this problem when I tried to install rosserial package on Raspbian (buster) I tried

so I decide to install it manually I clone this repository inside the src on my catkin's workspace

I restart the building (with catkin_make) and restart the installation of rosserial IT WORK!!!

13572320829 commented 2 years ago

I met this problem. and check my CMankelist.txt. In "find_package" take place "geometry-msg" with ’"geometry_msg". It ismaybe a sign mistake.

WentseChen commented 2 years ago

https://github.com/ros/common_msgs https://answers.ros.org/question/303858/errors-while-using-catkin_make-in-ros-inside-raspbian-stretch/ these sites solve my problem.