Commit 4529acaf authored by Sascha Dewes's avatar Sascha Dewes
Browse files

more bug fixes

parent 6e6ca6ee
Pipeline #346923 passed with stage
in 33 seconds
......@@ -86,11 +86,11 @@ class RosAdapter_tests_structs_arrayHandlingComp: public IAdapter_tests_structs_
int counter = 0;
for(int i0 = 0; i0 < 1; i0++){
for(int i1 = 0; i1 < 10; i1++){
if(0 <= counter && counter <= msg->data.size()-1){
if(0 <= counter && counter <= 10-1){
(component->in3)(i0, i1-0) = msg->poses[counter].pose.orientation.x;
}
else if(0 > counter){
(component->in3)(i0, i1+msg->data.size()-1-0+1) = 0;
(component->in3)(i0, i1+10-1-0+1) = 0;
}
else{
(component->in3)(i0, i1) = 0;
......
Markdown is supported
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