Lynxmotion Tech Support

www.lynxmotion.com
It is currently Tue Jun 18, 2013 7:34 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 190 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13  Next
Author Message
PostPosted: Thu Oct 04, 2012 2:48 pm 
Offline
Site Admin
User avatar

Joined: Fri Aug 31, 2012 7:45 am
Posts: 563
Quote:
My CAD skills are terrible so it would probably take me a while to draw up nice looking 3D models of the robot


Try Google sketchup (easiest to make nice looking parts). Not the best of CAD software, but getting better all the time. There are some free CAD programs available too - try the more popular ones.

_________________
Coleman Benson
Lynxmotion
Imagine it. Build it. Control it.™
http://www.Lynxmotion.com


Top
 Profile  
 
PostPosted: Thu Oct 04, 2012 2:57 pm 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Ah yes, I've been meaning to try that out - thanks! :mrgreen:

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Thu Oct 04, 2012 7:49 pm 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Being bored - I decided to give Sketch-Up a go. I love it! It's so easy to use! :mrgreen: :D
Did a quick 'sketch' - didn't turn out too bad. ^___^


Attachments:
Sketch-Up Test.jpg
Sketch-Up Test.jpg [ 58.65 KiB | Viewed 663 times ]

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk
Top
 Profile  
 
PostPosted: Thu Oct 04, 2012 8:02 pm 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Quick servo too. ^___^


Attachments:
Quick Servo.jpg
Quick Servo.jpg [ 73.98 KiB | Viewed 661 times ]

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk
Top
 Profile  
 
PostPosted: Fri Oct 05, 2012 10:43 am 
Offline
Roboteer
User avatar

Joined: Wed Jun 10, 2009 10:33 am
Posts: 287
Location: Boston, MA
How do you get the components a specific size with Google Sketch-Up? I remember being able to draw a circle to a specific radius - but not how to add a specific thinkness to it?

_________________
Heard in the workshop: PEBRAC...


Top
 Profile  
 
PostPosted: Fri Oct 05, 2012 11:30 am 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
I'm sorry, I have no idea - I did all by eye yesterday. :mrgreen:
I'll have a better play around with it later on and let you know. ^___^

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Fri Oct 05, 2012 11:41 am 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Um...had a quick look - nothing seems obvious at the moment however there is 'Measurement' box in the bottom right which tells you the dimensions of the object you're making whilst you do it.

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Fri Oct 05, 2012 11:45 am 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Apparently, you use a co-ordinate system to draw the precise shape:
http://support.google.com/sketchup/bin/answer.py?hl=en&answer=95599

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Thu Oct 11, 2012 5:55 am 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Hi guys! :mrgreen:
So it's been quite a while and I've been fighting with the walking code and it's sort of getting somewhere (I think :wink:) but I wanted to ask a question.

Is it possible to set an offset angle as 0 for the servo? For example:

Say that Servo A is plugged into P1. If I wanted +15 degrees to become the new 0, is there a way I can write some code so it says that the 0 value is +15 degrees so that if I type ...
Code:
hservo [p1\0\1000]

... the servo goes to +15 degrees?

Thank you! ^__^

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Thu Oct 11, 2012 9:36 am 
Offline
Roboteer

Joined: Wed Mar 16, 2011 2:22 pm
Posts: 176
Location: Chicago, IL
I don't really know this programming language but this concept should work universally.

Make a constant at the beginning of your code called P1Zero or something. Then use P1Zero+(angle) in your hservo call.

Example:

P1Zero = 15

hservo (P1\P1Zero+0\1000)

That would move the servo to 15degrees.


Top
 Profile  
 
PostPosted: Thu Oct 11, 2012 11:03 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4422
I think Marcham answered this pretty well. If you were using an SSC-32 to control the servos, there are ways to tell the SSC-32 what the servo offsets are for each servo. Although it is limited to I believe + or minus 100 (us) Which probably does not give you the 15 degrees.

If you look at the Phoenix code (for example the 2.1 beta stuff that was posted). I had code in place for the ARC32, which gave a way using the keyboard to enter into Servo Zero offset mode, which you use the debug terminal to find the proper offsets, which I store in the EEPROM of the ARC32. The code then reads these offsets in at init time into an array aServoOffsets, which I then use in all of the place I output stuff to the servos... For example in the function UpdateServoDriver, as well as my emulation of running sequences.

Kurt


Top
 Profile  
 
PostPosted: Fri Oct 12, 2012 12:28 am 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Thanks for the help guys! :D
I think I'll be using Marcham's idea since it's easier to use. ^___^

Thanks again! :mrgreen:

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Fri Oct 12, 2012 8:32 am 
Offline
Robot Guru
User avatar

Joined: Sat Apr 15, 2006 1:42 pm
Posts: 4422
Actually they are the same idea, just pointed out a place where it was done :P :lol:

Although I must admit what I pointed to you is a bit more complex, in that what we passed to the function to output was in 10ths of a degree, so you also had to do the conversion to HSERVO units. Also the code does the work for timed moves, where all of the leg joints get to desired position at the same time...

Good Luck
Kurt


Top
 Profile  
 
PostPosted: Sat Oct 13, 2012 1:34 am 
Offline
Roboteer
User avatar

Joined: Sun Jul 03, 2011 11:26 am
Posts: 530
Location: The 10th Dimension
Thanks. I should hopefully be able to make some headway this weekend. ^___^

_________________
ROBOTS FTW! ^____^
http://kaizoku-robots.co.uk


Top
 Profile  
 
PostPosted: Sat Oct 13, 2012 8:06 am 
Offline
Roboteer

Joined: Sat Apr 23, 2011 9:07 am
Posts: 262
Location: Maryland, USA
Why, Grandmother, what big eyes you have! :P

_________________
Ted, RoboTed
Never quite finishing means never having to admit failure!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 190 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12, 13  Next

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: KevinO 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® Forum Software © phpBB Group