Class ZOSimSpawnServiceRequest
Spawn a zerosim model service request
string model_name # name of the model to be spawn
string model_zosim # this should be an .zosim json file all in text
string robot_namespace # spawn robot and all ROS interfaces under this namespace
geometry_msgs/Pose initial_pose # only applied to canonical body
string reference_frame # initial_pose is defined relative to the frame of this model/body
# if left empty or "world", then zerosim world frame is used
# if non-existent model/body is specified, an error is returned
# and the model is not spawned
---
bool success # return true if spawn successful
string status_message # comments if available
Inheritance
System.Object
ZOSimSpawnServiceRequest
Implements
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.ROS.MessageTypes.ZOSim
Assembly: Unity.ZeroSim.dll
Syntax
public class ZOSimSpawnServiceRequest : ZOROSMessageInterface
Constructors
| Improve this Doc View SourceZOSimSpawnServiceRequest()
Declaration
public ZOSimSpawnServiceRequest()
ZOSimSpawnServiceRequest(String, String, PoseMessage, String)
Declaration
public ZOSimSpawnServiceRequest(string model_name, string model_xml, PoseMessage initial_pose, string reference_frame)
Parameters
Type | Name | Description |
---|---|---|
System.String | model_name | |
System.String | model_xml | |
PoseMessage | initial_pose | |
System.String | reference_frame |
Properties
| Improve this Doc View Sourceinitial_pose
only applied to canonical body
Declaration
public PoseMessage initial_pose { get; set; }
Property Value
Type | Description |
---|---|
PoseMessage |
MessageType
Declaration
[JsonIgnore]
public string MessageType { get; }
Property Value
Type | Description |
---|---|
System.String |
model_name
name of the model to be spawn
Declaration
public string model_name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
model_zosim
this should be an zosim json string
Declaration
public string model_zosim { get; set; }
Property Value
Type | Description |
---|---|
System.String |
reference_frame
initial_pose is defined relative to the frame of this model/body if left empty or "world", then gazebo world frame is used if non-existent model/body is specified, an error is returned and the model is not spawned
Declaration
public string reference_frame { get; set; }
Property Value
Type | Description |
---|---|
System.String |
robot_namespace
spawn robot and all ROS interfaces under this namespace
Declaration
public string robot_namespace { get; set; }
Property Value
Type | Description |
---|---|
System.String |