Closed aseth1 closed 1 year ago
findComponent()
is no longer misbehaving. The hopper example reportsModel'bouncing_leg'::findComponent() Found '/bouncing_leg/ground_block/yTranslation' as a match for: Component '/bouncing_leg/ground_block/yTranslation' of type Coordinate, but it is not on specified path.
which sounds like it can't find A but it found A instead.
Related to naming: see #390. There was also some discussion about assigning a unique unsigned int to each Component upon creation (to ensure connections are preserved even if a Component's full path changes) (see #1192); if so, a unique name (e.g., "component[uniqueComponentID#]") could be assigned by default.
@aseth1 Can you review the list and close issue if everything is fixed or tracked with a separate issue elsewhere?
PR #810 addresses a few major issues that makes the current API unusable (see #748) but several tasks remain for making it robust and ready for the 4.0 release (i.e after the Hackathon) . These include:
ComponentHasNoName
exception.connectee_name
). Currently theComponentNotFoundOnSpecifedPath
exception is being trapped byConnector::findAndConnect()
andfindComponent()
is invoked.getComponent
call.owner
is automatically reset to the new copied component and not stale or reset tonullptr
.