ROSDK .NET Server from command-line

i’ve created a new command line project with VS and added a simple rosdk server like the rosdk project template.

if i start the server from cl, the server display a rosdk info window. how can i prevent this?

Use the --console switch.

Hello

As far as I understood you used the ApplicationServer class in your console app. The issue is that this class and its underlying infrastructure are actually not intended to be added to an existing application. It ismore like an application platform by itself.

There are 2 possible solutions in your case:

  • To use the ApplicationServer class cutting down unneeded features
  • To add the server infrastructure by yourself (it is not as comples as it might sound).
    I’ll provide the sample code for the 2nd option in a few

Regards

Hre is the sample server: ServerConsoleApplication.zip (5.7 KB)

OK, Thank you, I’ll have a look.