|
Topic Preview |
Topics |
Author |
Replies |
Views |
Last post |
 |
I notice that the sonar sensor returns distance in inches, is it possible to use metric instead? I live in the US, but I just find so many things easier to do in metric! I've been poking around, searching forums and sample code but haven't run across anything yet. Thanks.
|
Is it possible to use metric?
in ROBOTC for CORTEX & PIC
|
fryfrog |
0 |
3256 |
Sat Aug 30, 2008 10:10 am
fryfrog
|
 |
I've created a RobotC driver for the HiTechnic IR Link so it can control the Power Functions motors. You can find an article and the source code here . Future versions will include support for the RCX and the IR controller trains. Stay tuned! Xander
|
IR Link driver for PF Motors
in Third-party sensors
|
mightor |
0 |
5002 |
Wed Aug 27, 2008 4:35 pm
mightor
|
 |
The 1st thread failed as soon as the 2nd thread started. So, I created two identical GetAxis, just renamed as GetAxis1 and GetAxis2, then the 2 threads run fine. Shouldn't s separate copy "GetAxis" is started as 2nd task?
|
multiple tasks
in ROBOTC for LEGO MINDSTORMS
|
elizabeth.mabrey |
0 |
4637 |
Sat Aug 16, 2008 10:54 pm
elizabeth.mabrey
|
 |
This is very peculiar. Notice that Fingers where f is an "int" type. This will give me 0 x,y,z reading every other read/send. Then, I put in the constant instead in the "read.." and "send..", things will start working again. So, I have to do a silly workaround. Although there is a workaround, the reference of Fingers .s should work though.
|
I2C bug?
in ROBOTC for LEGO MINDSTORMS
|
elizabeth.mabrey |
0 |
2940 |
Sat Aug 16, 2008 8:10 pm
elizabeth.mabrey
|
 |
A small bug with some of the display functions If you have the following (pointless) code This won't compile and you get an error on the nxtDisplayCenteredTextLine line The reason is that parameter nLineNumber is defined as a 'compileconst' in nxtDisplayCenteredTextLine whereas it is a 'const' in nxtDisplayTextLine. I could not think of any reason for the use of compileconst so I changed it in the RobotCIntrinsics.c file and the sky didn't fall. I notice that this occurs in several other...
|
1.40 RC#2 Display Centered Text bug
in ROBOTC for LEGO MINDSTORMS
|
Abbeyjean |
0 |
2218 |
Wed Aug 13, 2008 3:39 am
Abbeyjean
|
 |
Hey guys, Someone was in a bit of a rush to get the download URL up on the website and made a bit of a typo: • ROBOTC for Mindstorms v1.40 Public Release Canidiate #2 Regards, Xander
|
Typo on the RobotC download page
in ROBOTC for LEGO MINDSTORMS
|
mightor |
0 |
2281 |
Wed Aug 13, 2008 1:35 am
mightor
|
 |
hi, another problem: in my program (artificial neuronal network) I have lots of calculations, and a couple of menus to interrupt, load, and restart the program. Now, after some (10-20) minutes of calculation (auto learning) a strange thing is happening: - the nxt screen is kind of flickering, and the system menu seems to appear (in a sort of "see-through" or "over-laid" way), which even overlaps my own menus; - among all the figures of my numbers or my menus you can...
|
1.40: program switches to system menu after a while & crash
in ROBOTC for LEGO MINDSTORMS
|
Ford Prefect |
0 |
2662 |
Sat Aug 09, 2008 5:52 am
Ford Prefect
|
 |
with this procedure I get two errors: a hint for the develobuggers: this code is fine: is the code faulty or the compiler? This is the complete code (killer code :twisted: ):
|
1.40.3: Bug? **FATAL**:Compiler error. Failed to release tem
in ROBOTC for LEGO MINDSTORMS
|
Ford Prefect |
0 |
2275 |
Wed Jul 30, 2008 8:29 am
Ford Prefect
|
 |
