public class PoseStamped extends Message
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_HEADER
The name of the header field for the message.
|
static String |
FIELD_POSE
The name of the pose field for the message.
|
static String |
TYPE
The message type.
|
EMPTY_MESSAGEEMPTY_JSON| Constructor and Description |
|---|
PoseStamped()
Create a new PoseStamped with all 0s.
|
PoseStamped(Header header,
Pose pose)
Create a new PoseStamped with the given values.
|
| Modifier and Type | Method and Description |
|---|---|
PoseStamped |
clone()
Create a clone of this PoseStamped.
|
static PoseStamped |
fromJsonObject(javax.json.JsonObject jsonObject)
Create a new PoseStamped based on the given JSON object.
|
static PoseStamped |
fromJsonString(String jsonString)
Create a new PoseStamped based on the given JSON string.
|
static PoseStamped |
fromMessage(Message m)
Create a new PoseStamped based on the given Message.
|
Header |
getHeader()
Get the header value of this pose.
|
Pose |
getPose()
Get the pose value of this pose.
|
getMessageType, setMessageTypeequals, hashCode, toJsonObject, toStringpublic static final String FIELD_HEADER
public static final String FIELD_POSE
public static final String TYPE
public Header getHeader()
public Pose getPose()
public PoseStamped clone()
public static PoseStamped fromJsonString(String jsonString)
jsonString - The JSON string to parse.public static PoseStamped fromMessage(Message m)
m - The Message to parse.public static PoseStamped fromJsonObject(javax.json.JsonObject jsonObject)
jsonObject - The JSON object to parse.Copyright © 2014. All rights reserved.