2012年2月21日 上午 02:34Is there some resources you can refer us to so we can use the Microsoft Robitics Studio to program ZigBee devices?
For example GreenPeak GP570 has accelrometers and gyroscope inputs - how can we use Robotics Studio to program these devices?
As another example, can you provide a sample routine or code for accurate movement control? Any information would help.
2012年2月28日 上午 05:44擁有者
ZigBee devices usually look like virtual serial ports. I don't know about the RF4CE standard. There must be an interface for connecting to a PC and some library of code for accessing it. However, on a quick search of the web I could not find a suitable PC interface that handles RF4CE.
If it looks like a serial port, you can probably use the SerialCOM service. Even if it does not do exactly what you want, you at least have the source code to get you started.
I am not familiar with the GreenPeak device. You should probably look to them for some examples of movement control.
- 已提議為解答 Luke Thompson - MSFTMicrosoft Employee, Moderator 2012年3月6日 上午 08:15
2012年3月6日 上午 10:07
Understood. So could you provide any ZigBee example with Robotics Studio?
Marcus Bronson @ www.wormy.com
2012年3月9日 下午 07:49擁有者
We don't have plans to provide a specific examples for ZigBee devices.
Trevor mentioned the SerialComService which is provided in RDS4 and can be found in the samples\Platforms\ReferencePlatform2011 directory.
For an example of how it is used in a real robot you can download the Parallax "Eddie" services from http://www.parallax.com/eddie (http://www.parallax.com/Portals/0/Downloads/docs/prod/robo/eddie/ParallaxKit.zip)
You asked a second question "privide a sample routine or code for accurate movement control". I'm not sure you are talking about joint movement as in an arm, or robot movement as in wheels/legs. I don't know you level of background in robotics, but these are very complex problems about which books are written and careers made. For the problem of wheeled travel, two main issues I can think of are 1) how precise are the motors, and 2) how precise is your ability to detect what has happened when you use the motors. If you have very precise motors (stepper motors?) and extremely fine encoders, then I suppose your movement will be precice and when it is not, you can correct any error with fine precision... that is often not the case however and so enters the complex field of feedback controlers etc. Sometimes it's not so much about "accuracy" as it is adaptability and tolerance to error.
I will suggest some references. Let me know if they are helpful...
The "Obstacle Avoidance" service sample does implement and use a PID controller. You can look at that as an example as well.