您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
753 B
22 行
753 B
using RosMessageGeneration;
|
|
using RosMessageTypes.NiryoMoveit;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using ROSGeometry;
|
|
|
|
[VisualizeMessage(typeof(MoverServiceRequest))]
|
|
public class MoverServiceRequest_Visualizer : MessageVisualizerDrawing<MoverServiceRequest>
|
|
{
|
|
public override void DrawGUI(DebugDraw.Drawing drawing, MoverServiceRequest message)
|
|
{
|
|
GUILayout.Label(message.ToString());
|
|
}
|
|
|
|
public override void Draw(DebugDraw.Drawing drawing, MoverServiceRequest message)
|
|
{
|
|
MessageVisualizations<FLU>.DrawPose(drawing, message.pick_pose, Color.cyan, "pick", 0.01f);
|
|
MessageVisualizations<FLU>.DrawPose(drawing, message.place_pose, Color.red, "place", 0.01f);
|
|
}
|
|
}
|
|
|