BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
363 stars 129 forks source link

Interfacing USB #1805

Open BrandonMitch opened 1 year ago

BrandonMitch commented 1 year ago

I am having trouble trying to build a plugin to interface with a satellite or Arduino through a USB cable. This is my first time trying to use COSMOS or Ruby and I don't really understand what to do. I've tried reading the documentation but it is rasing more questions than answers. Here is the plugin I built.

'# Set VARIABLEs here to allow variation in your plugin

VARIABLE auris_target_name AURIS '# Modify this according to your actual target connection TARGET AURIS <%= auris_target_name %> INTERFACE <%= auris_target_name %>_USB serial_interface.rb COM5 COM5 9600 EVEN 1 10 10 MAP_TARGET <%= auris_target_name %>

Here is the error that I get when I try to run it within COSMOS:

AURIS_USB: ENOENT : No such file or directory @ rb_sysopen - COM5

Any help would be greatly appreciated, thanks!

Shivaraj199 commented 5 months ago

Is there any update on this issue?

ryanmelt commented 5 months ago

This project is no longer maintained. Please head over to https://github.com/OpenC3/cosmos

Windows COM ports do not exist inside of linux docker containers. You need to use a bridge. Please see: https://docs.openc3.com/docs/guides/bridges