Files
iFactory.Godot/Artists/Scripts/Factory/ROSClientService.cs
CortexCore bf122c66dc readme
2023-06-19 00:41:44 +08:00

15 lines
363 B
C#

using Godot;
using RosSharp.RosBridgeClient.Protocols;
namespace BITKit;
/// <summary>
/// 使用Godot.Node作为容器的RosClient
/// </summary>
public partial class ROSClientService : Node
{
public override void _Ready()
{
WebSocketNetProtocol protocol = new("ws://");
RosSharp.RosBridgeClient.RosSocket client = new(protocol);
}
}