roslibjs icon indicating copy to clipboard operation
roslibjs copied to clipboard

Swift/iOS port?

Open ChrisPaliqaw opened this issue 4 years ago • 3 comments

I posted this question on https://groups.google.com/g/robot-web-tools, but Jihoon suggested I open an issue here:

I'm looking to contribute my iOS skills to an open source project, and I'm wondering if an iOS port of roslibjs would be valuable. Being able to directly control ROS devices using mobile devices via websockets and perhaps later with BLE could open up interesting possibilities.

An example analogous use case is the Donkey Car mobile app: http://docs.donkeycar.com/guide/mobile_app/

ChrisPaliqaw avatar Nov 11 '20 07:11 ChrisPaliqaw

We can already run roslibjs in a webview in Android or iOS. The webview would have the WebSocket API with which roslib communicates with.

Or, in other words, roslibjs is built for web, and the web runs on all devices, therefore roslibjs already can run on any device where a web browser or webview exists.

If you want to specifically port to another language, that could be a fun project. It would be more valuable for ROS in general, not necessarily valuable to roslibjs which is meant for web. F.e. you could make something like https://github.com/RobotSwiftTools/roslib.swift and whoever is interested in Swift could join you there.

trusktr avatar Sep 18 '21 01:09 trusktr

Makes sense. At any rate, I'm working on a VR project instead.

ChrisPaliqaw avatar Sep 18 '21 04:09 ChrisPaliqaw

After some quick googling I found 2 ROS2 projects that might interest you:

  • https://github.com/younata/rclSwift
  • https://github.com/atyshka/ros2_swift

Rayman avatar Sep 28 '21 08:09 Rayman