Fixed setting to wrong value

This commit is contained in:
2025-04-14 11:48:35 +02:00
parent 2d0f8279c0
commit 24cb2bd307
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<Sequence>
<SetBlackboard value="0.31133"
output_key="width"/>
<Delay delay_msec="20000">
<Delay delay_msec="10000">
<Repeat num_cycles="5">
<Sequence>
<ZeroNode service_name="/zero"/>
@ -20,7 +20,7 @@
<RotateNode angle="0"
action_name="/Rotate"/>
<Fallback>
<Timeout msec="10000">
<Timeout msec="20000">
<MovePoint action_name="/MovePoint"
max_angular="0.1"
x_goal="-0.1"

View File

@ -29,7 +29,7 @@ namespace mg {
RCLCPP_INFO(logger(), "Setting width to: %lf", new_width);
request->set__data(count);
request->set__data(new_width);
setOutput("Count", new_width);
return true;
}