New strange behaviour with mount_tool() and dismount_tool()

I have set up a webcam to watch my FB from the comfort of my office as it goes through its operations throughout the day. The sequence calls to dismount and head it has loaded and load the water head so it called dismount_tool() then mount_tool() to complete the switchover and ensure it has the correct head installed.

I watched FB do something strange on both calls.

Normally dismount_tool() is

Go to X,Y,0
Go to X,Y,-323 (slot height)
Go to X+100,Y,-323 (into slot)
Go to X+100,Y, -273

Instead, it did this.

Go to X,Y,0
Go to X,Y,-323 (slot height)
Go to X+100,Y,-323 (into slot)
Go to X,Y, -323 (slot height)
Go to X+100,Y,-323 (into slot)
Go to X+100,Y, -273

The mount_tool() did the same X bounce.

This is the second time I have seen it - The first time I thought I must have not been paying attention.

The log files do not show anything as the entire sequence is buried within the mount_tool() function.

This is one of the reasons I proposed a different logging system so if the FB misbehaves, the actual movements and code sequences can be reviewed because at the moment, there are no log files to investigate.

Has anyone else witnessed this kind of unexpected behaviour or am I the only one who sits watching the robot do its task. :stuck_out_tongue_winking_eye:

Hi @mvillion my bot is on FBOS version 15.4.9-rc0 and I don’t see the behaviour you described.
This pre-release does include some changes to dismount_tool() and mount_tool() but I can’t see that they relate to your reported issue.

That’s a benefit of having IEx console access :slight_smile: , but anyway, the JOBS pop-down gives detailed STATUS of the ongoing operations., e.g.

image

Hi John
I agree, I also no longer see the behaviour!!!

It was a glitch of some kind. It is the second time over a two week period that it did it and that makes it very odd.

I have not looked at the code to see how it is possible.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.