You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Conception/drake-master/multibody/parsing/detail_ignition.h

27 lines
744 B

#pragma once
#include <drake_vendor/gz/math/Pose3.hh>
#include "drake/common/eigen_types.h"
#include "drake/math/rigid_transform.h"
namespace drake {
namespace multibody {
namespace internal {
// Helper function to express a gz::math::Vector3d instance as
// a Vector3d instance.
Eigen::Vector3d ToVector3(const gz::math::Vector3d& vector);
// Helper function to express a gz::math::Pose3d instance as
// a RigidTransform instance.
math::RigidTransformd ToRigidTransform(const gz::math::Pose3d& pose);
// Helper function to express a RigidTransform instance as an
// gz::math::Pose3d instance.
gz::math::Pose3d ToIgnitionPose3d(const math::RigidTransformd& pose);
} // namespace internal
} // namespace multibody
} // namespace drake