StampNut2,
You're asking for help with and examples for changes in a program that's pretty complex and that you don't seem to understand enough about. For one of us to talk about where you might insert the code to read the GD2P12 sensors, we would have to understand the subsumption board program in detail, understand the GD2P12 sensors and the co-processor as well as what you want to do with the sensor information since you've only given a high level sketch of this.
What we're suggesting is that you back up, master the basic operations like reading each of the sensors separately, moving the motors as you want them, particularly with respect to the timing constraints (the 20ms cycle) and the interaction between the co-processor and the Stamp. You should understand the subsumption engine if you don't already and see how it works with the sensors and motors included in the example. At that point, you should have a better idea yourself of how to integrate the new stuff into it.
Our usual task here is to help people through misunderstandings or to point out a source of information or a specific reference that one of us may remember, but the questioner hasn't seen. These are questions that may seem complicated or difficult to the questioner, but relatively easy to someone else.
Your question is complex and would require a lot of work on our part just to understand the details (the overall concept isn't hard, but that's not what you're asking about). You could hope for the incredible luck to find someone who has already done exactly what you want to do and is willing to share their knowledge. That doesn't seem to be the case. You might have better luck with Blue Bell Design since they're the ones supply the co-processor and the sample subsumption engine programs.
Post Edited (Mike Green) : 8/12/2007 5:00:14 AM GMT
Mike Green, Thank you for your reply and your explanation of the complex question that I have asked. I see your point I have emailed Harry at bluebell and I received a very long explanation today of my requests. He has answered quite a lot of what I have asked here, He has also sent a PDF manual on his subsumption engine and has asked that I read this to get a better understanding of the co-processor, Then as you have stated Mike, do small sample codes of my sensors to see how they operate and then gradually increase the sensor range. This is fine, but my main problem is understanding how to string all of this together to create one program. being of the older generation I do not find this an easy task. It looks like I am trying to run before I can walk. Thanks to everyone who has replied you are a great inspiration.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never give up when things go wrong.
StampNut2 said...
This is fine, but my main problem is understanding how to string all of this together to create one program. being of the older generation I do not find this an easy task.
I think you're forgetting that as you progress in understanding each separate part, the solution to stitching it all together will become more apparent to you. You'll know which sensors take a long time, which ones can be made lower priority, etc, etc. As for old age, pff, we have members here that are well into their 80s, so that excuse is out the window :P Go at the pace you're comfortable with. Try not to get ahead of yourself and above all, have fun!
Gr,
Xander
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| Any sufficiently advanced technology is indistinguishable from magic.
I'm glad you got the help you needed. It's always nice when a manufacturer like Blue Bell Design supports their products like this.
You really are dealing with a very complex system. Please take the time to understand the subsumption engine ... it may be straightforward, but it's not simple. You may not appreciate this, but you're really pushing the capabilities of the Stamp (and co-processor) in adding these sensors. It's not that it can't be done .. it can, but it will require more care and attention to detail ... more understanding of what's going on.
Take your time, learn what you have to learn ... not just reading, but reading and trying things out.
Mightor As for old age, pff, I had to *laugh* at that one, I think you know what I mean though, The younger generation do pick this sort of stuff up pretty quickly. Thanks for your reply. Mike Green Yes Harry has been an inspiration, Ever since I purchased two of his subsumption boards he always kept in contact and he never ceases to amaze me with his knowledge he shares. The reason I also asked the same questions here was to gain knowledge from a different sector and combine the two, it never hurts to ask questions.
Again thanks to everyone.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never give up when things go wrong.
It can be programmed in SX/b (BASIC), assembly, and now there are a couple options for a C compiler. For now you should probably stick with what you've got but if you need more performance and control there are options.
Comments
You're asking for help with and examples for changes in a program that's pretty complex and that you don't seem to understand enough about. For one of us to talk about where you might insert the code to read the GD2P12 sensors, we would have to understand the subsumption board program in detail, understand the GD2P12 sensors and the co-processor as well as what you want to do with the sensor information since you've only given a high level sketch of this.
What we're suggesting is that you back up, master the basic operations like reading each of the sensors separately, moving the motors as you want them, particularly with respect to the timing constraints (the 20ms cycle) and the interaction between the co-processor and the Stamp. You should understand the subsumption engine if you don't already and see how it works with the sensors and motors included in the example. At that point, you should have a better idea yourself of how to integrate the new stuff into it.
Our usual task here is to help people through misunderstandings or to point out a source of information or a specific reference that one of us may remember, but the questioner hasn't seen. These are questions that may seem complicated or difficult to the questioner, but relatively easy to someone else.
Your question is complex and would require a lot of work on our part just to understand the details (the overall concept isn't hard, but that's not what you're asking about). You could hope for the incredible luck to find someone who has already done exactly what you want to do and is willing to share their knowledge. That doesn't seem to be the case. You might have better luck with Blue Bell Design since they're the ones supply the co-processor and the sample subsumption engine programs.
Post Edited (Mike Green) : 8/12/2007 5:00:14 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never give up when things go wrong.
Gr,
Xander
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| Any sufficiently advanced technology is indistinguishable from magic.
You really are dealing with a very complex system. Please take the time to understand the subsumption engine ... it may be straightforward, but it's not simple. You may not appreciate this, but you're really pushing the capabilities of the Stamp (and co-processor) in adding these sensors. It's not that it can't be done .. it can, but it will require more care and attention to detail ... more understanding of what's going on.
Take your time, learn what you have to learn ... not just reading, but reading and trying things out.
Mike Green Yes Harry has been an inspiration, Ever since I purchased two of his subsumption boards he always kept in contact and he never ceases to amaze me with his knowledge he shares. The reason I also asked the same questions here was to gain knowledge from a different sector and combine the two, it never hurts to ask questions.
Again thanks to everyone.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never give up when things go wrong.
Robert,
Where did you get the SX48 module from?
Thanks,
Duane
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Never give up when things go wrong.