ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Intergrate libcreate into create_autonomy CMakeList change

asked 2019-07-17 16:21:17 -0500

Usui gravatar image

updated 2019-07-18 20:40:21 -0500

I cloned libcreate into my workspace and did catkin_make_isolated.

I want to make changes to the create_autonomy package through intergrating libcreate with it.

I was wondering if I need to change anything in the create_autonomy CMakeList or package.xml after building the libcreate

like maybe instead of:

include_directories(
    include
 ${libcreate_INCLUDE_DIRS}
 ${catkin_INCLUDE_DIRS}
 )

it's :

include_directories(
  include
  /home/<name>/catkin_ws/src/libcreate/include/create
  ${catkin_INCLUDE_DIRS}
)
edit retag flag offensive close merge delete

Comments

Please be more specific about what you are trying to do. As it is, you haven't really asked a question that people can answer.

Geoff gravatar image Geoff  ( 2019-07-17 22:57:53 -0500 )edit

@Geoff ok I edited it

Usui gravatar image Usui  ( 2019-07-17 23:26:50 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2019-07-18 18:45:26 -0500

Geoff gravatar image

No, you don't need to do anything other than put the create_autonomy package in your workspace.

See this document for an explanation of what you are doing (overlaying a package) and how to do it.

edit flag offensive delete link more

Comments

oh so the libcreate in my workspace will override the other?

Usui gravatar image Usui  ( 2019-07-18 20:42:32 -0500 )edit

oh so the libcreate in my workspace will override the other?

Yes, it should prefer the version built from source.

jacobperron gravatar image jacobperron  ( 2019-07-22 16:28:11 -0500 )edit

Great! Thank you! Geoff and jacobperron

Usui gravatar image Usui  ( 2019-07-25 19:38:50 -0500 )edit

can i have libcreate in another workspace?

Usui gravatar image Usui  ( 2019-07-29 18:29:49 -0500 )edit

You can provided you source the workspaces in the correct order. The more workspaces you chain, the harder it gets to maintain orderings, though.

Geoff gravatar image Geoff  ( 2019-08-04 17:31:57 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-07-17 16:21:17 -0500

Seen: 135 times

Last updated: Jul 18 '19