Yamcs gateway quickstart (ygw)

45 views
Skip to first unread message

Rita Misinszki

unread,
Jun 4, 2025, 6:56:44 AMJun 4
to yamcs
Hi everyone,

I'm currently getting familiar with the Yamcs Gateway and trying to run the quickstart project — I could use a bit of help with that. First of all, is it possible to run and develop it on a Windows system, or should I use WSL instead? Can I ask for a brief guide on how to get it up and running? I'm still quite new to both Yamcs and Rust.

Thanks in advance!

Nicolae Mihalache

unread,
Jun 4, 2025, 10:11:53 AMJun 4
to ya...@googlegroups.com
Hi Rita,

I don't know if it works on Windows, never used Rust on Windows but theoretically should be one of their well supported platforms.

What happens if you install Rust via rustup:
https://www.rust-lang.org/tools/install

and then run a cargo install in the quickstart directory?

The way to go is to copy that quickstart project somewhere else, rename it to a meaningful name for your project and I guess develop new nodes to do something that you need.

Can you share more info about your project?

If you are new to Rust, I suggest you reserve a good 1-2 months to learn it because it is not so straightforward.

nicolae

--
You received this message because you are subscribed to the Google Groups "yamcs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yamcs+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/yamcs/cc3e6cff-8a47-4527-8134-1021d47ef225n%40googlegroups.com.

Rita Misinszki

unread,
Jun 17, 2025, 10:03:47 AMJun 17
to yamcs
Hi Nicolae!

Yes, I had a learning period to get familiar with Rust and it works under Windows. Actually, I can not run the yamcs gateway, it doesn't work on windows. As I see the errors the ygw-mil1553 crate uses the neli library, which is Linux-specific, and that is causing the issues.
Is it possible to disable this library?

Thanks, 
Rita

Nicolae Mihalache

unread,
Jun 17, 2025, 10:26:37 AMJun 17
to ya...@googlegroups.com
I don't see any usage of neli in ygw-mil1553, I see however when I run a "cargo tree" in the quickstart directory, there is a dependency of neli in the socketcan module.

I imagine the whole socketcan is Linux only, so you can get rid of it from the quickstart.

I don't know what you are trying to achieve.


Rita Misinszki

unread,
Jun 17, 2025, 10:59:54 AMJun 17
to yamcs
 Yes, you're right, my mistake. So, can the socketcan module be disabled?
I'd like to have a clean starting project so I can create my own implementation, but at the moment I'm working on Windows, and it would be easier for me to stay on this platform.  

Thanks,
Rita

Nicolae Mihalache

unread,
Jun 17, 2025, 11:49:41 AMJun 17
to ya...@googlegroups.com
Yes, of course, you can get rid of socketcan. 
hen you also have to remove the node3 from main.rs together with any other reference to socketcan.

nicolae

Reply all
Reply to author
Forward
0 new messages