question

Xu Chunqi avatar image
1 Like"
Xu Chunqi asked Matthew Gillespie answered

The truck heads forward

Hi, I have a question.

When I use the networknode in Version 2016, the truck heads forward.

But the truck didnot head forward in Version 2017.

Picture above is what I want, below is what I donot want in V2017.

How can I change the truck in V2017 which can look the same in V2016 ?

Need your help, thank you.

FlexSim 17.2.5
networknodes
v16.png (124.4 KiB)
v17.png (16.3 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

Could you share an example model? Or maybe better both V2016 and V2017.

0 Likes 0 ·
Xu Chunqi avatar image Xu Chunqi Sebastian Hemmann commented ·
1 Like 1 ·
truckv172.fsm (15.1 KiB)
truckv162.fsm (15.7 KiB)
Xu Chunqi avatar image Xu Chunqi Xu Chunqi commented ·

The first version is V17.2

The second version is V16.2

Thanks.

0 Likes 0 ·
Show more comments

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

The 17.2 release includes this backwards compatibility note,

"Changed operators to not change their incline rotation when traveling on inclines."

The Truck flowitem is an Operator object and thus no longer rotates on inclines. The main benefit of the truck being an Operator is that it doesn't change Z height during offset travel (it won't climb into the air to pick up a box on the top shelf of a rack for example). If you're willing to trade this benefit for the previous incline behavior you can make the truck a generic Task Executer object instead.

You can run this script to turn the truck into a Task Executer:

treenode truck = node("MODEL:/Tools/FlowItemBin/Truck/Truck");

classes(truck).subnodes.clear();
treenode class = classes(truck).subnodes.add();
class.name = "TaskExecuter";
class.value = library().find("?TaskExecuter");

superclasses(truck).subnodes.clear();
treenode superclass = superclasses(truck).subnodes.add();
superclass.name = "Dispatcher";
superclass.value = library().find("?Dispatcher");

rebindobjectattributes(truck);
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.