Communication for reciever
Dependencies: Fork_Boss_Communication_Robot
Dependents: BEAR_Motion BEAR_Motion_Editing4Betago
Fork of BEAR_Protocol by
Diff: Receiver.cpp
- Revision:
- 15:fe0cc017c66d
- Parent:
- 14:1c3180c64272
- Child:
- 17:774eec1470d8
diff -r 1c3180c64272 -r fe0cc017c66d Receiver.cpp --- a/Receiver.cpp Fri Jan 22 19:23:31 2016 +0000 +++ b/Receiver.cpp Sun Jan 24 07:24:53 2016 +0000 @@ -20,7 +20,9 @@ if(status == ANDANTE_ERRBIT_NONE) { *id = package.robotId; - data_array = package.parameter; + for(int i=0; i<30; i++) { + data_array[i] = package.parameter[i]; + } *ins=package.instructionErrorId; }