Ignore:
Timestamp:
06/08/20 11:52:29 (4 years ago)
Author:
Sanahuja Guillaume
Message:

add ball for Julio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Model_impl.cpp

    r318 r361  
    239239    pos_rel = pos - nodePosition;
    240240    // printf("collision %f %f %f\n",pos.X,pos.Y,pos.Z);
    241     // printf("drone %f %f %f\n",nodePosition.X,nodePosition.Y,nodePosition.Z);
     241    // printf("object %f %f %f\n",nodePosition.X,nodePosition.Y,nodePosition.Z);
    242242    // printf("rel %f %f %f\n",pos_rel.X,pos_rel.Z,pos_rel.Y);
    243243
     
    257257    self->state[-1].Pos = self->state[0].Pos;
    258258    self->state[-2].Pos = self->state[0].Pos;
     259    self->state[0].Vel=0;
     260    self->state[-1].Vel=0;
     261    self->state[-2].Vel=0;
    259262    states_mutex->ReleaseMutex();
    260263  }
Note: See TracChangeset for help on using the changeset viewer.