Tagged: Scene; XML; Pose
In ROS, we can control the default world pose of a scene in the URDF file.
Is there a way to do this in SOFA?
I have not started using the ROS Plugin yet as it is my understanding that it is not public yet.
I am asking for a default world pose for the scene at initialization of the scene, yes.
Is there a way you do this? IN URDF/XML/Xacro files, we’d do something like
<pose>0 0 0 0 0 0</pose>
More so, we can define a global property in Xacro such as
<property name="cal_caster_fl" value="0.0" /> that can be used as a variable in multiple locations in an xml file. Does
SOFA have this property?
In the SOFA GUI, you have a button “Save View” allowing you to save the current camera position. This actually generates a file (*.scn.view) storing these information (position and orientation).
If you are in python, an alternative is to use an
<InteractiveCamera />. You can find the API of InteractiveCamera here.
Let me know if it helps.
Thank you, @hugo! That was really cool to know.
Now back unto my question that you earlier skipped and a +1:
[WARNING] [MeshTopology(meshTopology)] Unused Attribute: “dx” with value: “95”
because I used the
dx attribute to describe an object’s position in a scene file I am including in my main scene file. Why does SOFA spill this to terminal everytime I include the scene file? Would ‘preciate your help, bro.
You must be logged in to reply to this topic.
Get involved in this forum: