Outils pour utilisateurs

Outils du site


gdhe

look at:

ftp://ftp.laas.fr/pub/ii/matthieu/gdhe.pdf

ftp://softs.laas.fr/pub/openrobots/gdhe/gdhe_eng.pdf

it use TCL interpreter

syntax:

elwish -package Gdhe
which gdhe

/usr/local/openrobots/bin/gdhe

in /usr/local/openrobots/share/gdhe/tcl there are some examples of tcl functions to display robots

documentation about basic function: http://homepages.laas.fr/mallet/cours/gdhe.pdf ftp://ftp.laas.fr/pub/ii/matthieu/gdhe.pdf

polygon

polyg.tcl file

polygon n x1,y1 …

polygon 4 -1 -1 -1 1 1 1 1 -1

add the filename polyg.tcl to the index PkgIndex.tcl

dans la console:

set robots(poly1) polyg

set pos(poly1) { 0 0 0 }

dans /usr/local/openrobots/src/robotpkg/graphics/gdhe

to get the sources

make extract

in

/usr/local/openrobots/src/robotpkg/graphics/gdhe/work/gdhe-3.8

be careful not to type make clean in gdhe

when we will have succed, use git clone to get the sources, and git commit to apply the changes

at startup, GDHE executes automatically the .gdherc file in the CURRENT directory. Bertrand put one in in ~/

gdhe.txt · Dernière modification : 2021/02/19 21:20 de 127.0.0.1