tf2_bullet/include/tf2_bullet/tf2_bullet.hpp
inline
void fromMsg(const geometry_msgs::msg::PointStamped & msg, tf2::Stamped<btVector3> & out)
{
  out.stamp_ = tf2_ros::fromMsg(msg.header.stamp);
  out.frame_id_ = msg.header.frame_id;
  out[0] = static_cast<float>(msg.point.x);
  out[1] = static_cast<float>(msg.point.y);
  out[2] = static_cast<float>(msg.point.z);
}
/** \brief Convert a PointStamped message type to a stamped Bullet-specific Vector3 type.
 * This function is a specialization of the fromMsg template defined in tf2/convert.h
 * \param msg The PointStamped message to convert.
 * \param out The point converted to a timestamped Bullet Vector3.
 */
\brief Convert a PointStamped message type to a stamped Bullet-specific Vector3 type.
This function is a specialization of the fromMsg template defined in tf2/convert.h
\param msg The PointStamped message to convert.
\param out The point converted to a timestamped Bullet Vector3.
\ brief Convert a PointStamped message type to a stamped Bullet - specific Vector3 type . This function is a specialization of the fromMsg template defined in tf2 / convert . h \ param msg The PointStamped message to convert . \ param out The point converted to a timestamped Bullet Vector3 .
inline
void fromMsg(const geometry_msgs::msg::PointStamped & msg, tf2::Stamped<btVector3> & out)
{
  out.stamp_ = tf2_ros::fromMsg(msg.header.stamp);
  out.frame_id_ = msg.header.frame_id;
  out[0] = static_cast<float>(msg.point.x);
  out[1] = static_cast<float>(msg.point.y);
  out[2] = static_cast<float>(msg.point.z);
}
inline void fromMsg ( const geometry_msgs :: msg :: PointStamped & msg , tf2 :: Stamped < btVector3 > & out ) { out . stamp_ = tf2_ros :: fromMsg ( msg . header . stamp ) ; out . frame_id_ = msg . header . frame_id ; out [ 0 ] = static_cast < float > ( msg . point . x ) ; out [ 1 ] = static_cast < float > ( msg . point . y ) ; out [ 2 ] = static_cast < float > ( msg . point . z ) ; }
\brief Convert a PointStamped message type to a stamped Bullet-specific Vector3 type.
\ brief Convert a PointStamped message type to a stamped Bullet - specific Vector3 type .