Skip to content
Snippets Groups Projects
Commit 63a0e103 authored by Montaño Sarria, Andres Felipe's avatar Montaño Sarria, Andres Felipe
Browse files

UPD: Dockerfiles and dotfiles

parent e30b203a
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,14 @@ RUN apt-get update && apt-get install -y \
ros-melodic-spacenav-node \
spacenavd
RUN pip3 install --upgrade pip
RUN apt-get update && apt-get install -y \
ipython3 \
ipython
# RUN pip3 install sqlite-utils
# Update final image
RUN apt-get update && apt-get -y upgrade && apt-get -y autoremove
RUN apt-get clean
......
......@@ -7,4 +7,4 @@
name = Andres Montano
email = andres.montano@tecnalia.com
[credential]
helper = cache --timeout=3600
helper = "!f() { /home/andres/.vscode-server/bin/da76f93349a72022ca4670c1b84860304616aaa2/node /tmp/vscode-remote-containers-5a60cb1da759d14ee4cea752b3a5b9093efdb2c8.js $*; }; f"
......@@ -6,31 +6,31 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
fi
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/andres/.oh-my-zsh"
# Use modern completion system
autoload -Uz compinit
compinit
zstyle ':completion:*' auto-description 'specify: %d'
zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' group-name ''
zstyle ':completion:*' menu select=2
eval "$(dircolors -b)"
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# autoload -Uz compinit
# compinit
# zstyle ':completion:*' auto-description 'specify: %d'
# zstyle ':completion:*' completer _expand _complete _correct _approximate
# zstyle ':completion:*' format 'Completing %d'
# zstyle ':completion:*' group-name ''
# zstyle ':completion:*' menu select=2
# eval "$(dircolors -b)"
# zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
# zstyle ':completion:*' list-colors ''
# zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
# zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
# zstyle ':completion:*' menu select=long
# zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
# zstyle ':completion:*' use-compctl false
# zstyle ':completion:*' verbose true
# zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
# zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
......@@ -80,7 +80,7 @@ HIST_STAMPS="dd/mm/yyyy"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git history-substring-search zsh-autosuggestions sudo last-working-dir zsh-syntax-highlighting globalias) #zsh-autosuggestions
plugins=(sudo git last-working-dir zsh-syntax-highlighting globalias zsh-autosuggestions ) #history-substring-search
source $ZSH/oh-my-zsh.sh
......@@ -104,7 +104,7 @@ source ${HOME}/srcs/development_environment/dotfiles/system.bash
eval "$(direnv hook zsh)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
......
......@@ -25,7 +25,11 @@ function rundoc() {
}
function docrun() {
rocker --nvidia --pulse --x11 --privileged --name odin_robot --network host odin_robot:melodic $1
rocker --nvidia --pulse --x11 --volume /dev/video0:/dev/video0 --privileged --oyr-run-arg " -v odin_robot_volume:/root/" --name odin_robot --network host odin_robot:melodic $1
}
function runodin() {
rocker --nvidia --pulse --x11 --privileged --volume /dev/video0:/dev/video0 --name odin_melodic --network host devenv:melodic $1
}
function runmelodic() {
......
......@@ -23,6 +23,11 @@ function sourcews(){
source ./devel/setup.${ext} && smon
}
# Source the current workspace
function sourceros(){
source /opt/ros/${ROS_DISTRO}/setup.${ext} && smon
}
# Source the current workspace
function sourcethis(){
pwd_st=${PWD}
......
......@@ -17,3 +17,5 @@ fi
# Python
alias ipy='ipython'
alias mountT='sudo mount -t cifs //tri.lan/tri /mnt/T --verbose -o username=110343,password=FarrukMontano\#8657,workgroup=TRI.LAN'
Pruebas funcionales
Playas distancias
Inspección optica - folio en blanco
Movimientos
Ojos mecatrónicos
6 dof para el futuro
Aplicación para lanzar pruebas
8 min de pruebas -- muy largos
Enchufar de manera automática
Pruebas visuales - funcionales
-----
No operario
--- Celula robótica que haga las pruebas y solución completa con sw DB
Plazos: Primera propuesta y presupuesto
-- Viabilidad - Financiación ayudas Industria 4.0
-- Implementación 6 meses - 1 año
Problemas de distribuidores
SW aplicacion para elejir la pruebas
Robot coordenadas, se hacen la pruebas
Resultados se envían a sistema para almacenar en base de datos
HMI y aplicacion para pruebas
Movimiento del robot
Guardar resultados
Montaje de todo
Inspección visual y procesamiento
Luces, movimiento
USB, logos, roscado, etiqueta (ok legible, OCR)
La misma célula para los dos tipos de pruebas
Proyecto llave en mano -- Ingeniería vs Centro Tecnológico
Interesante tener soporte, formación, servicio (capacidad)
Tecnalia - prototipo
Ingeniería - Mucho más servicio + soporte
P4Pub a futuro USA
Sistema de control de calidad
......@@ -4,7 +4,7 @@
Alternative to get a solution in the form descartes + moveit, being descartes a pluging, so it is possible to call compute cartesian path using the moveit interface.
* Only works in melodic (Possible portability to noetic, but crash on execution)
* Works in melodic and noetic
## Examples
......@@ -15,13 +15,13 @@ Alternative to get a solution in the form descartes + moveit, being descartes a
Terminal 1:
```bash
roslaunch flexbotic_robots_iiwa iiwa_ikfast.launch
mon launch cartesian_planner_descartes iiwa7.launch
```
Terminal 2:
```bash
rosrun descartes_examples example_cartesian_manipulator.py
rosrun cartesian_planner_descartes example_cartesian_manipulator.py
```
## OPW
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment