ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 07-04-2010
Kenny Macleod's Avatar
Kenny Macleod Kenny Macleod is offline
Flexsim Australia
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 136
Downloads: 114
Uploads: 0
Thanks: 86
Thanked 38 Times in 18 Posts
Rep Power: 176
Kenny Macleod will become famous soon enoughKenny Macleod will become famous soon enough
Default Modelling a 12-joint robot!

We have an interesting situation here where a small robot has been bolted onto the end of a larger robot - giving a 12-jont long-reach megga-supple robot. To add to the fun, it's sitting on a rail!!

Has anyone built such a beast before, or know how to?

I'm wondering if it's possible to latch one robot onto the end of another and use parameters of both robots to build an overall motion path. Alternatively, as it's a welding robot and doesn't actually need to transport anything, I could maybe do it in animator; but I suspect that getting realistic movement across all 12 joints would be difficult.

Any suggestions?

Thanks, Kenny

Last edited by Kenny Macleod; 07-04-2010 at 06:47 PM. Reason: Typo
  #2  
Old 07-12-2010
Kenny Macleod's Avatar
Kenny Macleod Kenny Macleod is offline
Flexsim Australia
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 136
Downloads: 114
Uploads: 0
Thanks: 86
Thanked 38 Times in 18 Posts
Rep Power: 176
Kenny Macleod will become famous soon enoughKenny Macleod will become famous soon enough
Default

I opted to try to build and animate the double robot but Flexsim keeps crashing when I add new objects to the animator.

It doesn't seem to be at any particular spot and there's no error messages that I can see, other than the Windows message "Flexsim Engine has stopped working".
  #3  
Old 07-13-2010
Esther Bennett Esther Bennett is offline
Flexsim User
 
Join Date: Mar 2008
Posts: 115
Downloads: 27
Uploads: 0
Thanks: 103
Thanked 116 Times in 50 Posts
Rep Power: 271
Esther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to allEsther Bennett is a name known to all
Default

Hello Kenny,

I managed to add a second robot to the first by adding objects via the animation creator one by one. Flexsim did crash though when I tried the 'easy' way by copying all robot objects via the tree in the visualization/drawsurrogate node. But this was just a start, then I tried to model the movements by modifing the arm movement with the cpp functions, though I did not got this to work yet and did not have time to look any further (I was trying to solve your problem outside working hours as a hobby...). When I have more time I will try to take a look again, but it should be possible to add the second robot.

Esther
The Following User Says Thank You to Esther Bennett For This Useful Post:
Tom David (07-14-2010)
  #4  
Old 07-13-2010
Kenny Macleod's Avatar
Kenny Macleod Kenny Macleod is offline
Flexsim Australia
 
Join Date: May 2008
Location: Melbourne, Australia
Posts: 136
Downloads: 114
Uploads: 0
Thanks: 86
Thanked 38 Times in 18 Posts
Rep Power: 176
Kenny Macleod will become famous soon enoughKenny Macleod will become famous soon enough
Default

Thanks Esther, i hope you enjoyed the challenge.

I finally managed to get all shapes aligned in the animator (it kept crashing) but couldn't get the animation going - something in there must be clashing with something else because it crashed then too (although it may be my PC). To be honest, I REALLY didn't want to attempt to manage 12 joints individually over a complex set of movements; the robot was to simulate welding along each seam of a car.

Kris and I managed to get something working (OK, he managed; I watched and encouraged) using two standard robots, rather than the animator.

The child robot was dropped onto the parent and each is individually managed using its own parameter options. The main robot has use of the blue Planning Object, and the child is controlled by the sliders in the geometry tab. There's some custom coding to pull it all together.

Once it works properly, and if Kris agrees, we may be able to publish it.

Kenny
The Following 3 Users Say Thank You to Kenny Macleod For This Useful Post:
Tom David (07-14-2010)
  #5  
Old 07-20-2010
Anthony Johnson's Avatar
Anthony Johnson Anthony Johnson is offline
Manager of Product Development
 
Join Date: Jul 2007
Posts: 440
Downloads: 86
Uploads: 4
Thanks: 171
Thanked 899 Times in 288 Posts
Rep Power: 735
Anthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond repute
Default

BTW, this is probably too late, but I think the reason your model is crashing is because the robot's end effector has its own drawsurrogate attribute that points back up to the main robot, so that flowitems are drawn as if they are inside the robot end effector. If you copy one robot's drawsurrogate structure, then paste that into the end effector of another robot, the copied end effector's draw surrogate attribute will reference a path somewhere back up into the drawsurrogate sub-structure, instead of to the main robot. This means that the drawing will get into an infinite loop of drawsurrogates and crash from stack overflow. So if you want to copy/paste, make sure you delete the drawsurrogate of the end-effector before copying. Probably too late anyway, but for what it's worth...
The Following 5 Users Say Thank You to Anthony Johnson For This Useful Post:
Lars-Olof Leven (07-20-2010)

Tags
robot


Thread Thread Starter Forum Replies Last Post
Articulated Robot Library Kris Geisberger User Development 43 12-21-2010 11:17 PM
Help with Robot Larry Goins Q&A 2 08-07-2009 12:20 AM
Robot places onto tray as it moves on conveyor Sean Browning Q&A 3 10-17-2008 08:58 PM
Robot processing Sung Kim Q&A 7 08-27-2008 06:48 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.