Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lrs_rviz_noetic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lrs
lrs_rviz_noetic
Commits
2feeff15
Commit
2feeff15
authored
4 years ago
by
Tommy Persson
Browse files
Options
Downloads
Patches
Plain Diff
Initial files
parent
2d55547a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+26
-2
26 additions, 2 deletions
CMakeLists.txt
package.xml
+3
-1
3 additions, 1 deletion
package.xml
with
29 additions
and
3 deletions
CMakeLists.txt
+
26
−
2
View file @
2feeff15
...
@@ -7,7 +7,16 @@ project(lrs_rviz_noetic)
...
@@ -7,7 +7,16 @@ project(lrs_rviz_noetic)
## Find catkin macros and libraries
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
## is used, also find other catkin packages
find_package
(
catkin REQUIRED
)
find_package
(
catkin REQUIRED COMPONENTS
rviz
roscpp
)
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_INCLUDE_CURRENT_DIR TRUE
)
find_package
(
Qt5Core REQUIRED
)
find_package
(
Qt5Gui REQUIRED
)
## System dependencies are found with CMake's conventions
## System dependencies are found with CMake's conventions
# find_package(Boost REQUIRED COMPONENTS system)
# find_package(Boost REQUIRED COMPONENTS system)
...
@@ -113,7 +122,9 @@ catkin_package(
...
@@ -113,7 +122,9 @@ catkin_package(
## Your package locations should be listed before other locations
## Your package locations should be listed before other locations
include_directories
(
include_directories
(
# include
# include
# ${catkin_INCLUDE_DIRS}
${
catkin_INCLUDE_DIRS
}
/usr/include/OGRE
/opt/ros/noetic/include/rviz
)
)
## Declare a C++ library
## Declare a C++ library
...
@@ -121,6 +132,19 @@ include_directories(
...
@@ -121,6 +132,19 @@ include_directories(
# src/${PROJECT_NAME}/lrs_rviz_noetic.cpp
# src/${PROJECT_NAME}/lrs_rviz_noetic.cpp
# )
# )
add_library
(
lrs_rviz_plugin
src/image_visual.cc
src/image_display.cc
)
target_link_libraries
(
lrs_rviz_plugin
${
catkin_LIBRARIES
}
${
QT_LIBRARIES
}
Qt5::Gui
Qt5::Core
)
## Add cmake target dependencies of the library
## Add cmake target dependencies of the library
## as an example, code may need to be generated before libraries
## as an example, code may need to be generated before libraries
## either from message generation or dynamic reconfigure
## either from message generation or dynamic reconfigure
...
...
This diff is collapsed.
Click to expand it.
package.xml
+
3
−
1
View file @
2feeff15
...
@@ -52,11 +52,13 @@
...
@@ -52,11 +52,13 @@
<!-- Use doc_depend for packages you need only for building documentation: -->
<!-- Use doc_depend for packages you need only for building documentation: -->
<!-- <doc_depend>doxygen</doc_depend> -->
<!-- <doc_depend>doxygen</doc_depend> -->
<buildtool_depend>
catkin
</buildtool_depend>
<buildtool_depend>
catkin
</buildtool_depend>
<depend>
roscpp
</depend>
<depend>
rviz
</depend>
<!-- The export tag contains other, unspecified, tags -->
<!-- The export tag contains other, unspecified, tags -->
<export>
<export>
<!-- Other tools can request additional information be placed here -->
<!-- Other tools can request additional information be placed here -->
<rviz
plugin=
"${prefix}/plugin_description.xml"
/>
</export>
</export>
</package>
</package>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment