Go to Post Why subject your robot to a potential sensor failure when you can train a monkey (or a student, if monkeys are lacking) to put the tube at the right height every time? - JVN [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 16-02-2011, 15:27
mocibot's Avatar
mocibot mocibot is offline
Registered User
FRC #1829 (Carbonauts)
Team Role: Student
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Here
Posts: 21
mocibot is just really nicemocibot is just really nicemocibot is just really nicemocibot is just really nice
CAN Bus Position Mode problem

Our team is trying to figure out Position mode using CAN Bus, We are following this tutorial and we got the motor to spin, but it does not stop by itself, we have to disable the robot for it to stop. We have changed the PID and all that seams to do is change how fast it get's to top speed. For this we are using 1 CIM motor in a CIMple gear box with a US Digital Encoder EP4 Shaft encoder on the CIMple box. We are using LabVIEW. Any help is greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2011, 15:48
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,560
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CAN Bus Position Mode problem

It sounds like the motor is going the opposite direction that the PID expects. The more it drives the motor the farther it gets from the setpoint, so it speeds up.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2011, 15:54
mocibot's Avatar
mocibot mocibot is offline
Registered User
FRC #1829 (Carbonauts)
Team Role: Student
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Here
Posts: 21
mocibot is just really nicemocibot is just really nicemocibot is just really nicemocibot is just really nice
Re: CAN Bus Position Mode problem

Ok, thanks for that, I do remember that in we had to invert the position for it to be a positive number... I will pass this on to the rest of the programing team to test it.
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


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

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