Search found 9 matches
- 12 Jan 2011, 19:07
- Forum: Mindstorms Software
- Topic: What is wrong with this?
- Replies: 9
- Views: 10981
Re: What is wrong with this?
Would you mind doing that again but this time to balance out the robot? (It's not my home anyway)
- 12 Jan 2011, 15:13
- Forum: Mindstorms Software
- Topic: What is wrong with this?
- Replies: 9
- Views: 10981
Re: What is wrong with this?
I had the preferences set to the sticky topic I read on it. I now turned off the automatic firmware (like the screenshot has) and I had no more errors. My friend didn't have any errors today either (he did yesterday) and he has it turned on (he didn't change anything over night). We'll try the robot...
- 11 Jan 2011, 19:13
- Forum: Mindstorms Software
- Topic: What is wrong with this?
- Replies: 9
- Views: 10981
Re: What is wrong with this?
Now things start to get really weird... I just copied the code into my own bricxcc (instead of the one on my friend's pc) and I got a truckload of errors. When I replace the tasks you mentioned with subroutines (void) I still get the errors. This line sends out the errors: dist_start = floor(sqrt(po...
- 10 Jan 2011, 22:57
- Forum: Mindstorms Software
- Topic: What is wrong with this?
- Replies: 9
- Views: 10981
Re: What is wrong with this?
Well it seems to be doing stuff in a different order than it's supposed to.
Maybe the tasks that are supposed to be subroutines cause this, we will probably try this tomorrow, thanks a lot for the tip.
If it won't make any difference, I'll try to explain it better afterwards.
Maybe the tasks that are supposed to be subroutines cause this, we will probably try this tomorrow, thanks a lot for the tip.
If it won't make any difference, I'll try to explain it better afterwards.
- 09 Jan 2011, 14:04
- Forum: Mindstorms Software
- Topic: What is wrong with this?
- Replies: 9
- Views: 10981
What is wrong with this?
hey there, me and a friend programmed this nxt 2.0 robot (with nxc) but found some problems. The idea is to make a robot (from the standard pack) that will search for objects and once if finds one, go there, pick it up, and bring it back to its original spot, then drop it there. I will attach the pr...
- 24 Dec 2010, 14:12
- Forum: Mindstorms Software
- Topic: Cosine function
- Replies: 14
- Views: 17333
Re: Cosine function
Yeah I meant the ultrasonic sensor. We're using the one that comes with the nxt brick on default. When we tested it (using the 'view' option on the nxt menu) it returned values up to 6cm on close and mostly 140cm as its maximum range, though sometimes it got close to 2 meters as well. It's just that...
- 23 Dec 2010, 18:44
- Forum: Mindstorms Software
- Topic: Cosine function
- Replies: 14
- Views: 17333
Re: Cosine function
Thanks guys, the problem was solved. The firmware was indeed the problem we had, but it's fixed now. We're now going to continue developing this robot, let's hope things will work out. (We're quite struggling with the ultralight sensor because it seems to measure the distance in a fairly wide range ...
- 21 Dec 2010, 11:33
- Forum: Mindstorms Software
- Topic: Cosine function
- Replies: 14
- Views: 17333
Re: Cosine function
I didn't actually know of that guide so I told my partner to follow it (he's got the brick at home), so I guess that would be a good start. Besides that, doesn't ^ work for power calculations? I replaced it with the pow() function now anyways. Secondly, why do you use cosd() instead of cos()? Was th...
- 20 Dec 2010, 18:25
- Forum: Mindstorms Software
- Topic: Cosine function
- Replies: 14
- Views: 17333
Cosine function
Hey there everyone, I've started using the NXT brick with NXC language just a couple days ago, but I worked with the old NQC robot a bit too. This time I'm working on a project with a friend of mine for school, and we're thinking big. We're planning to make a robot who can detect 'trash', then pick ...