• Articles
  • Api Documentation
Show / Hide Table of Contents
  • AsyncGPUReadbackPluginNs
    • AsyncGPUReadbackPlugin
    • AsyncGPUReadbackPluginRequest
  • ZO
    • ZOMouseOrbitCamera
  • ZO.Controllers
    • ZO2FingerGripController
    • ZOLinearActuator
    • ZOLinearActuator.Axis
    • ZOServoMotorActuator
  • ZO.Document
    • ZOSerializationInterface
    • ZOSimDocumentRoot
    • ZOSimOccurrence
  • ZO.Math
    • ZOGaussianNoiseModel
    • ZOMathUtil
    • ZOMatrix4x4Util
    • ZORandom
  • ZO.Networking
    • ZOBinaryMessagePublisher
    • ZOBinaryMessageSubscriber
    • ZOJSONMessagePublisher
    • ZOJSONMessageSubscriber
    • ZOPubSubHeader
    • ZOTCPServer
  • ZO.Physics
    • ZOArticulatedBody
    • ZOFixedJoint
    • ZOHingeJoint
    • ZOJointInterface
    • ZOPIDController
    • ZOSpeedLimiter
  • ZO.ROS
    • ZOROSActionServer<TActionMessage, TGoalMessage>
    • ZOROSAPI
    • ZOROSBridgeConnection
    • ZOROSBridgeConnection.ROSBridgeConnectionChangeHandler
    • ZOROSBridgeConnection.SerializationType
  • ZO.ROS.Controllers
    • ControllerStateEnum
    • ZOArmController
    • ZODifferentialDriveController
    • ZOROSControllerInterface
  • ZO.ROS.MessageTypes
    • ZOROSMessageInterface
  • ZO.ROS.MessageTypes.ActionLib
    • ActionStatusEnum
    • GoalIDMessage
    • GoalStatusArrayMessage
    • GoalStatusMessage
    • ZOROSActionGoalMessageInterface
    • ZOROSActionMessageInterface
  • ZO.ROS.MessageTypes.Control
    • FollowJointTrajectoryActionFeedback
    • FollowJointTrajectoryActionGoal
    • FollowJointTrajectoryActionMessage
    • FollowJointTrajectoryActionResult
    • FollowJointTrajectoryFeedback
    • FollowJointTrajectoryGoal
    • FollowJointTrajectoryResult
    • JointToleranceMessage
    • JointTrajectoryControllerStateMessage
  • ZO.ROS.MessageTypes.ControllerManager
    • ControllerStateMessage
    • HardwareInterfaceResourcesMessage
    • ListControllersResponse
    • ListControllerTypesServiceResponse
    • LoadControllerServiceRequest
    • LoadControllerServiceResponse
    • ReloadControllerLibrariesServiceRequest
    • ReloadControllerLibrariesServiceResponse
    • SwitchControllerServiceRequest
    • SwitchControllerServiceResponse
    • UnloadControllerServiceRequest
    • UnloadControllerServiceResponse
  • ZO.ROS.MessageTypes.Gazebo
    • SpawnModelServiceRequest
    • SpawnModelServiceResponse
  • ZO.ROS.MessageTypes.Geometry
    • PointMessage
    • PoseMessage
    • PoseWithCovarianceMessage
    • QuaternionMessage
    • TransformMessage
    • TransformStampedMessage
    • TwistMessage
    • TwistWithCovarianceMessage
    • Vector3Message
  • ZO.ROS.MessageTypes.Nav
    • OdometryMessage
  • ZO.ROS.MessageTypes.ROSAPI
    • GetParamNamesResponse
    • GetParamResponse
    • GetParamServiceRequest
    • HasParamResponse
    • HasParamServiceRequest
    • SetParamServiceRequest
  • ZO.ROS.MessageTypes.ROSGraph
    • ClockMessage
  • ZO.ROS.MessageTypes.Sensor
    • CameraInfoMessage
    • ImageMessage
    • ImuMessage
    • JointStateMessage
    • LaserScanMessage
    • RegionOfInterestMessage
  • ZO.ROS.MessageTypes.Std
    • DurationMessage
    • EmptyServiceRequest
    • EmptyServiceRespone
    • HeaderMessage
    • Int32Message
    • SetBoolServiceRequest
    • SetBoolServiceResponse
    • StringMessage
    • TimeMessage
  • ZO.ROS.MessageTypes.TF2
    • TFMessage
  • ZO.ROS.MessageTypes.Trajectory
    • JointTrajectoryMessage
    • JointTrajectoryPointMessage
  • ZO.ROS.MessageTypes.ZOSim
    • ZOSimDeleteModelRequest
    • ZOSimDeleteModelResponse
    • ZOSimPrefabSpawnRequest
    • ZOSimPrefabSpawnResponse
    • ZOSimSpawnServiceRequest
    • ZOSimSpawnServiceResponse
  • ZO.ROS.Publisher
    • ZOROSImagePublisher
    • ZOROSIMUPublisher
    • ZOROSIMUPublisher.CoordinateSystemEnum
    • ZOROSJointStatesPublisher
    • ZOROSLaserScanPublisher
    • ZOROSRGBDepthPublisher
    • ZOROSStereoImagePublisher
    • ZOROSTransformPublisher
  • ZO.ROS.Unity
    • ZOROSUnityGameObjectBase
    • ZOROSUnityInterface
    • ZOROSUnityManager
    • ZOROSUnityManager.ROSBridgeConnectionChangeHandler
  • ZO.ROS.Unity.Docker
    • ZOROSLaunchParameters
  • ZO.ROS.Unity.Service
    • ZOControllerManagerService
    • ZOSimDeleteModelService
    • ZOSimPrefabSpawnService
    • ZOSimResetSimulationService
    • ZOSimSpawnService
  • ZO.Sensors
    • ZOContactDetector
    • ZOContactSwitchDualChannel
    • ZOIMU
    • ZOLIDAR2D
    • ZOLIDAR3D
    • ZOLIDAR3D.ReferenceFrame
    • ZORaycastJobBatch
    • ZORGBCamera
    • ZORGBDepthCamera
    • ZORGBDepthCamera.FrameOutputType
  • ZO.Util
    • ZOCenterOfMass
    • ZOClock
    • ZODocker
    • ZODocker.VolumeMapEntry
    • ZODockerRunParameters
    • ZODrawArc
    • ZODrawCircle
    • ZOEarthUtils
    • ZOEarthUtils.GeoPoint
    • ZOEarthUtils.HomeGeoPoint
    • ZOFrequencyCounter
    • ZOFrequencyCounter.TimeSourceType
    • ZOGameObjectBase
    • ZOMagnetometer
    • ZOMoveTest
    • ZOMoveTest.MoveTypeEnum
    • ZORandomizePhysics
    • ZORandomizeTransform
    • ZOReadOnlyAttribute
    • ZOSystem
    • ZOTurnOffSelfCollision
  • ZO.Util.Extensions
    • ZOJSONExtensions
  • ZO.Util.Rendering
    • ZOAsyncGPUReadbackPlugin
    • ZOAsyncGPUReadbackPluginRequest

