Create new types in Object Model in DSF
-
Hello,
we have implemented custom Object Model types in RepRap firmware. They works as fine in standalone mode, but when we connect it to SBC, we get following error:DuetControlServer[4371]: [warn] Invalid key pads in the object model
We have tried to add Pads class to DuetAPI\ObjectModel\Tools\Pads.cs, implementing ModelObject, inspired by other classes in DuetAPI\ObjectModel, but we have got the same error.
What else should we do to add new types to Object Model? Isn't here some tool automatic create it from firmware sources? -
@Thugmek No, there is no tool to do sync the OM definitions automatically. I guess you forgot to add your key to the Tool class and if not, perhaps you haven't updated the DCS build on your SBC yet.