|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Sunday, January 04, 2009 1:42 PM
Posts: 4,
Visits: 11
|
|
There is a hanging thread on exit of the SensorQueryWinFormExample. To fix, you should add a handler to the FormClosing event and properly stop communication with the serializer. New code highlighted below:
public Form1()
{
InitializeComponent();
InitializeSerializer();
this.FormClosing += new FormClosingEventHandler(Form1_FormClosing);
}
private void Form1_FormClosing(Object sender, FormClosingEventArgs e)
{
serializer.StopCommunication();
}
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: Monday, October 31, 2011 9:18 PM
Posts: 640,
Visits: 819
|
|
Hey, thanks Ben!  I'll update it now... Also, you mentioned the last time we talked about having a broken link for the encoders somewhere. Do you remember exactly where it was, so that I can fix it? Let's have dinner again sometime soon! Best Regards, and have a Merry Christmas!
Jason Summerour President, Summerour Robotics Corporation www.roboticsconnection.com
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Sunday, January 04, 2009 1:42 PM
Posts: 4,
Visits: 11
|
|
Hi Jason,
I found 3 broken links on the sensor pages. They are all on the line under the image of the sensor where it says: "Technical Information for * can be found here". (The 'here' link is the broken link). The pages that I found to be broken are:
* RoboticsConnection.Serializer.Sensors.MaxSonarEZ1
* RoboticsConnection.Serializer.Sensors.Ping
* RoboticsConnection.Serializer.Sensors.WheelEncoder
My other comment about the documentation was regarding the ServoMotorId enum. I think it should be MUCH better documented how these translate into GpioPinIds that can be read on the device. This vital information should be put in as many places as possible. Or better yet, eliminate this enum entirely and just use GpioPinId in the ServoMotorController instead. And throw an error if the pin is out of range.
-Ben
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: Friday, February 18, 2011 10:25 AM
Posts: 9,
Visits: 14
|
|
was this ever resolved?
Carlotta Berry
Mobile Robotics Prof
RHIT
|
|
|
|