[wpimath] Upgrade to Drake 1.6.0 (#4361)

This commit is contained in:
Tyler Veness
2022-08-18 14:03:28 -07:00
committed by GitHub
parent 148c18e658
commit 91002ae3cc
4 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
From ef037207c433f16721d1f0574bde984b4bdea1f8 Mon Sep 17 00:00:00 2001
From 02d023c7cdfdfb72ccdbccbac0883b4a1f6ec6d5 Mon Sep 17 00:00:00 2001
From: Tyler Veness <calcmogul@gmail.com>
Date: Wed, 18 May 2022 11:13:21 -0700
Subject: [PATCH 1/2] Replace <Eigen/Dense> with <Eigen/Core>
@@ -12,7 +12,7 @@ Subject: [PATCH 1/2] Replace <Eigen/Dense> with <Eigen/Core>
5 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/common/is_approx_equal_abstol.h b/common/is_approx_equal_abstol.h
index 9af0c45252..b3f369ca01 100644
index 9af0c45..b3f369c 100644
--- a/common/is_approx_equal_abstol.h
+++ b/common/is_approx_equal_abstol.h
@@ -2,7 +2,7 @@
@@ -25,7 +25,7 @@ index 9af0c45252..b3f369ca01 100644
namespace drake {
diff --git a/common/test_utilities/eigen_matrix_compare.h b/common/test_utilities/eigen_matrix_compare.h
index a595da9510..c22567d32c 100644
index a595da9..c22567d 100644
--- a/common/test_utilities/eigen_matrix_compare.h
+++ b/common/test_utilities/eigen_matrix_compare.h
@@ -4,7 +4,7 @@
@@ -38,7 +38,7 @@ index a595da9510..c22567d32c 100644
#include "drake/common/text_logging.h"
diff --git a/math/discrete_algebraic_riccati_equation.cc b/math/discrete_algebraic_riccati_equation.cc
index 901f2ef240..20ea2b7bbe 100644
index 901f2ef..20ea2b7 100644
--- a/math/discrete_algebraic_riccati_equation.cc
+++ b/math/discrete_algebraic_riccati_equation.cc
@@ -1,5 +1,8 @@
@@ -51,7 +51,7 @@ index 901f2ef240..20ea2b7bbe 100644
#include "drake/common/drake_throw.h"
#include "drake/common/is_approx_equal_abstol.h"
diff --git a/math/discrete_algebraic_riccati_equation.h b/math/discrete_algebraic_riccati_equation.h
index 891373ff9d..df7a58b2b8 100644
index 891373f..df7a58b 100644
--- a/math/discrete_algebraic_riccati_equation.h
+++ b/math/discrete_algebraic_riccati_equation.h
@@ -3,7 +3,7 @@
@@ -64,7 +64,7 @@ index 891373ff9d..df7a58b2b8 100644
namespace drake {
namespace math {
diff --git a/math/test/discrete_algebraic_riccati_equation_test.cc b/math/test/discrete_algebraic_riccati_equation_test.cc
index 533ced151d..e4ecfd2eb5 100644
index 533ced1..e4ecfd2 100644
--- a/math/test/discrete_algebraic_riccati_equation_test.cc
+++ b/math/test/discrete_algebraic_riccati_equation_test.cc
@@ -1,5 +1,6 @@

View File

@@ -1,4 +1,4 @@
From 7dfb527524f42488a00cf156ada36c51d5e13b3f Mon Sep 17 00:00:00 2001
From b208372a18b37f6cbc49dd45d15adf63c9b60755 Mon Sep 17 00:00:00 2001
From: Tyler Veness <calcmogul@gmail.com>
Date: Wed, 18 May 2022 11:15:27 -0700
Subject: [PATCH 2/2] Add WPILIB_DLLEXPORT to DARE function declarations
@@ -8,7 +8,7 @@ Subject: [PATCH 2/2] Add WPILIB_DLLEXPORT to DARE function declarations
1 file changed, 3 insertions(+)
diff --git a/math/discrete_algebraic_riccati_equation.h b/math/discrete_algebraic_riccati_equation.h
index df7a58b2b8..55b8442bf4 100644
index df7a58b..55b8442 100644
--- a/math/discrete_algebraic_riccati_equation.h
+++ b/math/discrete_algebraic_riccati_equation.h
@@ -4,6 +4,7 @@

View File

@@ -13,7 +13,7 @@ from upstream_utils import (
def main():
root, repo = setup_upstream_repo(
"https://github.com/RobotLocomotion/drake", "v1.3.0"
"https://github.com/RobotLocomotion/drake", "v1.6.0"
)
wpimath = os.path.join(root, "wpimath")

View File

@@ -92,9 +92,9 @@ namespace internal {
namespace assert {
// Allows for specialization of how to bool-convert Conditions used in
// assertions, in case they are not intrinsically convertible. See
// symbolic_formula.h for an example use. This is a public interface to
// extend; it is intended to be specialized by unusual Scalar types that
// require special handling.
// common/symbolic/expression/formula.h for an example use. This is a public
// interface to extend; it is intended to be specialized by unusual Scalar
// types that require special handling.
template <typename Condition>
struct ConditionTraits {
static constexpr bool is_valid = std::is_convertible_v<Condition, bool>;