Пример #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();
 }