OCCRA
Go to Post The big lesson we learned ... our past does not limit our future, that superior attitude will beat out big budgets. - [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 01-10-2018, 03:21 PM
FredyK200 FredyK200 is offline
Registered User
FRC #0240
 
Join Date: Jan 2015
Location: Jefferson High
Posts: 4
FredyK200 is an unknown quantity at this point
Question Record and Play Motor Movements

This year we are planning on making a robotic arm like the ones used in manufacturing to grab and move the power cubes.We are also planning on having set positions for the arm to move to (One for grabbing a cube, one for placing it in the switch and one for the scale)

We are wondering what your ideas where for how to do this, My current plan is to use encoders to track distance and maybe save the output of the motors somewhere so that the code can read it back later.

Any input would be appreciated as past years we have had trouble with precise encoder readings and have no experience saving and reading data for FRC.

Thank you
Reply With Quote
  #2   Spotlight this post!  
Unread 01-10-2018, 03:33 PM
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 297
JeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond repute
Re: Record and Play Motor Movements

As a serious question, are you mad at yourselves?

I'm not sure of any way to record those motor movements. But, if you do decide this is the route you want to take (and can do so without extending beyond 16" from your frame perimeter), you'll probably have more sustained success looking into working with encoders and PID than you will trying to play things back as if there aren't any variables that can change the way you'd want things to play out.
__________________


Any thoughts I share are meant to be my interpretation of rules/events/intents. They shouldn't be viewed as anything even approaching an official viewpoint.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-10-2018, 04:09 PM
MuskieProgramme MuskieProgramme is offline
Registered User
FRC #6420 (Fire Island Robotics)
Team Role: Alumni
 
Join Date: Dec 2016
Rookie Year: 2014
Location: Muscatine, IA
Posts: 305
MuskieProgramme is a glorious beacon of lightMuskieProgramme is a glorious beacon of lightMuskieProgramme is a glorious beacon of lightMuskieProgramme is a glorious beacon of lightMuskieProgramme is a glorious beacon of lightMuskieProgramme is a glorious beacon of light
Re: Record and Play Motor Movements

This manipulator ticks all of my DO NOT PUT ON ROBOT boxes. It is mechanically, electrically, and programatically difficult.
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 01-10-2018, 04:17 PM
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 297
JeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond repute
Re: Record and Play Motor Movements

Quote:
Originally Posted by MuskieProgramme View Post
This manipulator ticks all of my DO NOT PUT ON ROBOT boxes. It is mechanically, electrically, and programatically difficult.
Add one more tick to "difficult for the driver to maneuver"
__________________


Any thoughts I share are meant to be my interpretation of rules/events/intents. They shouldn't be viewed as anything even approaching an official viewpoint.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-11-2018, 06:45 PM
FredyK200 FredyK200 is offline
Registered User
FRC #0240
 
Join Date: Jan 2015
Location: Jefferson High
Posts: 4
FredyK200 is an unknown quantity at this point
Re: Record and Play Motor Movements

I'm an alum and I agree it's a terrible idea, But part of me also feels like it'd be a fun programming challenge. If we stick with this idea I'll let you guys know how it turned out
Reply With Quote
  #6   Spotlight this post!  
Unread 01-11-2018, 07:07 PM
Mitch Stokes's Avatar
Mitch Stokes Mitch Stokes is offline
Berkeley Engineering
AKA: Mitchel Stokes
no team
Team Role: College Student
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Berkeley, CA
Posts: 744
Mitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond reputeMitch Stokes has a reputation beyond repute
Re: Record and Play Motor Movements

Quote:
Originally Posted by FredyK200 View Post
This year we are planning on making a robotic arm like the ones used in manufacturing to grab and move the power cubes.We are also planning on having set positions for the arm to move to (One for grabbing a cube, one for placing it in the switch and one for the scale)

We are wondering what your ideas where for how to do this, My current plan is to use encoders to track distance and maybe save the output of the motors somewhere so that the code can read it back later.

Any input would be appreciated as past years we have had trouble with precise encoder readings and have no experience saving and reading data for FRC.

Thank you
So first off if you decide that that is what you REALLY want to do, you're going to need to save the data onto a text file on the roborio and read it back later. But if you are going to put an encoder on your arm anyway, I have no idea why you would want to record motor movements when you can just use the encoder data and a PID to do a position controller anyway. Since it seems like your idea is to have some sort of a smooth movement between arm locations, you'd be better off writing a motion profiling system for the arm to follow, i.e. write a function that creates a motion profile to follow when you give it a start and end point.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-11-2018, 08:14 PM
Owen Makin Owen Makin is offline
Registered User
FRC #1972
 
Join Date: Jan 2013
Location: CUHS El Centro
Posts: 57
Owen Makin is an unknown quantity at this point
Re: Record and Play Motor Movements

1717 did something like this during Lunacy, which was i think 2009. Its mentioned in the book A New Cool. Follow what the other people were saying move to a set point dont try to record the movements. If you truly want to do it though, do it the easy way first then once you have some practice attempt the hard way. Maybe you can contact someone from 1717 to help you. I know they used java that year
Reply With Quote
  #8   Spotlight this post!  
Unread 01-12-2018, 09:00 AM
JeffB JeffB is offline
Registered User
FRC #5052 (RoboLobos)
Team Role: Mentor
 
Join Date: Apr 2015
Rookie Year: 2014
Location: Austin
Posts: 297
JeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond reputeJeffB has a reputation beyond repute
Re: Record and Play Motor Movements

Quote:
Originally Posted by Owen Makin View Post
1717 did something like this during Lunacy, which was i think 2009. Its mentioned in the book A New Cool. Follow what the other people were saying move to a set point dont try to record the movements. If you truly want to do it though, do it the easy way first then once you have some practice attempt the hard way. Maybe you can contact someone from 1717 to help you. I know they used java that year
3310 struggled through it in 2015's Recycle Rush as well.
__________________


Any thoughts I share are meant to be my interpretation of rules/events/intents. They shouldn't be viewed as anything even approaching an official viewpoint.
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 04:40 PM.

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


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