konsdor
konsdor
EV3 does not support EAAccessory over WiFi. But I was able to connect to EV3 though simple terminal program https://github.com/anoop4real/SocketSwiftSample. Now I don't know how to replace EAAssesory with DataSocket.
I tried this, but it doesn't work: import Foundation import ExternalAccessory public protocol Ev3ConnectionChangedDelegate: class { func ev3ConnectionChanged(connected: Bool) } public class Ev3Connection : NSObject, StreamDelegate { //var accessory: EAAccessory...
For testing I created ViewControllerWiFi and BT class and I was able to send commands to ev3 using socketConnector.sendu(message: byteArray) where byteArray is a direct command written as [UInt8]. But...
Thank you! I thought I can just change EV3Connection and leave Ev3Brick as it is.
I found an example from Apple https://developer.apple.com/documentation/vision/tracking_multiple_objects_or_rectangles_in_video ? that works nice with object tracking in video. It would be nice to find some way to replace their video player with...