My programs, your NXT: because I don't have one :(
-
- Posts: 3
- Joined: 13 Oct 2010, 07:41
Re: My programs, your NXT: because I don't have one :(
Contact me... I have one brick (2.0) and need an autonomous segway program (HiTechnic gyro sensor) it needs to drive around the room and steer away from walls with 81.6 x 15 wheels.
-
- Posts: 125
- Joined: 29 Sep 2010, 18:07
- Contact:
Re: My programs, your NXT: because I don't have one :(
If anyone wants to test some of m balancing programs, that would be of great help. Until, then I can't really do much for maybe-nxt-time.
- Stryker
- Stryker
Re: My programs, your NXT: because I don't have one :(
why don't you upload it?
-
- Posts: 103
- Joined: 29 Sep 2010, 17:14
- Location: US
Re: My programs, your NXT: because I don't have one :(
I've got 2NXT's with NBC/NXC firmware, I program using NXC (or NXT-G 1.0), five motors, and I'm currently expanding my sensor arsenal with homemade sensors. I am willing to help you.
fuzzball27 >>-->
-
- Posts: 125
- Joined: 29 Sep 2010, 18:07
- Contact:
Re: My programs, your NXT: because I don't have one
http://sites.google.com/site/strykerspi ... ects=0&d=1
here is my line-following segway program. (Yes, it's a safe link.)
It should be self explanatory (if you open it in the NXT 1.0 NXT-G environment), but here's the basics:
Same old same old, put a light sensor on the front and use it for balancing. But there's a difference here: put two on the front, side-by-side, and you can line-follow.
I haven't worked on my algorithm at all, it's just a P (Not even a PI, much less PID) algorithm. Thus, it will probably be in need of some modification.
Inputs/Outputs:
2 Light Sensors (I don't remember what ports)
1 UltraSonic Sensor (Again, don't remember what port)
3 Motors (Ports A, B, and C)
Motors B and C are the wheels of the segway, Motor A is attached to the NXT brick, which is standing up. (Think like this, but instead of the rider standing up over the NXT, the rider is the NXT.)
To move forward, Motor A leans the NXT forward, and to move backward, the opposite.
I think that's all there is to it. I haven't done anything or the physical robot part yet, but I'm sure it can be done.
- Stryker
P.S. Oh, and the US Sensor is on the top, pointing forwards; the program automatically starts the segway driving forwards (it is a line follower after all) and leans the rider back if it gets within like 10 cm of an obstacle or something. (I haven't looked @ the program in a while, and it takes forever for NXT-G to boot up on my computer, so I don't feel like doing it right now. Sorry if some things aren't quite right.)
here is my line-following segway program. (Yes, it's a safe link.)
It should be self explanatory (if you open it in the NXT 1.0 NXT-G environment), but here's the basics:
Same old same old, put a light sensor on the front and use it for balancing. But there's a difference here: put two on the front, side-by-side, and you can line-follow.
I haven't worked on my algorithm at all, it's just a P (Not even a PI, much less PID) algorithm. Thus, it will probably be in need of some modification.
Inputs/Outputs:
2 Light Sensors (I don't remember what ports)
1 UltraSonic Sensor (Again, don't remember what port)
3 Motors (Ports A, B, and C)
Motors B and C are the wheels of the segway, Motor A is attached to the NXT brick, which is standing up. (Think like this, but instead of the rider standing up over the NXT, the rider is the NXT.)
To move forward, Motor A leans the NXT forward, and to move backward, the opposite.
I think that's all there is to it. I haven't done anything or the physical robot part yet, but I'm sure it can be done.
- Stryker
P.S. Oh, and the US Sensor is on the top, pointing forwards; the program automatically starts the segway driving forwards (it is a line follower after all) and leans the rider back if it gets within like 10 cm of an obstacle or something. (I haven't looked @ the program in a while, and it takes forever for NXT-G to boot up on my computer, so I don't feel like doing it right now. Sorry if some things aren't quite right.)
-
- Posts: 125
- Joined: 29 Sep 2010, 18:07
- Contact:
Re: My programs, your NXT: because I don't have one :(
hee hee, I've moved on from using light sensors to balance. They're awful.
Now I'm using accelerometers!
Expect a (working) program soon (iow, eventually), written in NXC.
Now I'm using accelerometers!
Expect a (working) program soon (iow, eventually), written in NXC.
- Stryker AKA Jordan
http://nxtbystryker.wordpress.com
http://nxtbystryker.wordpress.com
Re: My programs, your NXT: because I don't have one :(
BTW, how close are you to getting your own NXT?
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 125
- Joined: 29 Sep 2010, 18:07
- Contact:
Re: My programs, your NXT: because I don't have one :(
Well.... Not very. I really just need to get a job.
A friend had suggested making a Kickstarter.com account to raise funds for it to be used "educationally"... but it didn't work out. Oh well.
A friend had suggested making a Kickstarter.com account to raise funds for it to be used "educationally"... but it didn't work out. Oh well.
- Stryker AKA Jordan
http://nxtbystryker.wordpress.com
http://nxtbystryker.wordpress.com
-
- Posts: 125
- Joined: 29 Sep 2010, 18:07
- Contact:
Re: My programs, your NXT: because I don't have one :(
Hee hee, I've almost got my hands on one! If all goes well, I should get it tomorrow. If not, then hopefully by next week.
- Stryker AKA Jordan
http://nxtbystryker.wordpress.com
http://nxtbystryker.wordpress.com
Re: My programs, your NXT: because I don't have one :(
What, did you finally figure out how to steal one?stryker001 wrote:Hee hee, I've almost got my hands on one! If all goes well, I should get it tomorrow. If not, then hopefully by next week.
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
Who is online
Users browsing this forum: No registered users and 1 guest