Search found 1221 matches
- 29 Oct 2013, 22:36
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
I would recommend not using the polarity switching API functions unless you never ever experience bad behavior while using them. In my experience, they don't work right all the time - at least not when executed as direct commands from the BricxCC IDE. I switched away from the polarity opcode and now...
- 28 Oct 2013, 20:02
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
Doc, You know your program can't ever end since the two threads go on forever, right? That means the VM will look like it is hung since it is waiting for your program to quit running. Why did you add anything other than the OutputInit call and why did you leave out the required LCDInit call? One of ...
- 28 Oct 2013, 02:24
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
I was about to try your program myself but then I noticed you seem to have ignored my test programs. Notice the first function call in the LCD test program. Notice the fourth function call in the Output test program. Also, can you tell me what on earth is this SetMotor function you are trying to cal...
- 27 Oct 2013, 02:34
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
It is certain that if the edit window on the Compilers/EV3 tab that says "Makefile template" next to it does not contain the word "LDFLAGS" then you have an old template and you need to click the Default button on that tab, if you are running the very latest BricxCC test release....
- 26 Oct 2013, 18:20
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
Quite some time ago I told doc to add "-lpthread" to the LDFLAGS line in the makefile template. If he doesn't have a line that starts with LDFLAGS then he has an old template and needs to click Default on that page - and be running the latest BricxCC test release. If he were to look in the...
- 23 Oct 2013, 20:26
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
I don't want to compete and would prefer a collaborative effort too. But unfortunately I currently don't see how it might become usable with the current EV3 drivers/firmware. So even minimal support would be a nightmare and I fear to publish even the beginnings. Maybe an upcoming SDK of LEGO will s...
- 23 Oct 2013, 17:39
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
Btw., thanks for Bricxcc, even if I seldom used it because I'm a long time Linux user. But I remember I did had at least a look at it several years ago. ;) (I made a break in playing with the NXT) I may be wrong but did I hear rumors that you were working on a C++ API for the EV3? If so, I would st...
- 23 Oct 2013, 17:28
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
I am not an expert on the interactions between statically linked arm-linux binaries and an embedded arm linux OS built with an older compiler with dynamic linking to older libC versions. If that works, great. To create statically linked binaries just add -static to the LDFLAGS variable in the BricxC...
- 23 Oct 2013, 15:51
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
That's part of the output of diff and is not part of code. Delete those lines. Good luck using C++11 with the EV3 firmware and CSLite 2009q1-203 (aka gcc 4.3.3).
John Hansen
- 23 Oct 2013, 15:48
- Forum: Mindstorms Software
- Topic: EV3 BCC / C software problem(s)
- Replies: 101
- Views: 545700
Re: EV3 BCC / C software problem(s)
For one thing, I do not think that if you stop a task (which I added as a feature of the enhanced NXT firmware) that it will stop the motors. For one thing nothing in the firmware knows (iirc) that task A was the task that "owned" the motors. If all tasks are stopped, i.e., the program ter...