RobSimulatorGroup / gobot

Go, robot go!
GNU Lesser General Public License v3.0
16 stars 2 forks source link

Add RID #67

Closed StephenYu-R closed 1 year ago

StephenYu-R commented 1 year ago

This is to adopt Godot's Node/Server pattern.

RID, namely Resource's unique ID, is used to access a low-level resource by its unique ID. Since RIDs are opaque to type of resources that Nodes are accessing, servers using RIDs could be anonymous to the front-end scenetree, which renders high flexibility to this design pattern.

Note that to differentiate RIDs from ObjectIDs, the former are used as handles for internal resources while the latter are exposed as user APIs for object tracking and debugging.