Go to Post Sleep? What is sleep? - artdutra04 [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2010, 19:19
unobtainium-42's Avatar
unobtainium-42 unobtainium-42 is offline
Team President
AKA: Eric Eaton
FRC #0670 (Homestead Robotics Team)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Sunnyvale, CA
Posts: 24
unobtainium-42 is an unknown quantity at this point
Switch mode in C++

Is there a way to change the CANJaguar's mode in realtime like bdc-comm? I would like to switch between current and voltage control. The class does not have such a method and I was wondering why. I could add the function myself, but I thought there might be a reason why there isn't one.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-02-2010, 21:33
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Switch mode in C++

If you destroy the instance of the CANJaguar class and re-make it you might get it working. CANJaguar has a destructor so it may be meant to do this
__________________

"To have no errors would be life without meaning. No strugle, no joy"
"A network is only as strong as it's weakest linksys"
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[OCCRA]: VEX mode switch apalrd OCCRA Q&A 1 05-10-2009 16:23
code example to set 4x encoder decoding mode mode fdelagarza C/C++ 1 02-02-2009 17:14
Good Switch For Autonomous Mode Select misterfoo Electrical 11 19-03-2006 16:37
Need Help Wiring Micro Switch/Limiting Switch Windward Electrical 2 07-02-2006 18:26
pic: Autonomous Mode Switch Gary Bonner Robot Showcase 4 18-02-2005 21:58


All times are GMT -5. The time now is 02:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi