We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 392a72d commit ea05a6eCopy full SHA for ea05a6e
docs/guides/blackboard_reference.md
@@ -87,10 +87,10 @@ if(auto any_locked = getLockedPortContent("cloud"))
87
{
88
// the entry in the blackboard hasn't been initialized yet.
89
}
90
- else if(auto cloud_ptr = any_locked->cast<std::shared_ptr<Pointcloud>>())
+ else if(Pointcloud* cloud_ptr = any_locked->castPtr<Pointcloud>())
91
92
- // Succesful cast to the original value.
93
- // Modify the pointcloud, referenced by cloud_ptr, here
+ // Succesful cast to Pointcloud* (original type).
+ // Modify the pointcloud instance, using cloud_ptr
94
95
96
```
0 commit comments