Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i connect with wirepod vector? #10

Open
hgedik opened this issue Jul 20, 2024 · 2 comments
Open

How can i connect with wirepod vector? #10

hgedik opened this issue Jul 20, 2024 · 2 comments

Comments

@hgedik
Copy link

hgedik commented Jul 20, 2024

How can I connect to vector connected to wirepod? Is it possible to use it this way?

@codaris
Copy link
Owner

codaris commented Jul 22, 2024

I actually do have an in-development version of this SDK that can connect to wirepod vectors. Maintaining this SDK and related applications has not been a priority and I haven't been keeping up too much on the state of wirepod so I don't know if it still works.

I really need to setup my wirepod environment and give it another test.

@hgedik
Copy link
Author

hgedik commented Jul 24, 2024

Hi codaris,

I can connect to vector on wirepod now. I'm writing about how I did it to serve as an example to others.

var robotConfiguration = new RobotConfiguration
{
    IPAddress = new IPAddress(new byte[] { X, X, X, X }), //vector ip
    RemoteHost = "http://X.X.X.X:8080/", // wirepod ip
    SerialNumber = "XXXXXXXX",  // vector serial
    RobotName = "Vector-XXXX", // vector name 
    Guid = "XXXXX", // vector guid from \AppData\Roaming\wire-pod\jdocs\botSdkInfo.json
    Certificate = "-----BEGIN CERTIFICATE-----XXXXXXXX-----END CERTIFICATE-----\n" //vector certificate from \AppData\Roaming\wire-pod\session-certs\{vectorSerial} file
};


try
{
    using (var robot = await Robot.NewConnection(robotConfiguration, 10000))
    {
        await robot.Control.RequestControl();
        await robot.Behavior.SayText("Hello World");
    }
}

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants