Cnc library focas on NODE RED - dll

I ask how can I connect a Cnc machine to Node red. This machine use focas library to comunication.
I've tryed to install focas library on Node red, but it doesn't work...
How can I do to read values from machine?

Related

Joint simulation using webots under windows and ros under WSL

I'm recently trying to convert my work to WSL2, However, I ran into difficulties when I tried to install webots in windows and run ros_python.wbt. Webots can't find rospy.
Is there any way to make webots under windows and ros in WSL2 work together?
Thank you very much!!
I tried running ros_python.wbt in webots under windows, creating the ros node and modifying ROS_MASTER_URI and ROS_HOSTNAME in runtime.ini, establishing communication with rosmaster in WSL.
But, webots can't find rospy.
Hope you can help me find a solution for webots and ros co-simulation.

Delayed installation of downloaded packages on another computer with CMake

Is it possible to delay the installation of downloaded packages on another computer with CMake?
I know it is possible to download and install a package with CMake (ExternalProjectAdd function) on the same computer. I would like to know if it is possible to download a package on a computer and install it on another one.
I need to do this to be able to download dependencies of a software on a personal computer (internet connexion, root privilege) and then move to a cluster (no internet connexion, no root privilege) to install the software and its dependencies.
EDIT: here is an example of my problem.
CMake is used to generate a code X. This code depends on a library Y available on the Internet. I want to generate X on a cluster with no Internet connexion and no root privilege. Therefore, I cannot download Y from this cluster (no Internet connexion) and I cannot install it from a package manager (no root privilege). I need to download Y from another computer (personal computer).
My question is "How could I download Y from a personal computer and then generate X on this cluster with CMake?".

I installed KVM via synaptic from Ubuntu repositories, and now my computer won't boot.

2 week old Ubuntu 18.04 install.
As a requirement of running a android device emulator for Android studio, I had to install KVM, so I installed it (the exact package name was kvm, it had some dependencies), and now my computer won't boot. It just sits there with a purple screen.
No keyboard or mouse input has any effect (including REISUB).
I have googled and nothing relevant comes up (it's all about booting VMs, understandably).
I have no idea what to do, especially since I cannot interact directly with my OS.
I still have my boot stick (that I used to install 18.04), and I can boot off that.
Turns out that installing linux-kvm actually doesn't install a VM program, it just installs another kernal that's obsolete, puts it at the top of the grub list, and that's how it breaks your computer.
I fixed it by using boot-repair (https://help.ubuntu.com/community/Boot-Repair).

Connect to WiFi from QML

Is it possible to connect to WiFi from QML (without writing some C++ code)?
According to this article it is possible. And this article starts right away with import B2Qt.Wifi 1.0, implying that such module is available, but I get an error module "B2Qt.Wifi" is not installed.
I have a commercial Qt 5.7 and I installed all the components, so it should be there. However, there is no module with such name in the entire installation directory.
I tried to do it on Windows and Linux with the same result.
Maybe I need to download this module from somewhere else? That would be weird though.
B2Qt means 'Boot to Qt'. It's for the devices where you prepare an image and then flash it onto the device.
So, it uses a specific network manager that is built into that image. And there is a B2Qt.Wifi module to configure that specific network manager.
I think it won't work with the network managers on desktop Linux, Mac or Windows.

BeagleBone Black ide configuration on windows

i need a kickstart with beaglebone black on windows.
I' want to run my first helloworld on this device, using CodeComposer and Crosstool incoming with this.
I've the AngStrom default distro now, i can connect with ssh and running the gcc toolchain,
I've compiled a simple helloworld, with nano and gcc on beagle.
But now i want to compile HelloWorld from windows IDE and next execute on the BBB.
Thanks.
I found the following two videos very informative in developing code on Windows for a BeagleBone Black target device:
Derek Molloy has a series of videos on BeagleBone development, this one (second in a series) describes the cross-development process albeit from a Linux host: http://www.youtube.com/watch?v=vFv_-ykLppo
This video in particular was useful for me to get my Windows 7 x64 host using Eclipse (Kepler edition) working as an IDE for my BeagleBone Black project: http://www.youtube.com/watch?v=I667-sAzzZg
Hope that helps.
If you have Visual Studio you can use VisualGDB plug in for it. It works for BBB and the Pi.
No need for a VM, eclipse and all the steps involved.
However with the above VisualGDB plug in, compilation happens on the remote device so if you have a large project, it will take awhile to compile.