Update - Cost function

Item 22086: Cost function algorithm improved in VC 4.8

What is cost function?

Cost function is a feature in VC 4.7 and VC 4.8 to add extra distance to pathways for calculating the shortest travels. It can be used to avoid certain areas and to prioritize longer paths over shortcuts. The added cost does not affect for statistics of the actual travel distance.

1 Like

Hello,

Did anyone get this cost feature to work ?

Hello,

I just tested it and it works. What version are you using, or what are you trying to do with it?

Hi Tilma,
The Cost Value goes back to Zero as I start the simulation!

on which version of VC do you work? maybe it was a bug on an older version which has been repaired since in newer versions?

The project has been created on 4.10 Pro and it has been upgraded to 5.0 Pro.

I’ve updated the Navigation Python script on the mobile robot transport controller and it works now