예제 #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();
 }