18. února 2012 3:09Moderátor
I was setting up configurations in VPL for the MarkRobot using Parallax2011ReferencePlatformIoController as the brick. I receive the following error:
Exception: [Message = ] [Exception =
System.NullReferenceException: Object reference not set to an instance of an
object. at Microsoft.Robotics.ReferencePlatform.Parallax2011ReferencePlatformIoController.Parallax2011ReferencePlatformIoControllerService.Initialize()
in C:\Users\trevtay\Microsoft Robotics Dev Studio 4 Beta
How to I point the reference to my project folder instead of Trevors?
Thanks in advance,
18. února 2012 4:34Moderátor
After some research I discovered the DssProjectMigration tool, successfully migrated and rebuilt the Parallax2011ReferencePlatformIoController service. However I still get the same error but with a legitimate path reference. Still investigating...
18. února 2012 5:17Vlastník
There is a setup script that you are supposed to run. This does the DssProjectMigration. It is mentioned in the installation instructions.
Did you modify the config file to have the correct serial port number?
18. února 2012 17:31Moderátor
I did read the txt file that describes that procedure, but I don't think I did the setup which performed the migration because it was under the "Rebuilding The Service" category and at the time I wasn't sure that would be required. I double checked my compile by running the "Eddie" test program and everything works. As I am still getting the same error, (with the correct path now" I agree that it seems to be a configuration problem. I did test the comm port by setting it to an incorrect value and witnessing the comm errors in the debug.
One thing that I did not mention is that I'm trying to configure directly from VPL rather than using an exist manifest, but I think that I will try and take an existing manifest and modify it and try that.
Thanks again for your time,
18. února 2012 19:23Moderátor
Not to waste any more of your time. I abandoned directly configuring the service and instead edited an appropriate manifest (Eddie.xml) and stripped out the dashboard and Kinect and that works.
- Označen jako odpověď Trevor TaylorMicrosoft Employee, Owner 19. února 2012 3:39
19. února 2012 3:38Vlastník
Glad you got it working.