NXT Ballbot and Segway Videos

Post your NXJ projects, project ideas, etc here!

Moderators: imaqine, 99jonathan, roger

User avatar
bbagnall
Site Admin
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

NXT Ballbot and Segway Videos

Postby bbagnall » Wed Dec 18, 2013 9:51 pm

Earlier in the year I recorded some video to promote my LEGO NXT books and then promptly did nothing with them. :D Finally I have gotten around to editing them together. In particular there are videos showing Ballbot and Segway performance:

Ballbot Youtube Video shows how to use several different balls for the ballbot.

Segway Youtube Video demonstrates an autonomous Segway robot, remote controlling the Segway using a keyboard, and driving over a book to test stability.

Enjoy! There is still more unedited footage of other projects in the books, so hopefully those will be coming together soon.

trungpt
New User
Posts: 6
Joined: Tue Oct 25, 2016 7:12 am

Re: NXT Ballbot and Segway Videos

Postby trungpt » Thu Nov 10, 2016 6:24 am

I really hope there is a similar book for Lego Ev3.

User avatar
gloomyandy
leJOS Team Member
Posts: 5520
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: NXT Ballbot and Segway Videos

Postby gloomyandy » Thu Nov 10, 2016 9:02 am

leJOS news https://lejosnews.wordpress.com/

trungpt
New User
Posts: 6
Joined: Tue Oct 25, 2016 7:12 am

Re: NXT Ballbot and Segway Videos

Postby trungpt » Thu Nov 10, 2016 12:45 pm



I have this book (Maximum Lego Ev3). It is a nice book (excepting it is in black and white, this hurts when assembling robots).

However, there is no info on how to make Ballbot and Segway. If the author writes another book for EV3 with Ballbot and Segway, I will be one of the firsts to buy it.

User avatar
gloomyandy
leJOS Team Member
Posts: 5520
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: NXT Ballbot and Segway Videos

Postby gloomyandy » Thu Nov 10, 2016 3:52 pm

Rather than wait for a book to tell you how to do it (which I suspect is unlikely to happen, the EV3 is pretty old now), why not have a go at adapting the NXT code for the EV3. It is not hard to do, here is a slightly updated version of the code making a very heavy segway robot (which is pretty hard to balance) work....
https://www.youtube.com/watch?v=jgc-9GFOKgM

Ignore all of the NXTs and extra motors they are just there to add extra weight to the robot. Buried under all that lot is a simple EV3 segway built pretty much the same way as the one in Brian's NXT book.

This robot was a test bed for the code that was later used to build a balancing version of the Java Duke mascot which was displayed at the Oracle Java One conference...
https://www.youtube.com/watch?v=irTE0whPBvo
leJOS news https://lejosnews.wordpress.com/

trungpt
New User
Posts: 6
Joined: Tue Oct 25, 2016 7:12 am

Re: NXT Ballbot and Segway Videos

Postby trungpt » Fri Nov 11, 2016 12:56 am

gloomyandy wrote:Rather than wait for a book to tell you how to do it (which I suspect is unlikely to happen, the EV3 is pretty old now), why not have a go at adapting the NXT code for the EV3. It is not hard to do, here is a slightly updated version of the code making a very heavy segway robot (which is pretty hard to balance) work....
https://www.youtube.com/watch?v=jgc-9GFOKgM

Ignore all of the NXTs and extra motors they are just there to add extra weight to the robot. Buried under all that lot is a simple EV3 segway built pretty much the same way as the one in Brian's NXT book.

This robot was a test bed for the code that was later used to build a balancing version of the Java Duke mascot which was displayed at the Oracle Java One conference...
https://www.youtube.com/watch?v=irTE0whPBvo


Thank you for your reply.

I'm new to robotics. Could you please share with me some general ideas about the designs of the robots and the algorithms to run them? Videos of the final robots running around do not help me understand.

User avatar
gloomyandy
leJOS Team Member
Posts: 5520
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: NXT Ballbot and Segway Videos

Postby gloomyandy » Fri Nov 11, 2016 8:06 am

These two robots are pretty advanced and may not be a good starting point for someone new to robotics. If you really want to understand how they work then there are a number of blog posts and scientific papers on the web that explains this. Just type "lego segway" into google. If you want a more detailed guide to the leJOS code then buy the NXT book as pretty much everything in there applies to the EV3 (though you will need to make adjustments to the code). If you want to read the code it is here:
https://sourceforge.net/p/lejos/nxt/cod ... avigation/
leJOS news https://lejosnews.wordpress.com/

trungpt
New User
Posts: 6
Joined: Tue Oct 25, 2016 7:12 am

Re: NXT Ballbot and Segway Videos

Postby trungpt » Fri Nov 11, 2016 12:40 pm

gloomyandy wrote:These two robots are pretty advanced and may not be a good starting point for someone new to robotics. If you really want to understand how they work then there are a number of blog posts and scientific papers on the web that explains this. Just type "lego segway" into google. If you want a more detailed guide to the leJOS code then buy the NXT book as pretty much everything in there applies to the EV3 (though you will need to make adjustments to the code). If you want to read the code it is here:
https://sourceforge.net/p/lejos/nxt/cod ... avigation/


Thank you for your info.

I'm afraid that the NXT books is so different that I cannot follow when trying to apply to EV3.

Which book do you recommend me? "Intelligence Unleashed: Creating Lego NXT Robots With Java" OR "Maximum Lego Nxt: Building Robots With Java Brains".

Thank you again for your time.

User avatar
gloomyandy
leJOS Team Member
Posts: 5520
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: NXT Ballbot and Segway Videos

Postby gloomyandy » Fri Nov 11, 2016 1:53 pm

Do you have the NXT books? If not how do you know that you can not follow it when applying it to the EV3?

To be honest I would forget about advanced robots like the Segway and Ballbot and spend some time working through the EV3 book and just using leJOS on the EV3. Once you have done that you should be able to make sense of the leJOS Segway classes for the NXT and can convert them yourself. If you want to understand the theory for how these robots balance there are lots of things out on the web.
leJOS news https://lejosnews.wordpress.com/

trungpt
New User
Posts: 6
Joined: Tue Oct 25, 2016 7:12 am

Re: NXT Ballbot and Segway Videos

Postby trungpt » Fri Nov 11, 2016 2:38 pm

I do not have NXT books. I said I was afraid so.

I finished the Ev3 book with lejos. I'd like to have tutorials on more advanced robots. I will try to find using Google although there will a lot info to filter.


Return to “NXJ Projects”

Who is online

Users browsing this forum: No registered users and 1 guest