Class ZOArmController

Controller for executing joint-space trajectories on a group of joints. Trajectories are specified as a set of waypoints to be reached at specific time instants, which the controller attempts to execute as well as the mechanism allows. Waypoints consist of positions, and optionally velocities and accelerations.

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
ZOGameObjectBase
ZOROSUnityGameObjectBase
ZOArmController
Implements
ZOROSUnityInterface
ZOSerializationInterface
ZOROSControllerInterface
Inherited Members
ZOROSUnityGameObjectBase._ROSTopic
ZOROSUnityGameObjectBase.ROSTopic
ZOROSUnityGameObjectBase.ROSBridgeConnection
ZOROSUnityGameObjectBase.ROSUnityManager
ZOROSUnityGameObjectBase._name
ZOROSUnityGameObjectBase.Name
ZOROSUnityGameObjectBase._json
ZOROSUnityGameObjectBase.JSON
ZOROSUnityGameObjectBase.DocumentRoot
ZOGameObjectBase._updateRateHz
ZOGameObjectBase.UpdateRateHz
ZOGameObjectBase.UpdateTimeSeconds
ZOGameObjectBase._debug
ZOGameObjectBase.IsDebug
ZOGameObjectBase.NextUpdateTime
ZOGameObjectBase.NextFixedUpdateTime
ZOGameObjectBase.ZOUpdate()
ZOGameObjectBase.ZOFixedUpdate()
ZOGameObjectBase.ZOUpdateHzSynchronized()
ZOGameObjectBase.StartHZEnforcedCoroutine(Action)
UnityEngine.MonoBehaviour.IsInvoking()
UnityEngine.MonoBehaviour.CancelInvoke()
UnityEngine.MonoBehaviour.Invoke(System.String, System.Single)
UnityEngine.MonoBehaviour.InvokeRepeating(System.String, System.Single, System.Single)
UnityEngine.MonoBehaviour.CancelInvoke(System.String)
UnityEngine.MonoBehaviour.IsInvoking(System.String)
UnityEngine.MonoBehaviour.StartCoroutine(System.String)
UnityEngine.MonoBehaviour.StartCoroutine(System.String, System.Object)
UnityEngine.MonoBehaviour.StartCoroutine(System.Collections.IEnumerator)
UnityEngine.MonoBehaviour.StartCoroutine_Auto(System.Collections.IEnumerator)
UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator)
UnityEngine.MonoBehaviour.StopCoroutine(UnityEngine.Coroutine)
UnityEngine.MonoBehaviour.StopCoroutine(System.String)
UnityEngine.MonoBehaviour.StopAllCoroutines()
UnityEngine.MonoBehaviour.print(System.Object)
UnityEngine.MonoBehaviour.useGUILayout
UnityEngine.MonoBehaviour.runInEditMode
UnityEngine.Behaviour.enabled
UnityEngine.Behaviour.isActiveAndEnabled
UnityEngine.Component.GetComponent(System.Type)
UnityEngine.Component.GetComponent<T>()
UnityEngine.Component.TryGetComponent(System.Type, UnityEngine.Component)
UnityEngine.Component.TryGetComponent<T>(T)
UnityEngine.Component.GetComponent(System.String)
UnityEngine.Component.GetComponentInChildren(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInChildren(System.Type)
UnityEngine.Component.GetComponentInChildren<T>(System.Boolean)
UnityEngine.Component.GetComponentInChildren<T>()
UnityEngine.Component.GetComponentsInChildren(System.Type, System.Boolean)
UnityEngine.Component.GetComponentsInChildren(System.Type)
UnityEngine.Component.GetComponentsInChildren<T>(System.Boolean)
UnityEngine.Component.GetComponentsInChildren<T>(System.Boolean, System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponentsInChildren<T>()
UnityEngine.Component.GetComponentsInChildren<T>(System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponentInParent(System.Type)
UnityEngine.Component.GetComponentInParent<T>()
UnityEngine.Component.GetComponentsInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentsInParent(System.Type)
UnityEngine.Component.GetComponentsInParent<T>(System.Boolean)
UnityEngine.Component.GetComponentsInParent<T>(System.Boolean, System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponentsInParent<T>()
UnityEngine.Component.GetComponents(System.Type)
UnityEngine.Component.GetComponents(System.Type, System.Collections.Generic.List<UnityEngine.Component>)
UnityEngine.Component.GetComponents<T>(System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponents<T>()
UnityEngine.Component.CompareTag(System.String)
UnityEngine.Component.SendMessageUpwards(System.String, System.Object, UnityEngine.SendMessageOptions)
UnityEngine.Component.SendMessageUpwards(System.String, System.Object)
UnityEngine.Component.SendMessageUpwards(System.String)
UnityEngine.Component.SendMessageUpwards(System.String, UnityEngine.SendMessageOptions)
UnityEngine.Component.SendMessage(System.String, System.Object)
UnityEngine.Component.SendMessage(System.String)
UnityEngine.Component.SendMessage(System.String, System.Object, UnityEngine.SendMessageOptions)
UnityEngine.Component.SendMessage(System.String, UnityEngine.SendMessageOptions)
UnityEngine.Component.BroadcastMessage(System.String, System.Object, UnityEngine.SendMessageOptions)
UnityEngine.Component.BroadcastMessage(System.String, System.Object)
UnityEngine.Component.BroadcastMessage(System.String)
UnityEngine.Component.BroadcastMessage(System.String, UnityEngine.SendMessageOptions)
UnityEngine.Component.transform
UnityEngine.Component.gameObject
UnityEngine.Component.tag
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfType(System.Type, System.Boolean)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type, System.Boolean)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ZO.ROS.Controllers
Assembly: Unity.ZeroSim.dll
Syntax
[RequireComponent(typeof(ZOROSJointStatesPublisher))]
public class ZOArmController : ZOROSUnityGameObjectBase, ZOROSUnityInterface, ZOSerializationInterface, ZOROSControllerInterface

Properties

| Improve this Doc View Source

ActionMessage

Declaration
public FollowJointTrajectoryActionMessage ActionMessage { get; }
Property Value
Type Description
FollowJointTrajectoryActionMessage
| Improve this Doc View Source

ActionServer

The ROS Action server that handles arm movement goal messaging. (readonly)

Declaration
public ZOROSActionServer<FollowJointTrajectoryActionMessage, FollowJointTrajectoryActionGoal> ActionServer { get; }
Property Value
Type Description
ZOROSActionServer<FollowJointTrajectoryActionMessage, FollowJointTrajectoryActionGoal>
| Improve this Doc View Source

ControllerName

Declaration
public string ControllerName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ControllerState

Returns controller state of Stopped, Initialize, or Running

Declaration
public ControllerStateEnum ControllerState { get; }
Property Value
Type Description
ControllerStateEnum
| Improve this Doc View Source

ControllerStateMessage

Build a ControllerStateMessage for the controller manager. Basically just lists all the joints for this arm controller.

Declaration
public ControllerStateMessage ControllerStateMessage { get; }
Property Value
Type Description
ControllerStateMessage
| Improve this Doc View Source

ControllerType

Declaration
public string ControllerType { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

HardwareInterface

Declaration
public string HardwareInterface { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

JointNames

Get an array of Joint names.

Declaration
public string[] JointNames { get; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

Joints

Get all the joints that are children of this arm controller.
Joints must implement the ZOJointInterface. Fixed joints are ignored.

Declaration
public ZOJointInterface[] Joints { get; }
Property Value
Type Description
ZOJointInterface[]
| Improve this Doc View Source

Type

Declaration
public override string Type { get; }
Property Value
Type Description
System.String
Overrides
ZOROSUnityGameObjectBase.Type

Methods

| Improve this Doc View Source

Deserialize(ZOSimDocumentRoot, JObject)

Declaration
public override void Deserialize(ZOSimDocumentRoot documentRoot, JObject json)
Parameters
Type Name Description
ZOSimDocumentRoot documentRoot
Newtonsoft.Json.Linq.JObject json
Overrides
ZOROSUnityGameObjectBase.Deserialize(ZOSimDocumentRoot, JObject)
| Improve this Doc View Source

GetJointByName(String)

Get Joint given its string name

Declaration
public ZOJointInterface GetJointByName(string name)
Parameters
Type Name Description
System.String name

The name of the joint

Returns
Type Description
ZOJointInterface

ZOJointInterface

| Improve this Doc View Source

GetJointPositionsAtTimeSeconds(JointTrajectoryPointMessage[], Single)

Declaration
protected double[] GetJointPositionsAtTimeSeconds(JointTrajectoryPointMessage[] points, float timeSeconds)
Parameters
Type Name Description
JointTrajectoryPointMessage[] points
System.Single timeSeconds
Returns
Type Description
System.Double[]
| Improve this Doc View Source

LoadController()

Implements ROS Controller Load

Declaration
public void LoadController()
| Improve this Doc View Source

OnControlMessageReceived(ZOROSBridgeConnection, ZOROSMessageInterface)

This responds to a "simple" JointTrajectoryMessage. This is usually seen in the simple RQT joint controller but NOT used by MoveIt.

Declaration
public Task OnControlMessageReceived(ZOROSBridgeConnection rosBridgeConnection, ZOROSMessageInterface msg)
Parameters
Type Name Description
ZOROSBridgeConnection rosBridgeConnection
ZOROSMessageInterface msg
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

OnROSBridgeConnected(ZOROSUnityManager)

Declaration
public override void OnROSBridgeConnected(ZOROSUnityManager rosUnityManager)
Parameters
Type Name Description
ZOROSUnityManager rosUnityManager
Overrides
ZOROSUnityGameObjectBase.OnROSBridgeConnected(ZOROSUnityManager)
| Improve this Doc View Source

OnROSBridgeDisconnected(ZOROSUnityManager)

Declaration
public override void OnROSBridgeDisconnected(ZOROSUnityManager rosUnityManager)
Parameters
Type Name Description
ZOROSUnityManager rosUnityManager
Overrides
ZOROSUnityGameObjectBase.OnROSBridgeDisconnected(ZOROSUnityManager)
| Improve this Doc View Source

Serialize(ZOSimDocumentRoot, Object)

Declaration
public override JObject Serialize(ZOSimDocumentRoot documentRoot, Object parent = null)
Parameters
Type Name Description
ZOSimDocumentRoot documentRoot
UnityEngine.Object parent
Returns
Type Description
Newtonsoft.Json.Linq.JObject
Overrides
ZOROSUnityGameObjectBase.Serialize(ZOSimDocumentRoot, Object)
| Improve this Doc View Source

StartController()

Declaration
public void StartController()
| Improve this Doc View Source

StopController()

Declaration
public void StopController()
| Improve this Doc View Source

UnloadController()

Implements ROS Controller Unload

Declaration
public void UnloadController()
| Improve this Doc View Source

ZOAwake()

Declaration
protected override void ZOAwake()
Overrides
ZOGameObjectBase.ZOAwake()
| Improve this Doc View Source

ZOFixedUpdateHzSynchronized()

Declaration
protected override void ZOFixedUpdateHzSynchronized()
Overrides
ZOGameObjectBase.ZOFixedUpdateHzSynchronized()
| Improve this Doc View Source

ZOOnDestroy()

Declaration
protected override void ZOOnDestroy()
Overrides
ZOROSUnityGameObjectBase.ZOOnDestroy()
| Improve this Doc View Source

ZOOnGUI()

Declaration
protected override void ZOOnGUI()
Overrides
ZOGameObjectBase.ZOOnGUI()
| Improve this Doc View Source

ZOReset()

Declaration
protected override void ZOReset()
Overrides
ZOROSUnityGameObjectBase.ZOReset()
| Improve this Doc View Source

ZOStart()

Declaration
protected override void ZOStart()
Overrides
ZOROSUnityGameObjectBase.ZOStart()

Implements

ZOROSUnityInterface
ZOSerializationInterface
ZOROSControllerInterface
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX