Robotics with Swift


(Jon Hoffman) #1

Is there anyone interested in robotics with Swift? I created a Swift library named SwiftyBones (https://github.com/hoffmanjon/SwiftyBones ) for the BeagleBone Black to connect to the Digital GPIO, Analog IN and PWM pins and was interested in feedback on the library by anyone that is familiar with programming single board computers like the BeagleBone Black or Raspberry PI. I am especially interested in feedback on the modular design and if it helps or hinders development. I do have a shell script on the SwiftyBones github page that helps with compiling projects that has multiple source files.

To see how SwiftyBones can be used for robotics, I created a reference project using the SwiftBones library. The github page is here: https://github.com/hoffmanjon/SwiftyBones_BuddyBot . To see the robot in action (definitely a work in progress) you can see the video on the latest blog post: http://myroboticadventure.blogspot.com/2016/05/the-first-robot-programmed-in-swift.html

Thanks,

Jon


(Austin Zheng) #2

This is great news! I have a BBB and a RC truck I've been meaning to build
a robot out of this summer, and this gives me an option to interface with
the hardware besides the Python interface.

Brad Larson (https://twitter.com/bradlarson) works at a company called
SonoPlot that makes robots for research applications, and I believe he's
written a few blog posts on how switching to Swift made the software
driving those robots more robust (e.g.
http://www.sunsetlakesoftware.com/2014/12/02/why-were-rewriting-our-robotics-software-swift
)

Austin

···

On Sun, May 8, 2016 at 6:14 PM, Jon Hoffman via swift-users < swift-users@swift.org> wrote:

Is there anyone interested in robotics with Swift? I created a Swift
library named SwiftyBones (https://github.com/hoffmanjon/SwiftyBones )
for the BeagleBone Black to connect to the Digital GPIO, Analog IN and PWM
pins and was interested in feedback on the library by anyone that is
familiar with programming single board computers like the BeagleBone Black
or Raspberry PI. I am especially interested in feedback on the modular
design and if it helps or hinders development. I do have a shell script on
the SwiftyBones github page that helps with compiling projects that has
multiple source files.

To see how SwiftyBones can be used for robotics, I created a reference
project using the SwiftBones library. The github page is here:
https://github.com/hoffmanjon/SwiftyBones_BuddyBot . To see the robot in
action (definitely a work in progress) you can see the video on the latest
blog post:
http://myroboticadventure.blogspot.com/2016/05/the-first-robot-programmed-in-swift.html

Thanks,

Jon

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users