wishlist for NXC

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
Post Reply
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: wishlist for NXC

Post by nxtboyiii »

Ok. Thanks for replying.
Thanks, and have a nice day,
nxtboy III

programnxt.com
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for NXC

Post by HaWe »

hi,
when will be released the next NXC/Bricx version, and what kind of things will be new or updated?
nxt-ai
Posts: 36
Joined: 10 Jan 2011, 05:02

Re: wishlist for NXC

Post by nxt-ai »

Is nxtcom under the control of nxc/nbc? On Linux I have no idea of how to download programs as well as on Windows cmd "shell". I assume others have this problem too.
m-goldberg
Posts: 73
Joined: 29 Sep 2010, 12:05

Re: wishlist for NXC

Post by m-goldberg »

nxt-ai wrote:Is nxtcom under the control of nxc/nbc? On Linux I have no idea of how to download programs as well as on Windows cmd "shell". I assume others have this problem too.
You don't need nxtcom anymore. The compiler can both download and download and run programs directly when it finishes compiling. Look at the -d and -r compiler switches (execute "nbc -help"). This works on the Mac and I presume it will work on Linux as well.
nxt-ai
Posts: 36
Joined: 10 Jan 2011, 05:02

Re: wishlist for NXC

Post by nxt-ai »

m-goldberg wrote:You don't need nxtcom anymore. The compiler can both download and download and run programs directly when it finishes compiling. Look at the -d and -r compiler switches (execute "nbc -help"). This works on the Mac and I presume it will work on Linux as well.
Last I tried It did nothing, also the -b flag didn't work and it kept saying it had a compiler error (duh it was already compiled).
Does linux need a fantom driver, as well?
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: wishlist for NXC

Post by afanofosc »

On linux I wrote a lib-usb and bluetooth serial port implementation of the Fantom driver so that nbc can talk to the NXT. On Mac OSX and Windows I just linked to the existing Fantom driver libraries. If -d and so forth are not working correctly on Mac OSX then I have to fix that problem. Can you give me a source file and a command line to try which is not working for you? Are you using the nxt.dat file in ~ to provide the correct connection information along with -S=usb|alias|brick_resource_string ?
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
m-goldberg
Posts: 73
Joined: 29 Sep 2010, 12:05

Re: wishlist for NXC

Post by m-goldberg »

afanofosc wrote:On linux I wrote a lib-usb and bluetooth serial port implementation of the Fantom driver so that nbc can talk to the NXT. On Mac OSX and Windows I just linked to the existing Fantom driver libraries. If -d and so forth are not working correctly on Mac OSX then I have to fix that problem. Can you give me a source file and a command line to try which is not working for you? Are you using the nxt.dat file in ~ to provide the correct connection information along with -S=usb|alias|brick_resource_string ?
The -d and -r switches work fine on OS X. I use them all the time. I think the question is whether they also work on Linux.
Regards, Morton
schodet
Posts: 139
Joined: 29 Sep 2010, 11:21
Contact:

Re: wishlist for NXC

Post by schodet »

m-goldberg wrote:The -d and -r switches work fine on OS X. I use them all the time. I think the question is whether they also work on Linux.
They do, I use them all the time.
LEGO things http://ni.fr.eu.org/lego/ - NXT Improved Firmware (GCC) http://nxt-firmware.ni.fr.eu.org/ - Other robots http://apbteam.org
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: wishlist for NXC

Post by HaWe »

hi,
is there a qsort in NXC or sth similar (insertion sort, even a bubble sort)?
mightor
Site Admin
Posts: 1079
Joined: 25 Sep 2010, 15:02
Location: Rotterdam, Netherlands
Contact:

Re: wishlist for NXC

Post by mightor »

Should be fairly trivial to implement in either NBC or NXC, I would say. It would be really dependant on the types you're looking to sort. A qsort for longs would not work for floats, for example.

- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest