forked from ANYbotics/grid_map
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
cmake_minimum_required(VERSION 3.15) | ||
project(issue382) | ||
|
||
find_package(grid_map_core REQUIRED) | ||
find_package(Eigen3 CONFIG REQUIRED) | ||
|
||
|
||
add_executable(main1 main1.cpp) | ||
target_link_libraries(main1 PRIVATE grid_map_core::grid_map_core) | ||
|
||
|
||
add_executable(main2 main2.cpp) | ||
target_link_libraries(main2 PRIVATE Eigen3::Eigen) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include <Eigen/Core> | ||
|
||
int main() { | ||
|
||
Eigen::VectorXd v(10); | ||
v[0] = 0.1; | ||
v[1] = 0.2; | ||
v(0) = 0.3; | ||
v(1) = 0.4; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include <Eigen/Core> | ||
|
||
|
||
int main() { | ||
|
||
Eigen::VectorXd v(10); | ||
v[0] = 0.1; | ||
v[1] = 0.2; | ||
v(0) = 0.3; | ||
v(1) = 0.4; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0"?> | ||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>issue382</name> | ||
<version>2.0.0</version> | ||
<description>foo.</description> | ||
<maintainer email="rf@foo.com">ryan f</maintainer> | ||
<maintainer email="ynava@anybotics.com">Yoshua Nava</maintainer> | ||
<maintainer email="ryanfriedman5410+grid_map@gmail.com">Ryan Friedman</maintainer> | ||
<license>BSD</license> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
|
||
<depend>grid_map_core</depend> | ||
<depend>eigen</depend> | ||
|
||
<test_depend>ament_cmake_gtest</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
<test_depend>ament_lint_auto</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> |