MujocoSceneComponent¶
class · namespace Hazel · Component
Inherits Component
Properties¶
IsControlledManually¶
ModelNbody¶
ModelNgeom¶
ModelNjnt¶
ModelNq¶
ModelNsite¶
ModelNu¶
ModelNv¶
MujocoTime¶
Methods¶
BakeLidarMaterial(float)¶
BakeLidarMaterialEx(float, int, int, int)¶
public bool BakeLidarMaterialEx(float cellSize = 0.0f, int maxDim = 0, int splatRadius = 0, int includeHidden = 0)
GetActuator(string)¶
GetActuatorCtrlRange(uint, float, float)¶
GetActuatorGainPrms(uint, float, float)¶
GetActuatorID(string)¶
GetActuatorIndex(string)¶
GetActuatorNameByIndex(uint)¶
GetActuatorTrnJointID(uint)¶
GetAngularVelocity(uint, bool)¶
GetAxisHzToMj()¶
GetBodyFreeJointIndex(uint)¶
GetBodyID(string)¶
GetBodyMass(uint)¶
GetBodyNameByIndex(uint)¶
GetBodyParentID(uint)¶
GetBodyPoseMj(uint, Vector3, Quaternion, Vector3, Vector3)¶
public bool GetBodyPoseMj(uint bodyIndex, out Vector3 position, out Quaternion orientation, out Vector3 linearVel, out Vector3 angularVel)
GetBodyRootID(uint)¶
GetCameraConfig(ulong, int[], float[])¶
GetDefaultFreeJointPosition(uint)¶
GetDefaultFreeJointQuaternion(uint)¶
GetFreeJointID()¶
GetFullCtrl(float[])¶
GetFullQpos(float[])¶
GetFullQvel(float[])¶
GetGeomContactForce(uint)¶
GetGeomDescriptor(uint, int, int, int, int, int, Vector3)¶
public bool GetGeomDescriptor(uint geomIndex, out int parentBodyId, out int geomType, out int group, out int contype, out int conaffinity, out Vector3 size)
GetGeomID(string)¶
GetGeomNameByIndex(uint)¶
GetGeomPoseMj(uint, Vector3, Quaternion)¶
GetJointID(string)¶
GetJointNameByIndex(uint)¶
GetJointPosition(uint)¶
GetJointPositions(uint[], float[])¶
GetJointQposAdr(uint)¶
GetJointQvelAdr(uint)¶
GetJointRange(uint, float, float)¶
GetJointType(uint)¶
GetJointVelocities(uint[], float[])¶
GetJointVelocity(uint)¶
GetLidarBakeStatus(int[], ulong[], float)¶
GetLidarBeamAngles(int, float[], float[])¶
GetLidarBeamCount(int)¶
GetLidarConfig(int, int[], float[])¶
GetLidarReturnParams(float[])¶
GetLidarScan(int, float[], bool)¶
GetLidarScanChannels(int, float[], float[], float[], bool)¶
public int GetLidarScanChannels(int sensorIndex, float[] outRanges, float[] outIntensity, float[] outReflectivityCalibrated, bool material = true)
GetLidarScanSecondary(int, float[])¶
GetOrientation(uint, bool)¶
GetPosition(uint, bool)¶
GetSceneTranslation()¶
GetSiteDescriptor(uint, int, int, Vector3)¶
public bool GetSiteDescriptor(uint siteIndex, out int parentBodyId, out int siteType, out Vector3 size)
GetSiteID(string)¶
GetSiteLinearVelocityMj(uint)¶
GetSiteNameByIndex(uint)¶
GetSitePoseMj(uint, Vector3, Quaternion, Vector3)¶
public bool GetSitePoseMj(uint siteIndex, out Vector3 position, out Quaternion orientation, out Vector3 linearVel)
GetSitePositionMj(uint)¶
GetVelocity(uint, bool)¶
HasNonFootGroundContact(uint[])¶
IsActuatorClaimedByPolicy(uint)¶
IsGeomInContact(uint)¶
LoadLidarBake(string)¶
ReseedPolicyPDTargets()¶
ResetToInitialState(bool)¶
SaveLidarBake(string)¶
SetActuatorGainPrms(uint, float, float)¶
SetCameraConfig(ulong, int, int, bool, int, bool, int, float, float, float, float, float, float)¶
public void SetCameraConfig(ulong cameraEntityId, int width, int height, bool recordMask, int depthMode, bool enabled, int sensorModel, float depthScale, float maxRange, float minRange, float detectFloor, float baseline, float subpixelSigma)
SetCameraDepthDebugChannel(ulong, int)¶
SetControlledManually(bool)¶
SetCtrlByIndex(uint, float)¶
SetFullCtrl(float[])¶
SetFullQpos(float[])¶
SetLidarConfig(int, int, int, int, float, float, float, float, float, int, int)¶
public void SetLidarConfig(int sensorIndex, int scanPattern, int channels, int azimuthBins, float vfovMinDeg, float vfovMaxDeg, float minRange, float maxRange, float rotationHz, int geomGroupMask, int selfIgnore)
SetLidarLive(bool)¶
SetLidarPreset(int)¶
SetLidarReturnParams(float, float, float, float, float, float, float, float, float)¶
public void SetLidarReturnParams(float maxRangeAtRef, float refReflectivity, float rangeExp, float noiseSigma0, float grazingCosCutoff, float intensityRefRange, float detectFloor, float nearRangeR0, float noiseSlopePerM)
SetLidarReturnParamsEx(float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, int)¶
public void SetLidarReturnParamsEx(float maxRangeAtRef, float refReflectivity, float rangeExp, float noiseSigma0, float grazingCosCutoff, float intensityRefRange, float detectFloor, float nearRangeR0, float noiseSlopePerM, float specSlopeFloor, float specPeakMax, float retroGain, float retroCosExp, float foldMaxSlope, float rangeFloor, float minReturnSeparation, int maxReturns)
SetLidarSecondaryCapture(int, int, int)¶
SetQfrcApplied(uint, float)¶
SetQposByIndex(uint, float)¶
UnweldBody(uint)¶
WeldBody(uint, Vector3, Quaternion, bool)¶
public void WeldBody(uint bodyID, Vector3 positionMj, Quaternion orientationMj, bool persistent = true)
Source: Hazel/Scene/Components.cs