Interaction

4 replies [Last post]
JamesL
JamesL's picture
Title: MiniBot+
Joined: 07/03/2009
Posts:
BotPoints: 55
User offline. Last seen 8 years 20 weeks ago.

Okay, I know that you haven't been able to get interaction working the way you want it to, but at the feedback session you did mention that wrapping an int main around did work but was slow. It would be nice to have a slow interaction rather than none at all, no offense.

matthewbot
Title: YAC
Joined: 04/12/2009
Posts:
BotPoints: 94
User offline. Last seen 7 years 21 weeks ago.

By slow, they really meant that the only time you'd save from the regular download->compile->run cycle is you having to manually push the run button..

On the other hand, if your up to new things, CBCLua offers a quick and simple wireless interaction tool that can run code immediately, while in the Hacking the CBC paper you can also wirelessly interaction through a debugging session powered by gdb. In short, if your willing to branch out, interaction can be accomplished, but you'll likely need a wireless card first.

--
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.

Albert Einstein

Project Quadcopter: http://quadcopter.wordpress.com/

JamesL
JamesL's picture
Title: MiniBot+
Joined: 07/03/2009
Posts:
BotPoints: 55
User offline. Last seen 8 years 20 weeks ago.

Oh, ok, I didn't notice they meant that, thanks. And yes, i went to those sessions and heard about that, but there are people who may be a little scared about hacking the CBC and was just wondering about that.

Jeremy Rand
Jeremy Rand's picture
Title: Botball Youth Advisory Council
Joined: 04/03/2009
Posts:
BotPoints: 1168
User offline. Last seen 2 years 29 weeks ago.

I can't speak for CBCLua since I haven't installed it, but the Norman/Nease Mod Installer is quite easy to use. Since it doesn't touch /mnt/usb, it should be relatively safe as well; if something screws up, you should be able to reflash an official firmware and have it fixed. The main danger of CBC hacking is typing random junk into an SSH prompt to see what happens, or editing the /mnt/usb/userhook0 file or anything on the Chumby NAND. Doing those things is dangerous if you don't know what you're doing, but we don't believe the Norman/Nease installer to do anything dangerous by itself. The disclaimer on the installer is mainly just to cover us legally; to the best of our knowledge it shouldn't cause damage. We've been using it on all our CBC's here at Norman High for a couple months, and we've experienced no problems.

Of course, if it does do something unexpected and cause damage, Norman and Nease disclaim any responsibility. (But please do let us know about any issues you might run into.)

-Jeremy Rand
Senior Programmer, Team SNARC (2012-2013), Norman Advanced (2010-2011), Norman HS (2008-2009), Norman North (2005-2007), Whittier MS (2003-2004)
2012-2013 VP of Tech, 2011 President, Botball YAC (2009-2013)
Mentor, Alcott and Whittier MS

matthewbot
Title: YAC
Joined: 04/12/2009
Posts:
BotPoints: 94
User offline. Last seen 7 years 21 weeks ago.

As a side note CBCLua is arguably safer than even the mod installer because it does nothing but copy a few files into the program directory like any other program. You can even delete it like normal if you want to get rid of it!

--
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction.

Albert Einstein

Project Quadcopter: http://quadcopter.wordpress.com/