fix R2D2GraspExample
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
<sdf version="1.4">
|
||||
<model name="Amazon Pod">
|
||||
<static>1</static>
|
||||
<pose>0 2 1.21 0 0 0</pose>
|
||||
<pose>0 2 0 0 0 0</pose>
|
||||
<link name="pod_link">
|
||||
<inertial>
|
||||
<pose>0.0 0.0 1.2045 0 0 0</pose>
|
||||
<pose>0.0 .0 1.2045 0 0 0</pose>
|
||||
<mass>76.26</mass>
|
||||
<inertia>
|
||||
<ixx>47</ixx>
|
||||
|
||||
@@ -94,11 +94,9 @@ public:
|
||||
{
|
||||
b3RobotSimLoadFileArgs args("");
|
||||
args.m_fileName = "kiva_shelf/model.sdf";
|
||||
args.m_startPosition.setValue(0,0,.5);
|
||||
args.m_startOrientation = b3Quaternion(0,B3_HALF_PI,0);
|
||||
args.m_forceOverrideFixedBase = true;
|
||||
args.m_fileType = B3_SDF_FILE;
|
||||
//args.m_startOrientation = b3Quaternion()
|
||||
args.m_startOrientation = b3Quaternion(0,0,0,1);
|
||||
b3RobotSimLoadFileResults results;
|
||||
m_robotSim.loadFile(args,results);
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ struct b3RobotSimLoadFileArgs
|
||||
m_startPosition(b3MakeVector3(0,0,0)),
|
||||
m_startOrientation(b3Quaternion(0,0,0,1)),
|
||||
m_forceOverrideFixedBase(false),
|
||||
m_useMultiBody(true),
|
||||
m_fileType(B3_URDF_FILE)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user