Skip to content
Snippets Groups Projects
Unverified Commit 475931ba authored by Carl Delsey's avatar Carl Delsey Committed by GitHub
Browse files

Instead of copying icons, reference them in origin package. (#1188)

* Instead of copying icons, reference them in origin package.

* Remove icon install step as well.
parent e16ec48e
No related branches found
No related tags found
No related merge requests found
......@@ -105,11 +105,6 @@ install(
DESTINATION include/
)
install(
DIRECTORY "${CMAKE_SOURCE_DIR}/icons"
DESTINATION "share/${PROJECT_NAME}"
)
if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
......
nav2_rviz_plugins/icons/SetGoal.png

446 B

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="16px"
height="16px"
id="svg3851"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="Time.svg"
inkscape:export-filename="/work/gossow/rviz/rviz/icons/visibility.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs3853">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="-1.0827572 : -0.75044646 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="95.903066 : 6.0333593 : 1"
inkscape:persp3d-origin="8 : 5.3333333 : 1"
id="perspective3847" />
<linearGradient
id="linearGradient3837">
<stop
style="stop-color:#808080;stop-opacity:1;"
offset="0"
id="stop3839" />
<stop
style="stop-color:#e9e9e9;stop-opacity:1;"
offset="1"
id="stop3841" />
</linearGradient>
<linearGradient
id="linearGradient3841">
<stop
id="stop3843"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0.34984758"
id="stop3845" />
<stop
id="stop3849"
offset="0.5454545"
style="stop-color:#e8e8e8;stop-opacity:1;" />
<stop
id="stop3847"
offset="1"
style="stop-color:#252525;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3824">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3826" />
<stop
id="stop3832"
offset="0.5"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
style="stop-color:#d2d2d2;stop-opacity:1;"
offset="1"
id="stop3828" />
</linearGradient>
<linearGradient
id="linearGradient3827">
<stop
style="stop-color:#8ca6f1;stop-opacity:1;"
offset="0"
id="stop3829" />
<stop
id="stop3836"
offset="0.73972601"
style="stop-color:#5a72b4;stop-opacity:1;" />
<stop
style="stop-color:#293e78;stop-opacity:1;"
offset="1"
id="stop3831" />
</linearGradient>
<inkscape:path-effect
effect="envelope"
id="path-effect3829"
is_visible="true"
yy="false"
xx="true"
bendpath1="m 4.8980822,-0.72049866 6.1888208,0"
bendpath2="M 11.086903,-0.72049866 16.270482,14.741843"
bendpath3="M -0.25926539,14.751544 16.270482,14.741891"
bendpath4="M 4.8980822,-0.72049866 -0.25926539,14.751544"
bendpath3-nodetypes="cc"
bendpath4-nodetypes="cc"
bendpath2-nodetypes="cc" />
<inkscape:path-effect
effect="envelope"
id="path-effect3819"
is_visible="true"
yy="true"
xx="true"
bendpath1="m -11,0.5 6.0000002,0"
bendpath2="m -4.9999998,0.5 0,15"
bendpath3="m -11,15.5 6.0000002,0"
bendpath4="m -11,0.5 0,15" />
<linearGradient
id="linearGradient5756">
<stop
style="stop-color:#c8c8c8;stop-opacity:1;"
offset="0"
id="stop5758" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop5760" />
</linearGradient>
<inkscape:path-effect
bendpath4-nodetypes="cc"
bendpath2-nodetypes="cc"
bendpath4="m 0.40934447,12.183659 c 5.22111233,-2.7860162 10.20346753,-2.563681 15.00000053,0"
bendpath3="m 15.409345,12.183659 0,-6.0000003"
bendpath2="m 0.40934447,6.1836587 c 5.17204473,-2.752717 10.16772953,-2.683658 15.00000053,0"
bendpath1="m 0.40934447,12.183659 0,-6.0000003"
xx="true"
yy="false"
is_visible="true"
id="path-effect5700"
effect="envelope" />
<inkscape:path-effect
effect="envelope"
id="path-effect5673"
is_visible="true"
yy="false"
xx="true"
bendpath1="m 3.7040018,0.50188195 6.0000002,0"
bendpath2="m 9.704002,0.50188195 c 2.752717,5.17204475 2.683658,10.16772905 0,15.00000005"
bendpath3="m 3.7040018,15.501882 6.0000002,0"
bendpath4="m 3.7040018,0.50188195 c 2.7860161,5.22111235 2.5636809,10.20346705 0,15.00000005"
bendpath2-nodetypes="cc"
bendpath4-nodetypes="cc" />
<inkscape:path-effect
effect="bend_path"
id="path-effect5590"
is_visible="true"
bendpath="m 6.5,8 4,0"
prop_scale="1"
scale_y_rel="true"
vertical="false" />
<inkscape:path-effect
effect="vonkoch"
id="path-effect5588"
is_visible="true"
ref_path="m 6.5,8 4,0"
generator="m 6.5,15.5 1.3333333,0 m 1.3333334,0 1.3333333,0"
similar_only="false"
nbgenerations="1"
drawall="true"
maxComplexity="1000" />
<inkscape:path-effect
effect="rough_hatches"
id="path-effect5586"
is_visible="false"
direction="8.5,3 , 1,0"
dist_rdm="75;1"
growth="0"
do_bend="true"
bender="8.5,8 , 5,0"
bottom_edge_variation="1.5;1"
top_edge_variation="1.5;1"
bottom_tgt_variation="0;1"
top_tgt_variation="0;1"
scale_bf="1"
scale_bb="1"
scale_tf="1"
scale_tb="1"
top_smth_variation="0;1"
bottom_smth_variation="0;1"
fat_output="true"
stroke_width_top="1"
stroke_width_bottom="1"
front_thickness="1"
back_thickness="0.25" />
<inkscape:path-effect
effect="envelope"
id="path-effect5582"
is_visible="true"
yy="false"
xx="true"
bendpath1="m 6.5,0.5 4,0"
bendpath2="m 10.5,0.5 0,15"
bendpath3="m 6.5,15.5 4,0"
bendpath4="m 6.5,0.5 0,15" />
<marker
inkscape:stockid="Arrow2Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lend"
style="overflow:visible;">
<path
id="path4397"
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round;"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) rotate(180) translate(1,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lstart"
style="overflow:visible">
<path
id="path4394"
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) translate(1,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lstart"
style="overflow:visible">
<path
id="path4376"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
transform="scale(0.8) translate(12.5,0)" />
</marker>
<inkscape:path-effect
effect="envelope"
id="path-effect5673-8"
is_visible="true"
yy="false"
xx="true"
bendpath1="m -1.9996646,0.50189386 6,0"
bendpath2="m 4.0003354,0.50189386 c 2.7527172,5.17204484 2.6836582,10.16772914 0,15.00000014"
bendpath3="m -1.9996646,15.501894 6,0"
bendpath4="m -1.9996646,0.50189386 c 2.7860161,5.22111244 2.5636809,10.20346714 0,15.00000014"
bendpath2-nodetypes="cc"
bendpath4-nodetypes="cc" />
<inkscape:path-effect
effect="envelope"
id="path-effect5673-7"
is_visible="true"
yy="false"
xx="true"
bendpath1="m -11,0.5 6.0000002,0"
bendpath2="m -4.9999998,0.5 c 2.7527168,5.1720447 2.6836578,10.167729 0,15"
bendpath3="m -11,15.5 6.0000002,0"
bendpath4="m -11,0.5 c 2.7860161,5.2211123 2.5636809,10.203467 0,15"
bendpath2-nodetypes="cc"
bendpath4-nodetypes="cc" />
<inkscape:path-effect
effect="envelope"
id="path-effect5673-7-1"
is_visible="true"
yy="false"
xx="true"
bendpath1="m 3.8034148,0.59873227 6,0"
bendpath2="m 9.8034148,0.59873227 c 2.7527172,5.17204473 2.6836582,10.16772873 0,14.99999973"
bendpath3="m 3.8034148,15.598732 6,0"
bendpath4="m 3.8034148,0.59873227 c 2.7860159,5.22111233 2.5636807,10.20346673 0,14.99999973"
bendpath2-nodetypes="cc"
bendpath4-nodetypes="cc" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5756"
id="linearGradient5762"
x1="12"
y1="11.5"
x2="7.5"
y2="6"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-1.030301,0,0,1.030301,16.242408,-0.242408)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5756"
id="linearGradient3798"
x1="4"
y1="14"
x2="9"
y2="8.5"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4548"
id="linearGradient4546"
x1="17"
y1="1043.4717"
x2="17"
y2="1040.5363"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.5297937,0,0,0.42583335,-0.44892098,605.26716)" />
<linearGradient
id="linearGradient4548">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop4550" />
<stop
id="stop4552"
offset="0.4999913"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="1"
id="stop4554" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="32"
inkscape:cx="8.3183485"
inkscape:cy="12.957031"
inkscape:current-layer="text3853"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1247"
inkscape:window-height="1547"
inkscape:window-x="1311"
inkscape:window-y="24"
inkscape:window-maximized="0">
<inkscape:grid
type="xygrid"
id="grid5567"
empspacing="4"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true"
spacingx="0.25px"
spacingy="0.25px" />
<inkscape:grid
type="xygrid"
id="grid5569"
empspacing="8"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true"
color="#ff0000"
opacity="0.1254902" />
</sodipodi:namedview>
<metadata
id="metadata3856">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1"
inkscape:label="Layer 1"
inkscape:groupmode="layer">
<g
style="font-size:21.55789566px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#3f3f3f;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"
id="text3853">
<path
sodipodi:type="arc"
style="fill:#ffffff;fill-opacity:1;stroke:#656565;stroke-width:2.28571438999999987;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="path3879"
sodipodi:cx="8"
sodipodi:cy="8"
sodipodi:rx="8"
sodipodi:ry="8"
d="M 16,8 A 8,8 0 1 1 0,8 8,8 0 1 1 16,8 z"
transform="matrix(0.875,0,0,0.875,1,1)" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:square;stroke-linejoin:miter;stroke-opacity:1"
d="m 7.5,4.5 0,4 4,0"
id="path3881"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Layer" />
</svg>
......@@ -38,7 +38,7 @@ void GoalTool::onInitialize()
{
PoseTool::onInitialize();
setName("Navigation2 Goal");
setIcon(rviz_common::loadPixmap("package://nav2_rviz_plugins/icons/SetGoal.png"));
setIcon(rviz_common::loadPixmap("package://rviz_default_plugins/icons/classes/SetGoal.png"));
}
void
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment