Shop OBEX P1 Docs P2 Docs Learn Events
3D - C-Program & OpenGL for Simulations — Parallax Forums

3D - C-Program & OpenGL for Simulations

nomadnomad Posts: 276
edited 2007-11-13 16:20 in Propeller 1
hi
for my Quadbot-project:
a bot-plattfrom with 4 servo-legs with 3DOF.
and 3 Propeller-ProtoBoard-chips.
for help to develop a Leg-algo,
i develop a little 3D-simulation c-programm with opengl
(under linux)

attachments:
- glutmechV20-c.txt (source)
- snapshot.jpg (snapshot of the program)

Regards
nomad
800 x 600 - 35K

Comments

  • AleAle Posts: 2,363
    edited 2007-11-13 10:14
    You can also, instead of using opengl (what is way cool), you can output your data to a povray format (model, language, whatever you want to call it), and render it. You do not see your results immediately, but can also reduce programming times. As you have the opengl part already done... maybe is not that useful.

    btw. How are you planning to build the legs ?, I mean you need "exact" parts, 4 of each sort. Without recurring to meccano. I can craft something with alu, copper or plastic (In OBI, here in the north, they sell some nice plastic sheets 3 or 4 mm thick, light and quite strong), I don't remember seeing that there (Assuming you are in CH), but maybe Coop has something in those DIY shops (well I only know 1 near Basel). To the point... 4 of the same, more like 4 sort of the same for me.

    Great job !
  • nomadnomad Posts: 276
    edited 2007-11-13 16:20
    hi ale,
    i know this, with povray, but i love programming in c.
    and i learning......
    and you can testing the algos.

    the legs and the body (plattform) is:
    epoxid-plates (2mm) the plates are from Conrad-Elektronik, and U-Alu-profils (5x5x5mm) and some screws (from Migros Hobby)
    or look at a (on german: FlugModellBauLaden).
    (on german: etliche schrauben,) with 12 servos, 4 pressure-sensors,
    3 PINGS-distance-sensors, 1 PIR sensor, and 3x Propeller-ProtoBoard-Chips.
    excuse my bad english.
    regards
    nomad
Sign In or Register to comment.