Search found 285 matches
- 28 May 2015, 16:47
- Forum: Mindstorms Software
- Topic: Need HELP with the Fantom Drivers for NXT!!
- Replies: 6
- Views: 23731
Re: Need HELP with the Fantom Drivers for NXT!!
Try the download from the RobotC site, I think that will work (it is what we tell leJOS users to use).
- 13 May 2014, 14:08
- Forum: Mindstorms Software
- Topic: hw brickbench: Benchmark test for NXT and EV3
- Replies: 36
- Views: 149537
Re: hw brickbench: Benchmark test for NXT and EV3
All of the results are as posted. Things may improve over time, but that is how they are at the moment. The display results could be improved but it is not a priority for us at the moment. The double/float issue is just a difference between Java and the other systems. Java uses double for most float...
- 13 May 2014, 13:14
- Forum: Mindstorms Software
- Topic: hw brickbench: Benchmark test for NXT and EV3
- Replies: 36
- Views: 149537
Re: hw brickbench: Benchmark test for NXT and EV3
Doc the source code for the leJOS version for the EV3 is here: https://drive.google.com/file/d/0BwTg7xhdb1rYdVkyYzY0WWh1eE0/edit?usp=sharing and the NXT here: https://drive.google.com/file/d/0BwTg7xhdb1rYenRXS05JNXZDMmc/edit?usp=sharing For some reason you do not seem to be showing the results for t...
- 04 Jan 2014, 19:16
- Forum: Site Comments/Complaints/Suggestions
- Topic: Is this forum dying and is that a bad thing?
- Replies: 7
- Views: 35277
Is this forum dying and is that a bad thing?
There seems to have been a big reduction in posts on the forum over the last few months (which is a little strange given the EV3). At the same time the Mindstorms EV3 facebook group has become a pretty busy place. Personally I'm not sure it is a good thing as a forum seems to be much better organize...
- 18 Dec 2013, 14:38
- Forum: Mindstorms Software
- Topic: [Lejos] Bluetooth Communication Problems
- Replies: 2
- Views: 8605
Re: [Lejos] Bluetooth Communication Problems
Don't use a RAW connection on the NXT. Just use the default connection type (which is PACKET). leJOS Bluetooth PACKET mode streams have headers added to them and the only connection types supported by the leJOS PC side classes have this header. RAW mode is only really used when talking to non leJOS ...
- 10 Dec 2013, 17:35
- Forum: Mindstorms Software
- Topic: EV3 CSLite C libs: matrix algebra, array sort and more
- Replies: 19
- Views: 44181
Re: EV3 CSLite C libs: matrix algebra, array sort and more
Doc, does the code that you have posted even compile? I'd be surprised if it does. You really need to understand exactly what a declaration like: double A[10][5] means and how it is laid out in memory etc. You simply can't pass an array declared as above to a function that takes a parameter like dou...
- 09 Dec 2013, 21:56
- Forum: Mindstorms Software
- Topic: EV3 CSLite C libs: matrix algebra, array sort and more
- Replies: 19
- Views: 44181
Re: EV3 CSLite C libs: matrix algebra, array sort and more
Doc, the code in the following link: http://www.mymathlib.com/c_source/matrices/arithmetic/multiply_matrices.c Which I posted above. Does pretty much exactly what your matrix multiply does (the parameters are in a different order but I'm sure you can cope with that). There is an example that shows h...
- 09 Dec 2013, 18:12
- Forum: Mindstorms Software
- Topic: EV3 CSLite C libs: matrix algebra, array sort and more
- Replies: 19
- Views: 44181
Re: EV3 CSLite C libs: matrix algebra, array sort and more
Doc,
most programmers would not choose to do matrix manipulations in C (they would use Java, python, C++ or some other higher level language), and for those that do, the code I posted that shows how to do it using pointers is simple code...
most programmers would not choose to do matrix manipulations in C (they would use Java, python, C++ or some other higher level language), and for those that do, the code I posted that shows how to do it using pointers is simple code...
- 09 Dec 2013, 17:25
- Forum: Mindstorms Software
- Topic: EV3 CSLite C libs: matrix algebra, array sort and more
- Replies: 19
- Views: 44181
Re: EV3 CSLite C libs: matrix algebra, array sort and more
Doc, NXC and the Lego firmware do a lot of things for you behind the scenes. One of the downsides of using standard C is that some of these things are not as simple and you need to understand a little more about what is actually going on. Did you read the tutorial on pointers and arrays: http://pw1....
- 09 Dec 2013, 12:37
- Forum: Mindstorms Software
- Topic: EV3 CSLite C libs: matrix algebra, array sort and more
- Replies: 19
- Views: 44181
Re: EV3 CSLite C libs: matrix algebra, array sort and more
Doc, you almost certainly do not want int **A if you intend to pass something created by int a[10][10] (or whatever) to it, a 2D array in C is not structured as an array of pointers to single dimensioned arrays (which is what is implied by int **A). It is simply a flat chunk of memory. Now obviously...