Example code for my linux based engine

Post code examples here

Example code for my linux based engine

Postby wuselfuzz » Fri Aug 07, 2009 6:43 pm

http://wuselfuzz.de/hexapod/robotheme.c.txt

This is a simple sequencer with a hardcoded movement sequence in an array.

t is in miliseconds.
wuselfuzz
 
Posts: 112
Joined: Thu Dec 11, 2008 3:32 pm

Re: Example code for my linux based engine

Postby wuselfuzz » Fri Aug 07, 2009 9:22 pm

http://wuselfuzz.de/robo.tgz

mac os x binary built with fakespi.

run hexapod_gl in one Terminal, run robo in another. The robo binary waits for a keypress to start the sequence after leg setup.

Souce package and build instructions for Simulation on Linux and OS X (might work on windows with cywin, too) coming up.
wuselfuzz
 
Posts: 112
Joined: Thu Dec 11, 2008 3:32 pm

Re: Example code for my linux based engine

Postby wuselfuzz » Fri Aug 07, 2009 9:45 pm

http://wuselfuzz.de/hexapod/hexapod_simulation.tgz

1. Download to Desktop
2. Unpack in a Terminal:

Code: Select all
cd Desktop
tar xvzf hexapod-simulation.tgz
cd hexapod-simulation
open readme.txt
wuselfuzz
 
Posts: 112
Joined: Thu Dec 11, 2008 3:32 pm

Re: Example code for my linux based engine

Postby Matt Denton » Sun Aug 09, 2009 9:15 pm

I'm just installing a Ubuntu in VirtualBox on my PC. I will give it a go one I'm set up :)

I've got an old Mac I can have a play with at some point too..
Matt Denton
AKA: Winchy_Matt

micromagic systems ltd
Matt Denton
Site Admin
 
Posts: 1622
Joined: Tue May 20, 2008 9:15 pm
Location: Winchester UK


Return to Code Examples

Who is online

Users browsing this forum: No registered users and 2 guests

cron