rc servo support

This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc.

Moderators: 99jonathan, roger, imaqine

rc servo support

Postby nat1 » Wed Oct 08, 2008 10:33 pm

hi

does anyone know if there is support for the rc servo controller from mindsensors? thanks
Thanks!

Nat
nat1
Novice
 
Posts: 79
Joined: Mon Sep 10, 2007 1:21 am
Location: n/a

NXTServo support for leJOS

Postby esmetaman » Sun Oct 26, 2008 8:51 pm

leJOS 0.7 will have support for NXTServo.

http://www.juanantonio.info/jab_cms.php?id=250

Cheers
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby nat1 » Sun Oct 26, 2008 9:49 pm

awsome :D is there any chace you can give me an idea of when 0.7 willl be released?
Thanks!

Nat
nat1
Novice
 
Posts: 79
Joined: Mon Sep 10, 2007 1:21 am
Location: n/a

Postby mdsmitty » Mon Oct 27, 2008 1:18 am

You don't have to wait for the release you can get the class out of the SVN.
mdsmitty
Novice
 
Posts: 78
Joined: Tue Feb 27, 2007 3:07 am

Postby nat1 » Mon Oct 27, 2008 9:10 pm

ok now i fell really dumb :? but how do i get the class into the class jar or is that not what i need to do? thanks
Thanks!

Nat
nat1
Novice
 
Posts: 79
Joined: Mon Sep 10, 2007 1:21 am
Location: n/a

Postby esmetaman » Mon Oct 27, 2008 9:29 pm

Hi Friend,

One way to download the code is using web interface:

http://lejos.svn.sourceforge.net/viewvc ... iew=markup
http://lejos.svn.sourceforge.net/viewvc ... iew=markup

Examples here:
http://www.juanantonio.info/jab_cms.php?id=250

But I recommend to use a SVN Client.
I recommend the following doc:
http://www.juanantonio.info/jab_cms.php?id=146
"Using Tortoise SVN to collaborate in leJOS project "

Next weekend I will update the class with new methods, but the core is finished. The most important think in my opinion is that Lattebox and Mindsensors use the same methods to control servos, but I have to refine the code a bit more.

Cheers friend
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby nat1 » Tue Oct 28, 2008 12:07 am

ok i have the mservo.java on my computer but then how do i make it a class file or get it into my classes.jar file so i can use it as a class?
Thanks!

Nat
nat1
Novice
 
Posts: 79
Joined: Mon Sep 10, 2007 1:21 am
Location: n/a

Postby lawrie » Mon Nov 03, 2008 10:33 pm

The easiest way is to remove the package statement and compile it like any other leJOS java class.
lawrie
leJOS Team Member
 
Posts: 918
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron
more stuff