Class SpawnModelServiceRequest
Spawn a model service request See: http://docs.ros.org/jade/api/gazebo_msgs/html/srv/SpawnModel.html
Inheritance
System.Object
SpawnModelServiceRequest
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.Gazebo
Assembly: Unity.ZeroSim.dll
Syntax
public class SpawnModelServiceRequest : ZOROSMessageInterface
Constructors
| Improve this Doc View SourceSpawnModelServiceRequest()
Declaration
public SpawnModelServiceRequest()
SpawnModelServiceRequest(String, String, PoseMessage, String)
Declaration
public SpawnModelServiceRequest(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_xml
this should be an urdf or gazebo xml
Declaration
public string model_xml { 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 |