Musings – cevinius http://www.cevinius.com Games, Robots... and Stuff. Sun, 11 Dec 2016 12:40:59 +0000 en-US hourly 1 https://wordpress.org/?v=5.0.3 http://www.cevinius.com/wp-content/uploads/2015/09/cropped-MobBobIcon-32x32.png Musings – cevinius http://www.cevinius.com 32 32 Updates to Apps and MobBob parts soon! http://www.cevinius.com/2016/02/01/updates-to-apps-and-mobbob-parts-soon/ http://www.cevinius.com/2016/02/01/updates-to-apps-and-mobbob-parts-soon/#respond Mon, 01 Feb 2016 12:44:00 +0000 http://www.cevinius.com/?p=251 Continue reading Updates to Apps and MobBob parts soon! ]]> Sorry I have not been posting much recently. I just moved to a new apartment and have only just recently setup my “lab” again. (The new space is much, much better!)

NewLab

Now that I’m settled into the new place, I’ll be doing app updates and designing new robots again. 😀

I have been working on some hardware updates to MobBob and I’ll post details (and STLs) soon!! Here’s a sneak peak of this update… This MobBob iteration has a Nexus 6 phone holder (Phablet!) and with a newly designed case for the Bluno Beetle to keep the wires hidden away and tidied up!

MobBob-Black1

MobBob-Black2MobBob-Black4MobBob-Black3

]]>
http://www.cevinius.com/2016/02/01/updates-to-apps-and-mobbob-parts-soon/feed/ 0
MobBob and other bodies! http://www.cevinius.com/2016/01/09/mobbob-and-other-bodies/ http://www.cevinius.com/2016/01/09/mobbob-and-other-bodies/#comments Sat, 09 Jan 2016 00:15:44 +0000 http://www.cevinius.com/?p=243 Continue reading MobBob and other bodies! ]]> This post is a discussion and thoughts on using MobBob with other bodies.

Cliff posted the following question in the comments section:

Dear Cervinus;

I am developing a robot based off of the poppy robot chassis. I am not using the expensive dynamixel motors and am beating my head against the wall trying to learn programing. Sort of cart before the horse issues mostly. I’m switching gears and going to build a simpler biped to learn more.

I like the autonomous aspects of your robot and the voice recognition, vision from camera and usage of smartphone sensors etc in your app. Granted this is an as I learn more question can the app be modified to add more leg servos and arms gripper? Is that all in the arduino code or the android app as well?

Awesome project can’t watch to get started and have my Samsung s4 dance around on the table.

Thanks

Cliff

I started writing a reply in the comments section… but it got fairly long and I started including some information that might be useful for other people who may be thinking about other bodies for MobBob. (E.g. Earlier in the week, I saw a MobBob remix on Thingiverse (created by user Zalophus) with arms!)

So, I decided to turn the answer into a post.

Hi Cliff,

If you are learning programming at the same time, I think a simpler biped is a good choice. I think getting Poppy to walk and balance will be very challenging. (It seems like Poppy’s developers are continuing to work on it too.) A simpler biped like MobBob still takes fair amount of programming, but at least you don’t need to worry about balance that much. It’s mostly about smooth motions.

The way I have divided the code up in MobBob is as follows.

The Arduino receives “high level” commands from the app and handles all the details of movement. For example, its command set includes things like “Take a step forward”, “Take a step to the left”, “Bounce up and down, three times”, etc. The app sends these commands to the arduino, and the Arduino code will smoothly drive the servos to do that animation/action.

(Note: The Arduino code does have a command for moving the servos to specific positions. So in theory, an app could make MobBob move in new sequences that are not in the Arduino code’s command set. However, I think this is a harder way to do things unless the app specifically requires dynamic movement sequences that are composed at run time.)

Because the Arduino code handles the details of movement (e.g. how to move the legs to take a step), the app doesn’t need to worry about those details and can focus on interactions with the user. The app’s job is to handle the vision, voice recognition, touch screen interactions. It then sends commands to the Arduino to get MobBob to move when needed.

(Note: It is also possible for the app to request the Arduino to send back sensor readings (e.g. for a distance sensor connected to the Arduino), but I’m not using this currently.)

This is not the only way to divide up the responsibilities between Arduino and App, but I’ve chosen this way for MobBob as I wanted to make it easier/quicker for people to develop new MobBob apps.

With this architecture, people can develop a new app for MobBob without worrying about the details of how to get MobBob to walk, etc. The app developer only need to focus on AI in the app and how the app should interact with the user.

So… with that background information… I’ll return to your question…

Theoretically, if you have a different bipedal body (e.g. more joints on the legs, moving arms, etc), you could write new Arduino code which understands the same command set as MobBob. (E.g. take a step forward, bounce up and down, etc) If you then use the existing app, when the app sends the Arduino command to take a step forward, the Arduino can interpret that command in its own way and take the step in the way that’s suitable for its new body.

This means it should be possible to use the existing app with other bodies.

If the arm movements are purely for fun, they could be included in some of the existing commands. E.g. the command to “Bounce up and down” can now make him also move his arms up and down at the same time as his legs.

If there is a need for new, specific arm movements (e.g. do a grabbing motion), then the app will need to be updated as it doesn’t currently know about that command.

Of course, when building robots, there are always hiccups… different bodies means different durations for steps, turning different amounts, etc… So, some tweaks to the app will probably be needed…

In my grand vision of “How Cevinius Takes Over the World”… I would like something akin to the MobBob command set and the way of transmitting them (e.g. Bluetooth) to become some sort of “standard”. Then people could create a bunch of different bodies that can understand those commands, and create a bunch of apps that drive the bodies using those commands… With a standard command set in place, these different Apps and Bodies should mix and play together mostly.

It would allow robotics-oriented people to focus on creating cool new bodies (and write Arduino code to drive those).

It would let AI/game/application-oriented people  focus on creating fun, awesome apps for robots.

With a standard in place… you could potentially use an app created by one developer together with the body created by another developer.

However as I said before, there will no doubt be hiccups (i.e. problems to solve) before we can have this Utopia where installing a new robotics apps onto your custom robot is no harder than installing a new phone app onto your specific-model phone… but I think working towards something like this would be fantastic.

Sorry for the long rant… I hope that answers your question? If not, post below and I’ll try again!

Cevinius

]]>
http://www.cevinius.com/2016/01/09/mobbob-and-other-bodies/feed/ 2
What the world needs… is another blog! http://www.cevinius.com/2015/08/14/what-the-world-needs-is-another-blog/ http://www.cevinius.com/2015/08/14/what-the-world-needs-is-another-blog/#respond Fri, 14 Aug 2015 17:00:26 +0000 http://www.cevinius.com/?p=4 Continue reading What the world needs… is another blog! ]]> While I know the statement above to be inherently untrue, I must have believed that at some point this evening, for I presently find myself, at this very instant, creating a blog.

This blog will primarily serve as a place where I confess my obsession with making robots. However, I get distracted easily and have lots of interests… So, non-robotic thoughts may overflow into this space at one point or another.

]]>
http://www.cevinius.com/2015/08/14/what-the-world-needs-is-another-blog/feed/ 0