-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge master branch into #531 #591
Conversation
Delete copy constructors for non-copyable classes (round 2) -- Patch for 5.1
Delete copy constructors for non-copyable classes (round 2)
Fix const correctness of BodyNode::getMomentOfInertia()
- DART now is able to detect if installed Assimp is missing C++ symbols so we don't need to restrict DART to depend on the version of Assimp that is missing the symbols.
For backward compatibility, we have to call deprecated functions in Function.cpp, and compilers complain for these calls. This commit suppresses the warnings only for those calls. See also #544. Note that the suppression code couldn't be made as macros. It needs to use compiler dependent #pragma directives but directives is not allowed to be decleared in macros.
Suppress warnings in Function.cpp
Conditional build depending on missing symbols of Assimp package
Add cmake option DART_MSVC_DEFAULT_OPTIONS for Visual Studio build
'int': forcing value to bool 'true' or 'false'. Visual Studio 2015 won't allow the conversion from int to bool.
Fix World Concurrency
Preliminary implementation for servo motor
Fix Visual Studio 2015 build errors
Updating the constraint namespace to C++11
Fixed segmentation fault for null meshes
… it's not being called anywhere, and compile ConstrainedGroup::containConstraint() only in debug mode
Implement missing implementation in ConstrainedGroup
# Resolved conflicts: # dart/dynamics/MultiDofJoint.h
It probably wouldn't make much sense for me to review this pull request in detail since it's coming from master. But were there any significant merge conflicts that I should look at? |
There was one conflict on Edit: Here is the conflict in case it helps. /// class MultiDofJoint
template<size_t DOF>
class MultiDofJoint :
public Joint,
public virtual common::SpecializedAddonManager< detail::MultiDofJointAddon<DOF> >
{
public:
constexpr static size_t NumDofs = DOF;
using Vector = Eigen::Matrix<double, DOF, 1>;
<<<<<<< HEAD
using UniqueProperties = detail::MultiDofJointUniqueProperties<DOF>;
using Properties = detail::MultiDofJointProperties<DOF>;
using Addon = detail::MultiDofJointAddon<DOF>;
=======
MultiDofJoint(const MultiDofJoint&) = delete;
struct UniqueProperties
{
/// Lower limit of position
Vector mPositionLowerLimits;
>>>>>>> master
DART_BAKE_SPECIALIZED_ADDON_IRREGULAR( MultiDofJoint<DOF>::Addon, MultiDofJointAddon )
/// Destructor
virtual ~MultiDofJoint();
and I resolved this as: /// class MultiDofJoint
template<size_t DOF>
class MultiDofJoint :
public Joint,
public virtual common::SpecializedAddonManager< detail::MultiDofJointAddon<DOF> >
{
public:
constexpr static size_t NumDofs = DOF;
using Vector = Eigen::Matrix<double, DOF, 1>;
using UniqueProperties = detail::MultiDofJointUniqueProperties<DOF>;
using Properties = detail::MultiDofJointProperties<DOF>;
using Addon = detail::MultiDofJointAddon<DOF>;
DART_BAKE_SPECIALIZED_ADDON_IRREGULAR( MultiDofJoint<DOF>::Addon, MultiDofJointAddon )
MultiDofJoint(const MultiDofJoint&) = delete;
/// Destructor
virtual ~MultiDofJoint(); |
It seems AppVeyor is failing to build since // constexpr is not supported until Visual Studio 2015 (_MSC_VER == 1900)
#if defined _MSC_VER && _MSC_VER < 1900
#define DART_CONSTEXPR const
#else
#define DART_CONSTEXPR constexpr
#endif |
There might be some things in the I believe VS2015 is just as readily available on Windows 7 as VS2013, so would it not be fair to make VS2015 the minimum requirement? Or does Travis-CI not support VS2015 yet? |
You're right. The macro couldn't resolve it. As VS2015 community is free for everyone, it seems to be fair to make VS2015 the minimum requirement. AppVeyor supports VS2015, but the problem is that we don't have the DART dependencies built with VS2015 yet. I'm working on this, but it would take more days. So I'd like to increase the minimum requrired VS version to 2015 and don't care the build test until I create the dependencies then. |
- also cmake 3.1.3 is now the minimum requirement for Visual Studio since MSVC14 variable is supported since that cmake version.
…the minimum requirement
I made Visual Studio 2015 the minimum requirement in the last two commit. @mxgrey Does this look good to merge? |
Your resolution of the merge conflict looks good to me. If that was the only major one, I think we should be good to merge. |
Yes, it was the only conflict. Merging now. Thanks! |
This pull request merges master branch into
grey/addons
for #531.