Go to Post Naw, basketball isn't nearly as great a sport as FRC. They play for the money. We play for honor, dignity, and respect. - synth3tk [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 16-01-2016, 11:11
jagow100's Avatar
jagow100 jagow100 is offline
Registered User
FRC #3539 (Byting Bulldogs)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Romeo, Michigan
Posts: 13
jagow100 is an unknown quantity at this point
XL-Maxsonar-EZ mb1443 Programming Help

We acquired a mb1443 rangefinder from FIRST Choice. The mb1443 rangefinder uses a micro-USB output. When using the sample java code (found at: https://wpilib.screenstepslive.com/s...e-to-a-surface) we received this error:

Unhandled exception: edu.wpi.first.wpilibj.util.AllocationException: Digital input 1 is already allocated at [edu.wpi.first.wpilibj.DigitalSource.initDigitalPor t(DigitalSource.java:36)

The screensteps for rangefinders states that if you are using serial there are no classes provided by WPI to handle it. Am I mistaken in believing that that means we will not be able to use a USB rangefinder without creating our own class? If I am mistaken, how would we fix the error we are receiving? If I am not mistaken, how would we even start creating our own class for such a thing?

Thanks in advanced,
Marcel
__________________
3539 Programming Lead
The Programming Lizard
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi