コード例 #1
0
 @Override
 public TwistWithCovarianceStamped getVelocity() {
   TwistWithCovarianceStamped velMsg = new TwistWithCovarianceStamped();
   velMsg.twist.twist = _velocity.clone();
   return velMsg;
 }
コード例 #2
0
 @Override
 public void setVelocity(Twist velocity) {
   _velocity = velocity.clone();
 }