Skip to content

Commit

Permalink
Bumps in garden: depend on ign-math7 and ign-common5 (#343)
Browse files Browse the repository at this point in the history
Signed-off-by: Louise Poubel <[email protected]>
  • Loading branch information
chapulina authored Dec 29, 2021
1 parent 71e3f6c commit ebbb88a
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/ci/packages.apt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libignition-cmake2-dev
libignition-common4-dev
libignition-math6-dev
libignition-common5-dev
libignition-math7-dev
libignition-msgs9-dev
libignition-plugin-dev
libignition-rendering7-dev
Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ ign_find_package(TINYXML2 REQUIRED PRIVATE PRETTY tinyxml2)

#--------------------------------------
# Find ignition-math
ign_find_package(ignition-math6 REQUIRED VERSION 6.5)
set(IGN_MATH_VER ${ignition-math6_VERSION_MAJOR})
ign_find_package(ignition-math7 REQUIRED)
set(IGN_MATH_VER ${ignition-math7_VERSION_MAJOR})

#--------------------------------------
# Find ignition-common
ign_find_package(ignition-common4 REQUIRED COMPONENTS profiler VERSION 4.1)
set(IGN_COMMON_VER ${ignition-common4_VERSION_MAJOR})
ign_find_package(ignition-common5 REQUIRED COMPONENTS profiler)
set(IGN_COMMON_VER ${ignition-common5_VERSION_MAJOR})

#--------------------------------------
# Find ignition-plugin
Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/custom_context_menu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find_package (Qt5

# Find the Ignition gui library
find_package(ignition-gui7 REQUIRED)
find_package(ignition-common4 REQUIRED)
find_package(ignition-common5 REQUIRED)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IGNITION-GUI_CXX_FLAGS}")

Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/dialog_from_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find_package (Qt5

# Find the Ignition gui library
find_package(ignition-gui7 REQUIRED)
find_package(ignition-common4 REQUIRED)
find_package(ignition-common5 REQUIRED)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IGNITION-GUI_CXX_FLAGS}")

Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/hello_plugin/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find_package (Qt5

# Find the Ignition gui library
find_package(ignition-gui7 REQUIRED)
find_package(ignition-common4 REQUIRED)
find_package(ignition-common5 REQUIRED)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IGNITION-GUI_CXX_FLAGS}")

Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/ign_components/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ find_package (Qt5
)

find_package(ignition-gui7 REQUIRED)
find_package(ignition-common4 REQUIRED)
find_package(ignition-common5 REQUIRED)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IGNITION-GUI_CXX_FLAGS}")

Expand Down
2 changes: 1 addition & 1 deletion examples/plugin/multiple_qml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ find_package (Qt5

# Find the Ignition gui library
find_package(ignition-gui7 REQUIRED)
find_package(ignition-common4 REQUIRED)
find_package(ignition-common5 REQUIRED)

set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IGNITION-GUI_CXX_FLAGS}")

Expand Down
4 changes: 2 additions & 2 deletions examples/standalone/marker/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
find_package(ignition-transport12 QUIET REQUIRED OPTIONAL_COMPONENTS log)
set(IGN_TRANSPORT_VER ${ignition-transport12_VERSION_MAJOR})

find_package(ignition-common4 REQUIRED)
set(IGN_COMMON_VER ${ignition-common4_VERSION_MAJOR})
find_package(ignition-common5 REQUIRED)
set(IGN_COMMON_VER ${ignition-common5_VERSION_MAJOR})

find_package(ignition-msgs9 REQUIRED)
set(IGN_MSGS_VER ${ignition-msgs9_VERSION_MAJOR})
Expand Down
1 change: 0 additions & 1 deletion include/ignition/gui/Conversions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#endif
#include <ignition/common/KeyEvent.hh>
#include <ignition/common/MouseEvent.hh>
#include <ignition/common/Time.hh>
#include <ignition/math/Color.hh>
#include <ignition/math/Vector2.hh>
#include <ignition/math/Vector3.hh>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/scene3d/Scene3D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ rendering::GeometryPtr SceneManager::LoadGeometry(const msgs::Geometry &_msg,
// The rotation is the angle between the +z(0,0,1) vector and the
// normal, which are both expressed in the local (Visual) frame.
math::Vector3d normal = msgs::Convert(_msg.plane().normal());
localPose.Rot().From2Axes(math::Vector3d::UnitZ, normal.Normalized());
localPose.Rot().SetFrom2Axes(math::Vector3d::UnitZ, normal.Normalized());
}
}
else if (_msg.has_sphere())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ rendering::GeometryPtr TransportSceneManagerPrivate::LoadGeometry(
// The rotation is the angle between the +z(0,0,1) vector and the
// normal, which are both expressed in the local (Visual) frame.
math::Vector3d normal = msgs::Convert(_msg.plane().normal());
localPose.Rot().From2Axes(math::Vector3d::UnitZ, normal.Normalized());
localPose.Rot().SetFrom2Axes(math::Vector3d::UnitZ, normal.Normalized());
}
}
else if (_msg.has_sphere())
Expand Down
1 change: 0 additions & 1 deletion src/plugins/world_control/WorldControl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <string>

#include <ignition/common/Console.hh>
#include <ignition/common/Time.hh>
#include <ignition/common/StringUtils.hh>
#include <ignition/plugin/Register.hh>

Expand Down

0 comments on commit ebbb88a

Please sign in to comment.