• 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 ZODocker

Inheritance
System.Object
ZODocker
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZO.Util
Assembly: Unity.ZeroSim.dll
Syntax
public static class ZODocker

Methods

| Improve this Doc View Source

DockerRun(ZODockerRunParameters)

Docker Run with docker run parameters.

Declaration
public static void DockerRun(ZODockerRunParameters runParameters)
Parameters
Type Name Description
ZODockerRunParameters runParameters
| Improve this Doc View Source

DockerRunRemoteAsync(String, String, String, String, List<ZODocker.VolumeMapEntry>, List<Int32>, List<String>, Boolean, Boolean, Boolean)

Run a remote docker. https://docs.docker.com/engine/reference/commandline/run/

Declaration
public static Task DockerRunRemoteAsync(string uri, string imageName, string containerName, string command, List<ZODocker.VolumeMapEntry> volumes = null, List<int> ports = null, List<string> environments = null, bool setupROS = false, bool setupVNC = false, bool showOutput = false)
Parameters
Type Name Description
System.String uri
System.String imageName
System.String containerName
System.String command
System.Collections.Generic.List<ZODocker.VolumeMapEntry> volumes
System.Collections.Generic.List<System.Int32> ports
System.Collections.Generic.List<System.String> environments

A list of environment variables to set inside the container.

System.Boolean setupROS

Do any ROS specific setup, such as opening up ports 9090 (ROS Bridge) and 11311 (ROS Master).

System.Boolean setupVNC

Do any VNC specific setup.

System.Boolean showOutput
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

DockerRunRemoteAsync(ZODockerRunParameters)

Run remote docker using ZODockerRunParameters.

Declaration
public static Task DockerRunRemoteAsync(ZODockerRunParameters runParameters)
Parameters
Type Name Description
ZODockerRunParameters runParameters
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

DockerRunROS(String, String, String, List<ZODocker.VolumeMapEntry>, List<Int32>, List<String>, Boolean, Boolean, Boolean)

Docker run with special ROS specific parameters. https://docs.docker.com/engine/reference/commandline/run/

Declaration
public static void DockerRunROS(string imageName, string containerName, string command, List<ZODocker.VolumeMapEntry> volumes = null, List<int> ports = null, List<string> environments = null, bool runX11 = false, bool setupROS = false, bool showOutput = false)
Parameters
Type Name Description
System.String imageName
System.String containerName
System.String command
System.Collections.Generic.List<ZODocker.VolumeMapEntry> volumes
System.Collections.Generic.List<System.Int32> ports
System.Collections.Generic.List<System.String> environments
System.Boolean runX11
System.Boolean setupROS
System.Boolean showOutput
| Improve this Doc View Source

DockerStop(String)

Stop a docker container.

Declaration
public static void DockerStop(string containerName)
Parameters
Type Name Description
System.String containerName

The name of the container.

| Improve this Doc View Source

DockerStopRemoteAsync(String, String)

Stop and remove remote docker.

Declaration
public static Task DockerStopRemoteAsync(string containerName, string uri)
Parameters
Type Name Description
System.String containerName
System.String uri
Returns
Type Description
System.Threading.Tasks.Task
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX