|
@@ -394,9 +394,9 @@ export class SceneService implements OnModuleInit, OnModuleDestroy {
|
|
if (!this.moveSliceLastFrameSub) {
|
|
if (!this.moveSliceLastFrameSub) {
|
|
this.moveSliceLastFrameSub = this.moveSliceLastFrame.subscribe(
|
|
this.moveSliceLastFrameSub = this.moveSliceLastFrame.subscribe(
|
|
async (frame: MovingLastUpdateType) => {
|
|
async (frame: MovingLastUpdateType) => {
|
|
- // console.log('walkingStop-'+ this.latestWalkingRequest + ','+ this.onMoving.value);
|
|
|
|
//TODO 正在行走时,有新的reqest
|
|
//TODO 正在行走时,有新的reqest
|
|
if (frame) {
|
|
if (frame) {
|
|
|
|
+ this.logger.log('行走每段最后一帧', JSON.stringify(frame));
|
|
if (this.latestWalkingRequest && this.onMoving.value) {
|
|
if (this.latestWalkingRequest && this.onMoving.value) {
|
|
this.logger.log('stop-data-1', frame);
|
|
this.logger.log('stop-data-1', frame);
|
|
this.moveQueueSubscription.unsubscribe();
|
|
this.moveQueueSubscription.unsubscribe();
|