Skip to content

Error! #24

@RedstoneGithub

Description

@RedstoneGithub

Hello! I want to run my iRobot Create 2 with my Ubuntu Computer that is running ROS Kinetic 16.04 (with maybe a Raspberry Pi 3 in the future) but have had very bad luck. But when I came across AutonomyLab, I gave it a shot. And it kinda worked, but I got this error:
ERROR: launch node of type [ca_driver/ca_driver]: can't locate node [ca_driver] in package [ca_driver]
I don't know why it's doing that, but any help is appreciated. Thanks!
I just started using ROS and my iRobot Create 2 a few days ago, so I don't know a lot.
EDIT: Here's my CMakeLists file:

cmake_minimum_required(VERSION 2.8.3)
project(ca_driver)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  std_msgs
  geometry_msgs
  nav_msgs
  tf
  ca_msgs
)

find_package(Boost REQUIRED system thread)

catkin_package(
  INCLUDE_DIRS include
  LIBRARIES libcreate
  CATKIN_DEPENDS roscpp std_msgs geometry_msgs nav_msgs tf ca_msgs ca_description
)

include(ExternalProject)
ExternalProject_Add(libcreate
  GIT_REPOSITORY https://github.com/AutonomyLab/libcreate.git
  GIT_TAG 1.2.1
  PREFIX ${CATKIN_DEVEL_PREFIX}
  CONFIGURE_COMMAND cmake .
  BUILD_COMMAND make
  INSTALL_COMMAND echo "No install"
  BUILD_IN_SOURCE 1
)

set(libcreate_PATH "${CATKIN_DEVEL_PREFIX}/src/libcreate/")

include_directories(
  ${catkin_INCLUDE_DIRS}
  ${Boost_INCLUDE_DIRS}
  ${libcreate_PATH}/include
  include
)

link_directories(${libcreate_PATH})

add_executable(ca_driver src/create_driver.cpp)

target_link_libraries(ca_driver
  create
  ${catkin_LIBRARIES}
  ${Boost_LIBRARIES}
)
add_dependencies(ca_driver libcreate)

Edit 2: Bump! I don't see why this is not working, it should be, right? I tried everything from sourcing stuff do trying to rosrun the node which I don't know how to do!
Edit 3: Aha. There is nothing in ~/my_catkin_ws/devel/lib/ except for pkgconfig. And there was no errors running catkin build when I first built it, but now I can't catkin_make it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions