|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: WebDMA: Tuning your robot via a web interface (C++)
This is really neat, I must say. Kudos to you!
Yes labview can do the same things, and yes a Java robot dashboard will be available similarly, but this is clearly useful for anyone even thinking about using C++. Some thoughts-- WebDMA is pretty low-level, giving access to specific variables within the runtime environment--which is slightly dangerous---and perhaps a little crude in that you are altering the code execution, as opposed to the conceptual robot behavior. To be a little more clear, it would probably be better to implement an API for your robot that provided an interface to the robot's abstracted components, as opposed to providing a pseudoDMA...this is better practice, safer, and logically more sound. Yes this does have the downside that an API would have to be written specifically to your robot, but on the other hand, you would be describing an arm abstraction(for example) as opposed to a variable deep within the code. |
|
#2
|
||||
|
||||
|
Re: WebDMA: Tuning your robot via a web interface (C++)
Quote:
You're right though that this is very low-level. However, this is an intentional design decision. As a low-level tool, its easy to shoot yourself in the foot. In particular, the fact that a variable can change its value right out from under you can lead to synchronization problems. I believe my documentation discusses some ways to avoid this problem however. As a display mechanism for debugging, I think this tool excels (and if I got around to adding the ability to chart the incoming data using javascript, it would be even more amazing). I find the ability to take practically *any* variable declaration and replace it with a transparent proxy object is wonderful for debugging weird problems. I believe there is a readonly option for objects designed for this particular use case so you don't shoot yourself in the foot too much. It is my hope that using WebDMA should be really really simple to use and include in your program, and I think that its mostly met that goal. But of course, if you have better ideas, feel free to send me a patch. Once the build season starts going, I'll probably be adding more stuff to it as needs are recognized. |
|
#3
|
|||
|
|||
|
Re: WebDMA: Tuning your robot via a web interface (C++)
I see, and that's a good point...I suppose you can do a similar thing with java debuggers, but gdb never was that friendly or continuous...
I wonder if the two ideas(API and DNA) could be combined to provide both high level and low level views of the robot...that might be neat. |
|
#4
|
||||
|
||||
|
Re: WebDMA: Tuning your robot via a web interface (C++)
FYI: I have released an installer that installs the binary version of WebDMA on your robot, and copies the header files to the needed locations for Wind River. There is also a sample program installed for Wind River as well. Very easy for beginners to install and use.
New thread I started for this: http://www.chiefdelphi.com/forums/sh...ad.php?t=80650 Last edited by virtuald : 20-01-2010 at 00:29. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Wireless Robot Interface | mole | Programming | 10 | 24-04-2009 20:10 |
| Self Tuning Guitar | JohnBoucher | Chit-Chat | 2 | 10-01-2008 14:31 |
| Tuning PID Code | Rick TYler | Programming | 17 | 30-01-2007 00:46 |
| Tuning Wheels | Michael Corsetto | Robot Showcase | 2 | 02-02-2006 00:46 |
| Failure of Robot Interface | Matt McNelley | Technical Discussion | 23 | 08-04-2003 21:32 |