rapyuta-robotics / RapyutaSimulationPlugins

Apache License 2.0
20 stars 10 forks source link

ERRRobotDescriptionType add SINGLE_CAD #178

Closed Tadinu closed 1 year ago

Tadinu commented 1 year ago

SINGLE_CAD is a description type whereby an entity (robot or object) is imported purely from a single 3D CAD file. In case of robots, only FBX is supported for now. ARRBaseRobot RobotModelName to ref EntityModelName as both referring to RRBaseActor's model name. It is just kept so to make it clear for robots.

yuokamoto commented 1 year ago

out of this pr but can we apply same things for RobotVehicleMoveCompoment and MoveComponent?

Tadinu commented 1 year ago

So the reference only works for the same type members (like an alias, there is always 1 instance of it in memory), thus could not be applied to Movement component ones due to their being of, though parent-child pointer types, but still different types. In fact, MovementComponent, eg in case of being instantiated as a ChaosVehicleDriveComp, also effectively means RobotVehicleMoveCompoment is always null.