I have finally built and programmed a functional self-balancing robot...it uses a PID controller and can stay up on its own for almost a full minute! Check out a video compilation and source code at my blog
|
NXTSegway Revision 0.4 Final -- PID and stable for a minute!
in Project Discussions
|
glycerunnin |
0 |
4721 |
Sun Jul 20, 2008 1:02 am
glycerunnin
|
 |
I am trying to compile the sample CMU Camera Sample for FRC (6CMUCamera_Template.c) and I get compiler errors. camTrackingStatus not defined... Using the 1.35 Beta 1 version, on Windows XP. Are there any settings I need to set? Defines? etc Also, with version 1.35 Beta 1, does the CMUCamera work with the VEX? Thanks, Eric
|
CMU Camera Sample Compile Errors
in ROBOTC for CORTEX & PIC
|
grajalese |
0 |
3739 |
Thu Jul 10, 2008 12:37 pm
grajalese
|
 |
We do not always have time to respond to messages on the forums, so if you don't feel you've received a reply to your issue on the forums from the other community members and would like direct communication: Support Questions or Issues: support@robotc.net or Bug Reports or Feature Requests: These are the fastest way to resolve any outstanding issues or ask a question directly to the developers. We are continuously working on the 1.40 release and other developments with ROBOTC, so we ask for...
|
ROBOTC Support & Contact Information
in ROBOTC for LEGO MINDSTORMS
|
tfriez |
0 |
5554 |
Wed Jul 09, 2008 1:00 pm
tfriez
|
 |
Hi, I really need to use all of my 4 vex sonar sensors in my bot, but it seems that microcontroller interrupt ports 3,4,5, and 6 do not work with the sonar sensors. I've tried new batteries, updating the firmware, swapping out one sensor for another, I've even tried a second VEX controller and STILL have the same problem. Is this a bug? A feature? Is there a work-around? Or am I just stuck? :?: Thomas
|
More than 2 Sonar Sensors???
in ROBOTC for CORTEX & PIC
|
thomasfromla |
0 |
3752 |
Wed Jul 09, 2008 2:24 am
thomasfromla
|
 |
How I can use RFID sensros of with RobotC? There is a lebrary for NXC, but RFID sensor isn't avaiable in 3rd Party Sensors Types.
|
RFID Sensors
in ROBOTC for LEGO MINDSTORMS
|
Koldo |
0 |
2918 |
Tue Jul 01, 2008 7:48 am
Koldo
|
 |
Hi , I wondered if anyone has the solutions for the robotC assignments on the online tutorial? 10X Joe
|
robotC site assignments
in ROBOTC for LEGO MINDSTORMS
|
JoeL |
0 |
2704 |
Wed Jun 25, 2008 7:51 am
JoeL
|
 |
when there are faulty "quotes" in a print command, such as instead of the compiler hangs and must be shut down by task manager
|
1.38 BUG: Beta compiler hangs at faulty "quotes" i
in ROBOTC for LEGO MINDSTORMS
|
Ford Prefect |
0 |
2601 |
Tue Jun 24, 2008 5:41 pm
Ford Prefect
|
 |
Hi, i've write a method in order to use it in 3 differents tasks. But during the compilation i obtain 2 warning which said that i need to declare my method 'inline'. When i add inline in front of my declaration the IDE closed after the compilation!!! and when i change it to : the IDE exit after or during the compilation Any idea? Thanks.
|
Tasks and declaration inline
in ROBOTC for LEGO MINDSTORMS
|
Thibaud |
0 |
3054 |
Sun Jun 15, 2008 2:22 pm
Thibaud
|
 |
When I use transferfile in a robotc program the master nxt crashes!!I think I don't use correctly the comunication between my two nxt. Somebody can explain how to use transferfile function in robotC?? Thanks!!
|
Problem with transferfile
in ROBOTC for LEGO MINDSTORMS
|
ballant |
0 |
2663 |
Wed Jun 11, 2008 12:02 pm
ballant
|
 |
hi, to my opinion, a better way to synch motors is by this, you could have all control by only 1 command : 8)
|
proposal: improvement of the sync Motors Command
in ROBOTC for LEGO MINDSTORMS
|
Ford Prefect |
0 |
2792 |
Thu Jun 05, 2008 12:47 pm
Ford Prefect
|
 |
I click "Bluetooth" in Code Templates, and IDE pop up a "Help:Bluetooth" window. There are many functions in "NXT Bluetooth Access Functions ", but I can not find them in Code templates. Ex. getFirstDevice(nResult, nHandle); getNextDevice(nResult, nHandle); getDeviceAddr(nResult, nHandle, sAddr); getDeviceClass(nResult, nHandle, sCOD); getDeviceName(nResult, nHandle, sName); getDeviceStatus(nResult, nHandle, nStatus); I can not find them in help document. Will they...
|
About NXT Bluetooth Access Functions
in ROBOTC for LEGO MINDSTORMS
|
renchiou |
0 |
3701 |
Tue Jun 03, 2008 9:51 am
renchiou
|
 |
Hi All, Is there a command or function to easily sort a 2D array? For example in the code below, what would be the most efficient way to sort the array in height order? Thanks James
|
Best/most efficient way to sort 2D Arrays?
in ROBOTC for LEGO MINDSTORMS
|
JamesD |
0 |
2962 |
Thu May 08, 2008 4:02 am
JamesD
|
 |
Hello, I have had a bug while running my program on NXT brick and the message on the screen was about memory (i don't remember the exact message) So I decided to optimize the place used by variables, by using bitfield (instead of a bool for each boolean variable). But it gives me errors at compilation. Isn't bitfield supported by RobotC? Another question : how to know the size of memory used by variables (if I am near the 15k !!) and even by code? thanx, Bichon.
|
bitfield and size optimization
in ROBOTC for LEGO MINDSTORMS
|
bichoncby |
0 |
2997 |
Wed May 07, 2008 4:36 pm
bichoncby
|
 |
This updated firmware should take care of some of the bluetooth/crashing issues that have been reported by a few people. Replace the NXT0742.rfw found in the FIRMWARE folder on your 1.30 beta installation folder with the file linked below.
|
ROBOTC 1.30 Beta 2 - Firmware update
in ROBOTC for LEGO MINDSTORMS
|
Dick Swan |
0 |
2722 |
Fri May 02, 2008 11:43 am
Dick Swan
|
 |
Just a few quick notes: 1. Any forum trolling will be deleted and users may be banned. 2. Message bumping is highly discouraged. No single post is more important than an other. Persistent "bumpers" will be banned. 3. This is a user community forums. The developers check this forum on a regular basis but do not always have time to respond to every message. If something is urgent, please file a bug report. We do read all forum posts, however. 4. Please keep all posts in English so...
|
ROBOTC Forum Notes
in ROBOTC for LEGO MINDSTORMS
|
tfriez |
0 |
15248 |
Tue Apr 29, 2008 4:01 pm
tfriez
|
 |
this following program shows a funktion getch() which is supposed to be a good way to read if one of the NXT keys has been pressed. By this your program can react to a button press during run time and thus you can run different sub programs or even enter values. In order to be able to avoid a program abortion if the Exit Key has been pressed you can set the value of the variable which defines the count of a series of Exit Button Clicks so that the program stops , e.g. nNxtExitClicks=3; // exit...
|
Reading if a NXT key has been pressed
in NXT Programming: Tips for Beginning with ROBOTC
|
Ford Prefect |
0 |
4657 |
Sun Apr 27, 2008 4:46 am
Ford Prefect
|
 |
In hope for a reply by Dick Swan... Hello We are working on a project where we plan to use an RCX machine as some sort of scanner, reading a paper with binary code filled by user with by us pre-defined variables for moving a robot around. The moving robot will be a NXT-build. For the communication between scanner and moving robot we plan to use mindsensors RCX to NXT Communication Adapter (NRLink-Nx). I imagine we will send some sort of messages from the RCX to the NXT, (char by char), which...
|
Communication RCX/NXT and storage of data
in ROBOTC for LEGO MINDSTORMS
|
tompabompa |
0 |
2971 |
Thu Apr 17, 2008 1:39 pm
tompabompa
|
 |
Hi, Does anyone know where I could find the RobotC's architectural design? I mean some kind of deployment diagram etc.... I need to see how the RobotC package structure is in order to document some notes.... Regards, giannis
|
ROBOTC DESIGN
in ROBOTC for LEGO MINDSTORMS
|
giannisAPI |
0 |
3086 |
Wed Apr 16, 2008 9:48 am
giannisAPI
|
 |
Hi all, I'm doing an academic project using the NXT, and one of the functions of the robot I'm building needs signal strength information from BT to work. The plan is for a BT device (mobile phone, computer....) to send a message to the NXT and the NXT will be able to get a signal strength reading. Is this possible? Has it already been done? Any help gratefully recieved. Andy.
|
BT signal strenth
in ROBOTC for LEGO MINDSTORMS
|
andy_boy |
0 |
3229 |
Tue Apr 08, 2008 9:31 am
andy_boy
|
 |
Hi All, yesterday evening I installed RobotC Ver 1.10 on my computer. I purchsed a License ID via the Internet registration procedure. Furthermore I logged into the activation task and put Activation Code 1 for unlocking the product. At first the activation was successfull and after "continue" error Code 69 occured. I repeated the whole activation process with a second Activation Code 1 and RobotC was starting fine. Now RobotC is running without any problems, but instead of the...
|
RobotC 1.10 Activation Procedure via Internet
in ROBOTC for LEGO MINDSTORMS
|
Heywood Floyd |
0 |
3196 |
Tue Apr 08, 2008 6:30 am
Heywood Floyd
|
 |
I need to log internal variables into a text 'comma' seppared format. The principal problem is the strings limitation of 20 chars, and the write-to-file functions that only can write strings or bytes one by one. Please try to suggest any way to do this. Thanks.
|
Log Text to a file with lines longer than 20 chars
in ROBOTC for LEGO MINDSTORMS
|
tarribas |
0 |
3112 |
Sun Apr 06, 2008 6:11 pm
tarribas
|
 |
Hi all. After spending ALOT of time reading the forums, it seems as though no-one has received the advice I am looking to receive, but I hope someone will come to the rescue for this question. I am currently undertaking a project which utilises 3 NXTs: 2 which map an area and 1 that moves to a specific point determined by the two "mappers". I am aware that it is possible to transfer data between two NXTs and have been assured that "RobotC provides extensive functions when it...
|
Yet another Bluetooth transfer issue
in ROBOTC for LEGO MINDSTORMS
|
SleightTrickery |
0 |
3089 |
Wed Apr 02, 2008 7:16 am
SleightTrickery
|
 |
When I built a tracked rover that used two medium Power Function motors I wanted to have both motors turn on simultaneously. But when I used the sample code provided by mindsensors.com I discovered that I could only control one motor at a time. Time for some investigations, which led me to write new macros for the Power Function motors that allow both A and B channels to be controlled together using only one I2C bus message. I read the NRLink-Nx manual from the mindsensors.com website, and I...
|
Control two power function motors using NRLink-Nx
in Project Discussions
|
mcrosbie |
0 |
5784 |
Tue Apr 01, 2008 6:19 pm
mcrosbie
|
 |
I'm working with a group here in San Antonio with a summer program called SpaceTEAMS. They have decided on the VEX controller and the RobotC platform for their Middle and High school summer camps. So far it appears it will fit the bill very well. While researching the programming environment I was perusing some of the .h files and noticed references to the QWERK controller. That perked my interest. I'm interested in finding out if there is something that needs to be done to enable QWERK support...
|
QWERK Support
in ROBOTC.net Suggestions/Comments
|
kellyds |
0 |
7058 |
Mon Mar 24, 2008 11:23 pm
kellyds
|
 |
I've been playing around a lot with the proppeller chip from parallax. One of the really cool things they have to support it is their object exchange for spin and pasm objects. It makes learing and using the prop chip so much easier. It also makes it really easy to find example source code. It might be kind of cool to have somethign like that for robotc. I know that there are sample programs included with robotc, but these aren't updated independantly of robotc itself. It might be nice to have...
|
Object exchane for robot c
in ROBOTC for LEGO MINDSTORMS
|
squiggy |
0 |
3670 |
Sat Mar 22, 2008 5:42 pm
squiggy
|
 |
*Edit: 1327 views and not one comment - did anyone find this useful? Not to big myself up, just that I've been away for a while and learnt a lot while I was: wondered if this small stuff is useful to anyone? ---------- Oddly, the variable nMotorEncoderTarget can only be written to, it can't be read from! so things like... won't work! If you need the target value use your own variable: :)
|
Problems with nMotorEncoderTarget?
in NXT Programming: Tips for Beginning with ROBOTC
|
oli_gould |
0 |
5570 |
Wed Mar 19, 2008 3:49 pm
oli_gould
|
 |
Is it possible to download and read standard ASCII text files on the NXT with RobotC without converting them to a .rdt file? I don't see any read commands under the Datalog help. I do see some under the file access help, but help is rather limited. I have gone to the File Management utililty and hit Download, but .txt is not an option, but .rdt is. If it is not possible to read from a .txt file, how can I convert a text file to a .rdt file?
|
Reading ASCII text files in RobotC?
in ROBOTC for LEGO MINDSTORMS
|
Shep |
0 |
3863 |
Tue Mar 18, 2008 9:27 pm
Shep
|
 |
This section is for the ROBOTC community to post tips on how to use ROBOTC for beginners. It can be "How to use _____ command", or "This is the best way to do ______". This was created from a request from you! So please, make it worth while for the beginners. Thanks and with your help we will continue to help make this site (and ROBOTC itself) better.
|
READ THIS FIRST! Guidelines for this forum
in VEX Programming: Tips for Beginning with ROBOTC
|
vnguyen |
0 |
6592 |
Tue Mar 18, 2008 9:57 am
vnguyen
|
 |
This section is for the ROBOTC community to post tips on how to use ROBOTC for beginners. It can be "How to use _____ command", or "This is the best way to do ______". This was created from a request from you! So please, make it worth while for the beginners. Thanks and with your help we will continue to help make this site (and ROBOTC itself) better.
|
READ THIS FIRST! Guidelines for this forum
in NXT Programming: Tips for Beginning with ROBOTC
|
vnguyen |
0 |
4503 |
Tue Mar 18, 2008 9:55 am
vnguyen
|
 |
Hi, I am a teacher who is learning RobotC just ahead of the students. They obviously have more time than I do and are catching me fast. I am looking for a calibrated proportional line following program that I can use as a base to check against students work. We are using the vex hardware with the line follow kit. Any assistance would be greatly appreciated. :?
|
Line Following program
in ROBOTC for CORTEX & PIC
|
Desperate |
0 |
6644 |
Wed Mar 05, 2008 1:36 am
Desperate
|
 |
How can I make a RobotC program and a PC program communicate with each other via Bluetooth connection? I've searched over the internet, but found little useful information? Thanks!
|
Bluetooth between NXT and PC
in ROBOTC for LEGO MINDSTORMS
|
libra_kevin |
0 |
3373 |
Wed Feb 20, 2008 11:47 pm
libra_kevin
|
 |
Hi all, I recently order two DROD-Nx proximity sensors from mindsensors.com and wanted to see how they performed on my Synchro drive robot platform. I thought that the best way to test them would be to write a sample program to draw an “obstacle map” on the NXT screen that represented what the sensors detected. Next step is to write code for the robot to back itself out of corners and avoid obstacles. You can read more about it at I hope others find this useful... comments welcome! Mark...
|
Sample code - using a Mindsensors DROD-Nx
in Project Discussions
|
mcrosbie |
0 |
5715 |
Mon Feb 11, 2008 1:46 pm
mcrosbie
|
 |
1) Would someone clarify the differences among the following event types: eventTypeEnterLow eventTypeEnterNormal eventTypeEnterHigh It seems to me that "...High" is better to use. Have not done thorough testing to provide an intelligent answer as "why" yet. Anyone? 2) Is TEventTypeMask useful for user or just mainly for robotc's internal only. 3) Anyone tried out "eventTypeMailbox"? I have not got the time to test this. I would imagine this is for mailbox/RCX. 4)...
|
Events Guide
in ROBOTC for LEGO MINDSTORMS
|
elizabeth.mabrey |
0 |
3264 |
Tue Feb 05, 2008 7:44 am
elizabeth.mabrey
|
 |
