RoboPiLib v0.85 for Raspberry Pi

Moderator: Steve

RoboPiLib v0.85 for Raspberry Pi

Postby mikronauts » Thu Sep 25, 2014 8:35 am

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/
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm

Re: RoboPiLib v0.85 for Raspberry Pi

Postby d2rk » Wed Oct 08, 2014 6:21 am

When the RoboPiLib will be open sourced?
d2rk
 
Posts: 2
Joined: Wed Oct 08, 2014 4:54 am

Re: RoboPiLib v0.85 for Raspberry Pi

Postby mikronauts » Wed Oct 08, 2014 9:28 am

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?
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm

Re: RoboPiLib v0.85 for Raspberry Pi

Postby d2rk » Sat Oct 11, 2014 9:45 am

OK.

Thanks!
d2rk
 
Posts: 2
Joined: Wed Oct 08, 2014 4:54 am

Re: RoboPiLib v0.85 for Raspberry Pi

Postby mikronauts » Sat Oct 11, 2014 11:27 am

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)
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm

Re: RoboPiLib v0.85 for Raspberry Pi

Postby mikronauts » Wed Oct 22, 2014 5:47 pm

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/
mikronauts
 
Posts: 119
Joined: Tue Sep 16, 2014 6:58 pm


Return to RoboPi

Who is online

Users browsing this forum: No registered users and 1 guest

cron