MindRove / MindRoveSDK

Apache License 2.0
5 stars 4 forks source link

Connect Armband to Network as a Client #10

Open justinlxiang opened 3 weeks ago

justinlxiang commented 3 weeks ago

Hi, is it possible to connect the MindRove armband to an external network as a client? I want to do this because I need to collect the data on my laptop and use that data to control a robot but I found that when the robot is connected to Mindrove as well, data cannot be collected (getting the error that resource isn't available). Is it possible to connect two devices (laptop and robot) to the Mindrove OR make the Mindrove a client to another network so my laptop can collect data and communicate with the robot.

The reason I am running my program on my laptop is because when I tried running it directly on the robot's Rasberry Pi which has ARM64 architecture, I found that mindrove is not supported and something was wrong with the libBoardController.so. Is there a fix to this so I can run on the robot? I am using mindrove==0.0.10 because that was what I trained a ML model on and I found that mindrove==0.1.0 gives me different data numbers. So lastly, what is the difference in the data from version 0.0.10 to 0.1.0?

rokaijano commented 2 weeks ago

Hi!

1) You can connect to the MindRove devices using an additional wifi adapter, this way you can use your main wifi adapter to connect to other devices. 2) You can connect one device to MindRove. Using MindRove devices as clients is possible in our newly released system, with the SyncBox . The SyncBox is connected with USB to the laptop, allowing of using your main wifi adapter to connect to other devices. 3) We are releasing new update for mindrove packages. The new version already takes care of LSB conversion ( which previously had to be done manually by the end-user ). ARM architecture is not supported through pip, however we do support it. To use the SDK on your Raspberry please use the binary files from here: aarch64

justinlxiang commented 4 days ago

I am contacting Turtlebot from Clearpath to see if I could connect to the armband from the robot's Rasberry Pi which runs on Linux. This was the response:

"Would it be possible to verify if in the user manual there are instructions for connecting the unit to a device running Linux using netplan? Alternatively you may also attempt contacting MindRove themselves https://mindrove.com/contact/ Once these details have been determined, create a custom netplan yaml file in /etc/netplan with the details shared by MindRove."

For some reason, I currently cannot connect the Turtlebot4 to the MindRove WIFI. I fixed the architecture to support ARM.

justinlxiang commented 4 days ago

Here is the direct github issue: https://github.com/turtlebot/turtlebot4/issues/440

rokaijano commented 3 days ago

I will try to reproduce the problem and get back to you.