Skip to content

Instantly share code, notes, and snippets.

View pestefo's full-sized avatar
🏠
Working from home

Pablo Estefó pestefo

🏠
Working from home
View GitHub Profile
@pestefo
pestefo / gist:84647ee76677722f55c8
Last active August 29, 2015 14:05
Debugging scriptTF
PhaROSPacket>>dump
| anEncoder stream |
type check: value.
stream := WriteStream on: (ByteArray new: (type dataTypeSizeFor: value ) + 4). "<<<<<"
anEncoder := PhaROSEncoder on: stream.
self encodePacketSize: (type dataTypeSizeFor: value) into: anEncoder.
type serialize: value into: anEncoder.
@pestefo
pestefo / obstacle_avoidance_lrp
Created September 5, 2014 09:22
Obstacle Avoidance LRP
(var stop := [0])
(var robulab := [LrpharosPackage uniqueInstance])
(var minDistance := [0.5])
(var f_vel := [0.25])
(var t_vel := [0.5])
(machine SimpleAvoid2
(state forward
(onentry [robulab value forward: f_vel value])
)
@pestefo
pestefo / laser scan
Created November 12, 2014 10:26
LaserScan
---
header:
seq: 3470
stamp:
secs: 1415783617
nsecs: 873047000
frame_id: /laser
angle_min: -2.36492109299
angle_max: 2.34746789932
angle_increment: 0.0174532923847
@pestefo
pestefo / odom
Created November 12, 2014 10:27
Odom
---
header:
seq: 22789
stamp:
secs: 1415783691
nsecs: 750999000
frame_id: /odom
child_frame_id: /base_link
pose:
pose:
@pestefo
pestefo / poseStamped
Created November 12, 2014 10:28
PoseStamped
header:
seq: 4701
stamp:
secs: 1415783655
nsecs: 723046000
frame_id: /map
pose:
position:
x: 0.000903615108368
y: 0.000480354084245
Sun May 24 19:11:46 CLT 2015
./txl/py-extract-functions.x -s 400 ALL.py >> /Users/pestefo/projects/intro-a-la-tesis/ros-repos-python-cross/system/_functions.xml
[/Users/pestefo/projects/intro-a-la-tesis/ros-repos-python-cross/system//jsk_common-master/jsk_coordination_system/dynamic_tf_publisher/src/tf_set.py.pyindent, py-extract-functions.txl] : TXL0192E line 41 of /Users/pestefo/projects/intro-a-la-tesis/ros-repos-python-cross/system//jsk_common-master/jsk_coordination_system/dynamic_tf_publisher/src/tf_set.py.pyindent - Syntax error at or near:
quaternion_from_euler ( * rpy , >>> axes <<< = "rzyx" )
print
[/Users/pestefo/projects/intro-a-la-tesis/ros-repos-python-cross/system//openrtm_aist-release-release-indigo-openrtm_aist/build/makedeffile.py.pyindent, py-extract-functions.txl] : TXL0192E line 42 of /Users/pestefo/projects/intro-a-la-tesis/ros-repos-python-cross/system//openrtm_aist-release-release-indigo-openrtm_aist/build/makedeffile.py.pyindent - Syntax error at or near:
@pestefo
pestefo / Demo.sh
Last active March 30, 2017 14:59
Demo Bash Clase #3 Duckietown
# ver los archivos
ls
# ver los archivos listado y mostrando los archivos ocultos (.nombreDeArchivo)
# comentar que "-la" son opciones. "ls -la = ls -l -a"
ls -la (opciones)
# como ver todas las opciones? ver el manual del comando
# o googlear
man ls
# creamos una carpeta donde dejar los archivos
mkdir ejemplos
@pestefo
pestefo / instrucciones_repos_duckiebots_workstation.md
Last active April 30, 2017 14:37
Intrucciones para mantener los repositorios en los duckiebots y los workstations

Intrucciones para mantener los repositorios en los duckiebots y los workstations

Duckietown:

En el duckietown, el repositorio está linkeado a alguien del equipo de Duckietown-Chile. Nosotros queremos que este linkeado a su usuario de git. Si quieren ver a quien esta linkeada la cuenta basta con hacer:

$ git config –l
…
user.email=team@mail.com
@pestefo
pestefo / tutorial_d3-cc5208-2018.md
Last active May 7, 2018 19:24
Tutorial D3 - CC5208