Announcing Objective C on macOS and iOS for ROS2

Yes, it’s possible to add Swift into the mix, just follow Apple’s instructions:

https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html

I targeted Objective C because it’s easier to integrate with existing code, and generating ROS2 code for it is fairly straightforward, compared to Swift. But in the end, you can just write an application in Swift and import the Objective C bindings.

1 Like