Git Product home page Git Product logo

Comments (4)

Sission avatar Sission commented on September 23, 2024 2

It works! Thanks! Sorry to raise my issue

from franka_ros_interface.

justagist avatar justagist commented on September 23, 2024 1

Start a new terminal session without sourcing the "ws_moveit" workspace. Your session seems to have sourced both workspaces which is messing things up because there is another build of franka_ros exists in "ws_moveit".
This is not really an issue you should raise for this package. This looks like your ros path is messed up. You have a build of franka_msgs package in your "ws_moveit" workspace, which seems to be in the ros path, and is now overshadowing the global installation of franka_ros's franka_msgs package.
Either remove the existing build of franka_msgs from your "ws_moveit" or remove that workspace from your path. Simplest way to remove would be to remove all franka_ros and franka_ros_interface packages from the src folder of "ws_moveit" and also delete the folders "ws_moveit/devel" and "ws_moveit/build".

from franka_ros_interface.

justagist avatar justagist commented on September 23, 2024

Looks like catkin is not able to find the franka_msgs package. Please try rebuilding the package in a clean workspace. If that doesn't work, make sure you build franka_ros first (as mentioned in readme) and then build this package.

from franka_ros_interface.

Sission avatar Sission commented on September 23, 2024

Thanks for your reply. However, it still does not work.
I create a new workspace by
$ mkdir workspace
in the root.
then
$ mkdir src

Also, I checked libfranka and franka-ros installation:
sission@Ros:~/workspace/src$ sudo apt install ros-melodic-franka-ros
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-melodic-franka-ros is already the newest version (0.6.0-1bionic.20200930.133157).

sission@Ros:~/workspace/src$ sudo apt install ros-melodic-libfranka
Reading package lists... Done
Building dependency tree
Reading state information... Done
ros-melodic-libfranka is already the newest version (0.8.0-1bionic.20200801.024519).

However, the same error still happened. Did I miss something?

A weird thing is, the error is
CMake Error at /home/sission/workspace/build/franka_ros_interface/franka_common/franka_core_msgs/cmake/franka_core_msgs-genmsg.cmake:3 (message):
Could not find messages which
'/home/sission/workspace/src/franka_ros_interface/franka_common/franka_core_msgs/msg/RobotState.msg'
depends on. Did you forget to specify generate_messages(DEPENDENCIES ...)?

Cannot locate message [Errors] in package [franka_msgs] with paths
[['/home/sission/ws_moveit/src/src/franka_ros/franka_msgs/msg',
'/home/sission/ws_moveit/devel/.private/franka_msgs/share/franka_msgs/msg']]
Call Stack (most recent call first):

Why it says cannot locate.... in my previous workspace "ws_moveit"?
I did source my current folder (workspace/devel/setup.bash)

from franka_ros_interface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.