Search found 7 matches

by ninjaman1138
31 Mar 2014, 16:14
Forum: Mindstorms Projects
Topic: line follower with mutex and three sensors, obstacle avoid
Replies: 2
Views: 15279

Re: line follower with mutex and three sensors, obstacle avoid

thanks for that howard! i think that i will try to program the robot without using mutex. i have read about "nested" statements? "if()" and "else()". i managed to get the robot to move around the outside of a square it will go both ways around the square with little pro...
by ninjaman1138
31 Mar 2014, 09:40
Forum: Mindstorms Projects
Topic: line follower with mutex and three sensors, obstacle avoid
Replies: 2
Views: 15279

line follower with mutex and three sensors, obstacle avoid

hello i want to build a robot that, when you clap robot starts moving if light sensor sees dark turn right if light sensor sees light turn left if ultra sonic sensor sees object avoid object when you clap robot stops moving this is my pseudo code(im still practicing this) this is my full code so far...
by ninjaman1138
16 Mar 2014, 16:53
Forum: Mindstorms Software
Topic: motor problems
Replies: 11
Views: 36251

Re: motor problems

hello thanks for your help, im going to use the rotatemotor command instead as that does exactly what is want without the extra fuss. I am having a problem though with a line follower program. I can get the robot to follow the line and turn but it wont turn back the other way. im thinking that if i ...
by ninjaman1138
12 Mar 2014, 14:35
Forum: Mindstorms Software
Topic: motor problems
Replies: 11
Views: 36251

Re: motor problems

hello I am still having the same problem. it will move slightly in the fwd direction then full movement in the other direction. this is what im using, I have tried the offex bit in different positions and no change. the wait(100) does nothing either as I have changed this, removed it and still nothi...
by ninjaman1138
08 Mar 2014, 12:42
Forum: Mindstorms Software
Topic: motor problems
Replies: 11
Views: 36251

Re: motor problems

that's great, thanks for your help. I will try that reset thing. I haven't looked at much else really. I got the set secondhand recently and read a copy of NXC that uses a tribot which you modify with the sensors. it didn't mention anything like resetting or motor counters which has my mind going at...
by ninjaman1138
07 Mar 2014, 23:51
Forum: Mindstorms Software
Topic: motor problems
Replies: 11
Views: 36251

motor problems

hello im new here I have tried to program a motor to rotate left to right and repeat. initially I couldn't get it to go both ways. then I could get it to go both ways. im not sure what I did. I have learnt that you have to save the file before it will compile or download. I want to connect the ultra...
by ninjaman1138
07 Mar 2014, 23:35
Forum: Mindstorms Software
Topic: Basic Loop Program
Replies: 2
Views: 9356

Re: Basic Loop Program

hello have you managed to get this working yet? the only thing I would suggest is an if statement or while statement but that is using "nxc"(not exactly C). I don't know how the programme for ev3 works. you want to put in something that says "if this is true, go forward". if fals...