Commit 6e6ca6ee authored by Sascha Dewes's avatar Sascha Dewes
Browse files

bug fixes

parent 9e70be4a
Pipeline #346921 failed with stage
in 45 seconds
......@@ -46,11 +46,11 @@ class RosAdapter_tests_structs_arrayHandlingComp: public IAdapter_tests_structs_
int counter = 0;
for(int i0 = 0; i0 < 3; i0++){
for(int i1 = 0; i1 < 1; i1++){
if(0 <= counter && counter <= msg->data.size()-1){
if(0 <= counter && counter <= 1-1){
(component->in1)(i0, i1-0) = msg->data[counter];
}
else if(0 > counter){
(component->in1)(i0, i1+msg->data.size()-1-0+1) = 0;
(component->in1)(i0, i1+1-1-0+1) = 0;
}
else{
(component->in1)(i0, i1) = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment