 | | Re: undefined reference to `___ucmpsi2'
|
|
Hi, The problem is that wakeup_t is an unsigned long, and in order to save space, the switch statement is optimized to call a library comparator, ucmpsi2. Since the argument to ds_scale is an unsigned int, the argument to LIGHT should also be an (...) (26 years ago, 18-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Vision command & macintosh
|
|
(...) I had heard that the actual camera was a Logitech QuickCam, but I could find no Mac drivers on their site that will work with the Lego camera. Any ideas? John (26 years ago, 18-Jan-01, to lugnet.robotics, lugnet.robotics.rcx)
|
| |
 | | Re: Sharing USB cable between IR and VC?
|
|
(...) 1. The "hub" inside the camera will not help you unless it actually has additional "ports" on it. It's probably a one port "USB Hub" which is present as a result of logitech using someone else's USB solution instead of developing a custom (...) (26 years ago, 18-Jan-01, to lugnet.robotics)
|
| |
 | | Re: RCX Firmware (was: Remote dead, what to do?)
|
|
(...) Thanks for the clarification. So... am I correct to assume that there is some portion of the RCX firmware that is not accessable for update/replacement? This would be the portion that describes/controls the 'built-in functions? Thanks again, (...) (26 years ago, 18-Jan-01, to lugnet.robotics)
|
| |
 | | Re: Scout Booster Set
|
|
you may want to hold off on purchasing an IR tower, john barnes is working on one that uses the power from the serial port(doing away with the battery) and the parts should be very cheap. i will be working on a free-form solution that should fit (...) (26 years ago, 18-Jan-01, to lugnet.robotics.scout)
|
| |
 | | Re: Remote dead, what to do?
|
|
(...) Correct, the Remote requires Firmware in the RCX. (...) No. It needs the Firmware to set up the IR port to receive the commands. The Built-in programs will run without firmware with the RUN Button. (...) The SCOUT always has it's firmware. (...) (26 years ago, 18-Jan-01, to lugnet.robotics)
|
| |
 | | RE: Cable length
|
|
You mean the 9-pin cable for the IR tower, right. Yes, you can use a much longer cable. Get one with one female (holes) and one male (pins) connector, and you should be OK. You have to use it on the computer end, because the tower only accepts a (...) (26 years ago, 18-Jan-01, to lugnet.robotics)
|
| |
 | | undefined reference to `___ucmpsi2'
|
|
I get this error when linking if I have the following in my source code in a wait_event function: #define THRESHOLD (unsigned short)50 static wakeup_t light_found(wakeup_t sens_num) { switch (sens_num) { case 2: return (LIGHT(SENSOR_2) > THRESHOLD); (...) (26 years ago, 18-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: pass by refrence or value?
|
|
Did you care to declare your global variable as volatile? this (normaly) prevent the compiler to optimize memory access and force it to read the actual value of the variable each time it need it ( instead of localy storing it in a register wich will (...) (26 years ago, 18-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | c++ changes
|
|
After some prompting, I have made the method names in the c++ classes uniform in case. Unfortunately, the changes are not backward compatible. Please let me know of any problems you discover. If I don't hear of any problems, I'll check in the (...) (26 years ago, 18-Jan-01, to lugnet.robotics.rcx.legos)
|