Hi, I am a computer science student, and am working with one of the professors here on some machine learning/robotics projects. We are using the Vex platform for much of the stuff, but neither of us (nor anyone else on the project) are expereienced with the platform. I've spent quite a while trying to dig up more detailed information about the Vex platform, but I still am confused about some things. Since we have opted to go with Robot C, I thought this might be the best place to ask a few...
|
Using Sensor ports for output with Vex
in ROBOTC for CORTEX & PIC
|
neocognitron |
0 |
5326 |
Fri Feb 01, 2008 3:35 pm
neocognitron
|
 |
RobotC Developers, I am using ROBOTC for Mindstorms 1.10 with the RCX platform. The datalog functionality appears mostly in-tact except for the final step of uploading it to the PC. I suspect the uploading functionality worked at some point in the past because the UploadDatalod() function is documented as an internal RobotC function. However, with the 1.00 and 1.10 RobotC releases, I cannot figure out how to retrieve the datalog to a file on the host PC. I've scoured the documentation in RobotC...
|
datalog retrieval from an RCX
in ROBOTC for LEGO MINDSTORMS
|
comperem |
0 |
4597 |
Sun Jan 13, 2008 9:32 pm
comperem
|
 |
When will the new version of robotc be release? I thought it was going to be release on Saturday prior to the kickoff. It's just that I'm anxious for the new version :o
|
ROBOTC 1.10
in ROBOTC for CORTEX & PIC
|
xavier10469 |
0 |
5964 |
Mon Jan 07, 2008 8:55 pm
xavier10469
|
 |
When I go in View | Preferences RobotC 1.10 crash/disappear without trace! Everything else works and fortunately I don't need to change anything in the preferences - I can see that because RobotC works without problem on another of my computers!?! They are both Dell running Windows XP SP2. The one with the problems has a Bluetooth stack which the MindStorm installation program marked as incompatible. On the other computer where RobotC 1.10 works (a laptop) the Bluetooth was recognized but may...
|
RobotC 1.10 crash/disappear when selecting preferences
in ROBOTC for LEGO MINDSTORMS
|
andrew |
0 |
3986 |
Thu Dec 27, 2007 10:08 am
andrew
|
 |
The winter issue of Robot magazine contains a comparison of the various programming solutions for the NXT. It’s available online at . The comparison includes implementation of a simple line following program using the different programming languages including screenshots from the different environments.
|
ROBOTC Comparison with Other NXT Programming Environments
in ROBOTC for LEGO MINDSTORMS
|
Dick Swan |
0 |
3644 |
Thu Nov 15, 2007 10:48 am
Dick Swan
|
 |
Hi, I have just published on my web site ( ). There are some important improvements in the control law (ie the scb's trigger). You can also use Matlab to analyze log data in the data.txt file. Your comments or suggestions are welcomed. simon
|
LegoSegway with RobotC
in Project Discussions
|
scb |
0 |
6295 |
Mon Oct 29, 2007 2:51 pm
scb
|
 |
I just enabled the ability to put up avatars to go along with your user profiles. Go to your Profile to add them. There are dimension and file size restrictions. Have fun.
|
Avatars
in ROBOTC Forums Suggestions/Comments
|
vnguyen |
0 |
7222 |
Fri Oct 05, 2007 3:26 pm
vnguyen
|
 |
Can you give me the detail Function of components at Robot C??? if can,can you give me the example of each components??? thanks you...
|
More , More And More !!!
in ROBOTC Forums Suggestions/Comments
|
suwandi_wieming |
0 |
7605 |
Mon Sep 17, 2007 6:01 am
suwandi_wieming
|
 |
This is my firts version of the game. I used RobotC and built a Joystick with vibration system to control the torpedoes. the program, video and Joystick's LDD instructions (firts version of tehe joystick) on
|
Battle Ships game on the NXT -firts version
in Project Discussions
|
Koldo |
0 |
5519 |
Wed Sep 05, 2007 3:03 pm
Koldo
|
Display posts from previous: Sort by: |