View unanswered posts | View active topics It is currently Mon Nov 24, 2014 12:02 am






Reply to topic  [ 9 posts ] 
4 controllers 
Author Message
Rookie

Joined: Thu Jul 02, 2009 9:02 am
Posts: 25
Post 4 controllers
We where trying to connect 3 motor controllers and 1 servo controller to our NXT. however it appears that when we tried to connect all four in series, RobotC couldn't configure it, and when we tried to connect the motor controllers in series on S1 and the servo controller on S2, it couldn't detect the battery. it says in the FTC rules that we are allowed to attach four controller, but it this possible? if so, how?

it just makes me want to :breakcomputer:


Sun Nov 15, 2009 4:56 pm
Profile
Rookie

Joined: Thu Nov 06, 2008 4:35 pm
Posts: 12
Post Re: 4 controllers
when the controllers are daisy chained, in RobotC dose the chain match in the TETRIX controller tab in motors and sensors setup?

_________________
Palm Harbor University High School, Robotics team Pandara #506


Sun Nov 15, 2009 11:37 pm
Profile
Rookie

Joined: Thu Jul 02, 2009 9:02 am
Posts: 25
Post Re: 4 controllers
this is the odd part. no matter how many ways i try, whenever i try to set that fourth controller in robotC, it will not save the changes. it did that in every version of robotC. when i hit apply, it sets the fourth controller to none.


Mon Nov 16, 2009 1:12 pm
Profile
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: 4 controllers
My guess is that this is some bug in the Motor and Sensor Setup dialog, your best bet is to just write the fourth controller in manually. To do this just copy the form of the other controllers as defined in the first #pragma statement.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Mon Nov 16, 2009 5:02 pm
Profile
Rookie

Joined: Thu Jul 02, 2009 9:02 am
Posts: 25
Post Re: 4 controllers
i just tried this and it didn't complain. i haven't tested it yet, but we can do that at our next meeting.

this might be something they will want to look into though. is there some place to report bugs?


Mon Nov 16, 2009 5:45 pm
Profile
Expert
User avatar

Joined: Tue Oct 14, 2008 7:16 pm
Posts: 171
Location: Investigating an unidentified ship sighted in Sector 31428
Post Re: 4 controllers
Post them in the thread about version 2.00.

_________________
Captain, Head programmer, School of the Arts, Silverbots Robtics Team #2890
Code:
using namespace System;
using namespace Genius;
using namespace Personality;
public ref class Nerd : Geek, IAnserable
{
    Geek::Type brainMode = Geek::Type::Programmer;
}


Mon Nov 16, 2009 7:24 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: 4 controllers
We've fixed this issue and are going to release an update soon.

In the mean time, you can manually add "HTMotor" or "HTServo" to the #pragma line to use the 4th device. This is only an IDE code generation bug, not a compiler or firmware issue.

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Mon Nov 23, 2009 11:26 am
Profile
Rookie

Joined: Thu Jul 02, 2009 9:02 am
Posts: 25
Post Re: 4 controllers
thats good. thanks

i'm glad i was able to help find a bug :D
and i'm really glad to find the bug being resolved.


Sat Nov 28, 2009 4:18 pm
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 613
Post Re: 4 controllers
Fixed in 2.00.1. Thanks :)

Image

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Mon Nov 30, 2009 4:45 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.