-
Notifications
You must be signed in to change notification settings - Fork 1
Update to ROS2 compilation tool #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be rebased to TCP_DynTypes branch, as it uses the new XML format, and was the working branch until now.
|
||
add_executable(firos2 src/main.cpp | ||
include_directories(include/NGSIv2) | ||
include_directories(include/NGSIv2/idl) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's preferable to use target_include_directory
to fine grain control of the included header per target.
<topic>rt/chatter</topic> | ||
<type>std_msgs::msg::dds_::String_</type> | ||
<partition>rt</partition> | ||
<partition></partition> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If <partition>
is empty, can be removed.
<participant>ros2_subscriber</participant> | ||
<domain>0</domain> | ||
<topic>chatter</topic> | ||
<topic>rt/chatter</topic> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope you didn't spend too much time solving this... was already fixed in TCP_DynTypes branch :(.
<bridge_library>C:\dev\ros2\build\firos2\Release\isrtpsngsiv2bridgelib.dll</bridge_library> --> | ||
<!-- Linux --> | ||
<transformToNGSIv2>/home/luisgp/ros2_ws/src/ros2/firos2/examples/helloworld_orion/build/libuserlib.so</transformToNGSIv2> | ||
<transformToNGSIv2>~/ros2_ws/src/ros2/firos2/examples/helloworld_orion/build/libuserlib.so</transformToNGSIv2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the example makes the execution path fixed, this path could be relative to it.
There are some examples in Integration Service.
In this case, if the example must be executed from <ROS2Path>/src/ros2/firos2/examples/helloworld_orion
, the path can be simplyfied to <transformToNGSIv2>build/libuserlib.so</transformToNGSIv2>
.
FIROS2 has been updated to be used by COLCON