Get nxcEditor at SourceForge.net. Fast, secure and Free Open Source software downloads

nxcEditor



Language (click on the flag)

Summary The nxcEditor can be used to program a NXT robot with a Linux operating system (the NXC source code is highlighted). The program can optionally be run on the real robot or the nxcSimulator, which is integrated in the nxcEditor (the official NBC compiler is invoked from the nxcEditor). The nxcEditor (as well as the nxcSimulator) is designed for teaching programming to beginners.

nxcSimulator Brief information ...

License The nxcEditor is free software: you can redistribute it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (http://www.gnu.org/licenses/)

Instructions Instructions, introduction to NXC and more as a book

Requirements - tested on different netbooks with Atom-CPU
- best performance with 3D-driver for the graphic card

Installation
  1. Download the nxcEditor

    • if you choose an executable nxcEditor-file, then you have to install “gambas“, “sox” and “ImageMagick
    • “gambas3“ means: you have to install “gambas3“
    • “gambas2“ means: you have to install “gambas2“
    • possibly a repository for "gambas2" or “gambas3“ must be added
    • for the new gambas3 repositories for Ubuntu look at gambas.sourceforge.net

  2. Copy as root “nbc” and “nexttool” to the folder “/usr/local/bin” (permissions: make them executable).

    Attention: These two programs need ia32-libs to work on 64-bit Linux with Ubuntu/Mint/Debian (thanks to Paul Cobbaut for this important hint). Use libusb-0_1-4-32bit for openSUSE. For the installation the software package management can be used.

  3. Add two lines at the end of the sudoers file (/etc/sudoers). Use visudo as root inside a terminal. “USERNAME“ must be replaced with the name of the user.

  4. USERNAME ALL = NOPASSWD: /usr/local/bin/nbc
    USERNAME ALL = NOPASSWD: /usr/local/bin/nexttool

    or

    ALL ALL = NOPASSWD: /usr/local/bin/nbc
    ALL ALL = NOPASSWD: /usr/local/bin/nexttool

    Attention: The sudoers file will only work with exactly
    this permissions: r-- r-- --- (440)

  5. Copy “70-nxt.rules” in folder /etc/udev/rules.d (not required for Ubuntu)
You can copy a new version of the nxcEditor to the directory /usr/local/bin/ of the live system (do this as root). The file must be renamed in “nxcEditor.gambas“ and made ​​executable.

Support Help
Open Discussion

Short videos nxcEditor and nxcSimulator (YouTube)
- Create a robot (YouTube)
- Create a background (YouTube)
- Working with the NXC tutorial by Daniele Benedettelli (YouTube)
Example: “Sound garden“ (YouTube)
Example: “Maze – find the red point“ (YouTube)
Example: “Drawing“ (YouTube)

Downloads

Many thanks to John Hansen for his permission to use his tools on the LINUX-IMAGES and as a zip-file.

LIVE-LINUX-CD-IMAGE 0.0.33 with nxcEditor v0.1.1
(based on openSUSE 12.2 – root password: “toor“)

LINUX-USB-IMAGE 0.0.33 with nxcEditor v0.1.1
(based on openSUSE 12.2 – for at least 4 GB USB flash drive – root password: “toor“ – for example use “SUSE Studio Imagewriter“ to write the image)

LINUX-VMDK-IMAGE 0.0.33 with nxcEditor v0.1.1
For VMware Player and for usage with VirtualBox
Linux, Windows, Mac OS X, ...
(based on openSUSE 12.2 – root password: “toor“)

nxcEditor 0.1.2.testing_r4
(Executable nxcEditor-file – gambas3 version 3.4.x is needed – for each Linux distribution)

nxcEditor 0.1.1
(Executable nxcEditor-file – gambas3 version 3.3.x is needed – for each Linux distribution)

nxcEditor 0.0.98
(Executable nxcEditor-file – gambas3 up to version 3.1.1 is needed – for each Linux distribution)

nxcEditor 0.0.81
(Executable nxcEditor-file – last version for gambas2 – for each Linux distribution)

nbc and nexttool as zip-file – there is a hint for 64-bit Linux!
(from: bricxcc.sourceforge.net and bricxcc.sourceforge.net/nbc)

70-nxt.rules

Sources for the current version

Background: Maze – included since version 0.1.0


Changes nxcEditor 0.1.2.testing (gambas 3.4.x)
  • (r4) nxcSimulator: switch ... case, function calls ... return, one-dimensional array without ArrayInit added and fixed some bugs (eg "i++", negation with "!" ...)
  • (r3) nxcSimulator: for-loop added, TextOut and NumOut now work with x- and y-coordinates (Multiples of 6 and 8), fixed some bugs
  • (r2) nxcEditor/nxcSimulator: the editor and the simulator can be translated into other languages without any programming skills (instruction see: "Support -> Help -> Translate French")
  • (r1) nxcEditor: now it's possible to connect two NXT Bricks simultaneously Two NXT Bricks
nxcLinux – LINUX-IMAGES 0.0.33
  • includes nxcEditor 0.1.1
  • look at nxcLinux – LINUX-IMAGES 0.0.32 for more
nxcEditor 0.1.1 (gambas 3.3.x)
  • nxcSimulator: Off function corrected
  • nxcEditor: bug in printing function fixed
  • nxcEditor: bug in HTML export fixed
  • nxcEditor: example code updated – now it's possible to use every example of the book with ISBN-10: 3941841858
nxcLinux – LINUX-IMAGES 0.0.32
  • includes nxcEditor 0.1.0
  • based on openSUSE 12.2
  • driver for VMware Player included
  • use the Live-Installer of the CD-Image for installation (use the nxcEditor immediately)
  • VMDK-IMAGE with VMware Player: use immediately with VMware Player (use the latest version from www.vmware.com). For better performance you can install the latest VMware Tools
  • VMDK-IMAGE with VirtualBox: inside VirtualBox you have to create a new machine (use the vmdk disk). Install the Extension Pack and the drivers from the guest additions (use the latest version from www.virtualbox.org). Activate the 3D and the PAE support. Known bug (I think it is the VirtualBox graphic driver): the OpenGL area of the Simulation is always in front and hides everything that should be in front.
  • VMDK-IMAGE: you have to start the automatic configuration of the soundcard with YaST
  • the network is disabled – enable with YaST
nxcEditor 0.1.0 (gambas 3.3.x)
  • nxcSimulator: two arenas added (labyrinth and one for the Compass Sensor)
  • nxcSimulator: default settings for framerate added (nxcSimualtor -> help -> Correct display-bugs) use for example inside VMware Player or VirtualBox (40 is a good value)
  • nxcSimulator: structure to save settings changed
  • nxcEditor: now it is possible to print a program (color/black and white)
  • nxcEditor: HTML export added (color)
  • fixed some little bugs
  • translation (a little change)
nxcLinux – LINUX-IMAGES 0.0.31
  • includes nxcEditor 0.0.98
  • the default language is English
  • during the boot process is a selection for the keyboard layout (if you can't press “Next“ for the selection then press “alt + N“)
nxcEditor 0.0.99 (gambas 3.2.1 and later versions)
  • nxcSimulator: Sound Sensor now works with every port
  • gambas3: since gambas 3.2.1 the OpenGL syntax changes
  • translation (a little change)
nxcEditor 0.0.98 (up to gambas 3.1.1)
  • nxcSimulator: Color Sensor and Compass Sensor (hitechnic) added
  • nxcSimulator: two arenas for the Color Sensor added and one arena with RoboCup-Rescue-competition-lines
  • nxcSimulator: now there is a different startposition for the robot in every arena
  • nxcSimulator: choose between six different robots
  • nxcSimulator: the default robot and the default background can now be selected
  • fixed bug: now the startposition for the robot will be calculated correctly (zoom/saved projects/...)
nxcEditor 0.0.97
  • the nxcEditor can now handle multiple programs simultaneously
  • indent and unindent added to the nxcEditor
  • nxcSimulator: settings for the lightsensor added (thanks to Alexander Kolotov for testing - look at his video on youtube)
  • some missing translations added
  • the default language is English now
nxcEditor 0.0.96
  • fixed crash while closing the nxcSimulator window during running NXC-program
  • every window is now persistant – so the RAM is used better
  • new background for the nxcSimulator added
  • translation (a little change)