Comments (3)
@kpolleck thanks for sharing the fix you have here. Could you submit a PR for this? Also, what version of the operating system are you using; Raspbian or Rasbian for Robots?
from gopigo.
hi @kpolleck,
in addition, I'd also like to know something more about your environment; Java version and pi4j version would helps.
Regards
from gopigo.
Thanks. This seems like a coding / compling problem more than an environment problem. It appears from http://pi4j.com/apidocs/com/pi4j/io/i2c/I2CFactory.html that I2CBus throws an "UnsupportedBusNumberException"...
public static I2CBus getInstance(int busNumber)
throws I2CFactory.UnsupportedBusNumberException,
IOException
...and UnsuportedBuxNumber Exception extends Exception...
public static class I2CFactory.UnsupportedBusNumberException
extends Exception
...but neither UnsupportedBusNumberException nor Exception are thrown or passed to higher levels...
public Board() throws IOException, InterruptedException
Thus, this appears to be purely a compile-time problem between Board.java and I2CFactory.
from gopigo.
Related Issues (20)
- C# Project needs update HOT 2
- Buffertools issue when doing npm install of the package HOT 1
- [Question] reverse proxy HOT 2
- pip upgrade stops gopigo working as expected HOT 1
- C# Library exceptions HOT 2
- Improving the stability of encoder targetting
- IOException: Error reading from I2CDevice on I2CBus '1' ('/dev/i2c-1') at address 0x8 to address 0x1. Got '-1'. HOT 9
- Problem with PIDafter stopping
- "Permission denied" when running compile.sh and Test.sh HOT 6
- Streaming_Video_Example can't work HOT 1
- Flask Server HOT 3
- Browser_Streaming_Robot web server in Examples folder requires installing sockjs.tornado and tornado
- bash: ./camphish.sh: Permission denied HOT 4
- Motor Turning at different rates and sometime stalling HOT 1
- Firmware version mismatch HOT 1
- vnc + gopigo = crash HOT 5
- Change License to GNU GPL3 HOT 1
- GoPiGo/Software/Python/gopigo.py Is there a reason smbus imported twice? HOT 1
- Servo jitter reduction with a user defined function call
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gopigo.