Page 1 of 1

RoboPiLib v0.85 for Raspberry Pi

PostPosted: Thu Sep 25, 2014 8:35 am
by mikronauts
New in this release:

- python 2.7 API
- python 3.2 API
- getPacket()/putPacket() C API extension capability
- tested C examples in the new manual
- Python API documentation
- zip file of C examples
- resetRoboPi shell utility

I've already uploaded the new user documentation to the product page, and I am working on some Python sample code.

I plan on uploading the C examples later today.

http://www.mikronauts.com/raspberry-pi/robopi/

Re: RoboPiLib v0.85 for Raspberry Pi

PostPosted: Wed Oct 08, 2014 6:21 am
by d2rk
When the RoboPiLib will be open sourced?

Re: RoboPiLib v0.85 for Raspberry Pi

PostPosted: Wed Oct 08, 2014 9:28 am
by mikronauts
Welcome to the forum!

The current RoboPiLib code is too ugly to release :-( it needs to be cleaned up and I need to add improved error handling.

I did however add an extension mechanism in v0.85, allowing users to add to the firmware and easily extend RoboPiLib with a user library.

I expect to release v0.85 by Monday, some urgent work delayed me.

d2rk wrote:When the RoboPiLib will be open sourced?

Re: RoboPiLib v0.85 for Raspberry Pi

PostPosted: Sat Oct 11, 2014 9:45 am
by d2rk
OK.

Thanks!

Re: RoboPiLib v0.85 for Raspberry Pi

PostPosted: Sat Oct 11, 2014 11:27 am
by mikronauts
You are welcome!

I just finished re-writing my simple samples in Python - they work :-)

here is an example:

Code: Select all
#!/usr/bin/python
import RoboPiLib as RoboPi
import time as time

RoboPi.RoboPiInit("/dev/ttyAMA0",115200)

HC_SR04 = 16

while 1:
  print "Distance is ", RoboPi.readDistance(HC_SR04)
  time.sleep(0.1)

Re: RoboPiLib v0.85 for Raspberry Pi

PostPosted: Wed Oct 22, 2014 5:47 pm
by mikronauts
The RoboPi product page now has the v0.85 library and sample code package uploaded - with both C and Python libraries & examples!

http://www.mikronauts.com/raspberry-pi/robopi/