/adapter_lift_requests and /lift_requests spam after cancelling task (#529)

Posted by @MrOCW:

Hi, I am testing the latest build in an actual environment.

When my robot reaches the lift lobby, /adapter_lift_requests and /lift_requests gets published with the correct data.
I then cancelled the task before any actual lift calls were made. However, the session_id remains as my robot and the destination floor becomes ’ ’ with request_type = REQUEST_END_SESSION. Is this intended behaviour? In 22.09 which was used in production, the lift request topics will stop getting published once the lift is not required anymore.

Lift callback message: rmf_lift_msgs.msg.LiftRequest(lift_name='lift_1', request_time=builtin_interfaces.msg.Time(sec=0, nanosec=0), session_id='<fleet>/<robot id>', request_type=0, destination_floor='', door_state=0)

Chosen answer

Answer chosen by @MrOCW at 2024-09-20T07:20:47Z.
Answered by @MrOCW:

changing lift requests to transient_qos fixed it!

Posted by @MrOCW:

changing lift requests to transient_qos fixed it!


This is the chosen answer.