You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen the similar issues #310 and #374. They all create a visual studio project first and then link to the ROS2.
I wonder if we can create a ROS2 package first, colcon build it and modify the solution in the 'build' file.
For example, in my case, I created a ROS2 package called 'camera_test'. I applied a simple publisher to publish the FLIR camera's raw-mage information. Since I did't know how to link the Spinnaker library(FLIR camera's api) to the package, I failed the 'colcon build'. But still it generated a visual studio solution in the build file as showed below. I opened it and saw the exactly same code as well as the include path in my package.
So I wonder if it is a good way to modify code in this solution. For instance, link the Spinnaker library using Project->Properties->VC++Directories->Library Directories and Build->Build the solution. Is it the same as I link the library in Cmakelists and colcon build it?
ROS2 version: Foxy
It would be great if you could also tell me how to link the library using the Cmakelists. Thank you for your help!
The text was updated successfully, but these errors were encountered:
I've seen the similar issues #310 and #374. They all create a visual studio project first and then link to the ROS2.
I wonder if we can create a ROS2 package first,
colcon build
it and modify the solution in the 'build' file.For example, in my case, I created a ROS2 package called 'camera_test'. I applied a simple publisher to publish the FLIR camera's raw-mage information. Since I did't know how to link the Spinnaker library(FLIR camera's api) to the package, I failed the 'colcon build'. But still it generated a visual studio solution in the build file as showed below. I opened it and saw the exactly same code as well as the include path in my package.
So I wonder if it is a good way to modify code in this solution. For instance, link the Spinnaker library using Project->Properties->VC++Directories->Library Directories and Build->Build the solution. Is it the same as I link the library in Cmakelists and
colcon build
it?ROS2 version: Foxy
It would be great if you could also tell me how to link the library using the Cmakelists. Thank you for your help!
The text was updated successfully, but these errors were encountered: