Respondido Reference to Users\trevtay

  • 2012年2月18日 3:09
    版主
     
     

    Greetings,

    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
    2\samples\Platforms\ReferencePlatform2011\Parallax2011ReferencePlatformIoController\Parallax2011ReferencePlatformIoController.cs:line
    126]

    How to I point the reference to my project folder instead of Trevors?

    Thanks in advance,

    tlc

全部回复

  • 2012年2月18日 4:34
    版主
     
     

    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...

    tlc

  • 2012年2月18日 5:17
    所有者:
     
     

    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?

    Trevor

  • 2012年2月18日 17:31
    版主
     
     

    Trevor,

    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,

    tlc

  • 2012年2月18日 19:23
    版主
     
     已答复

    Trevor,

    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.

    Thanks again,

    tlc

  • 2012年2月19日 3:38
    所有者:
     
     

    Glad you got it working.

    Trevor