Skip to content

Instantly share code, notes, and snippets.

View rje1974's full-sized avatar
🎯
Focusing

Juan Eduardo rje1974

🎯
Focusing
View GitHub Profile
@rje1974
rje1974 / instructions.md
Created July 28, 2022 23:17 — forked from matthewjberger/instructions.md
Install a nerd font on ubuntu

1.) Download a Nerd Font

2.) Unzip and copy to ~/.fonts

3.) Run the command fc-cache -fv to manually rebuild the font cache

@rje1974
rje1974 / edificio.ts
Last active September 24, 2021 12:09
/*
2- Piso, que debe tener:
un constructor debe recibir el nombre de ese piso con formato de texto. Por ejemplo: "primer piso" y guardarlo
en una propiedad nombre para poder usarla posteriormente. LIQUIDADO.
un método pushDepartamento y getDepartamentos para agregar departamentos y obtener el listado completo
de los departamentos de ese piso (ambos usan una propiedad interna departamentos para guardar y leer). LIQUIDADO
*/
/*
3- Departamento: LIQUIDADO
@rje1974
rje1974 / index.js
Last active May 28, 2021 13:22
Desafio Módulo 1
const pelis = require("./pelis");
function parsearARGV() {
// const comandosAzules = []
const argumento = process.argv.slice(2);
const listaDeArgumentos = []
mapearArgumento = argumento.map(function (element,index) {
if (element.includes("--no-format")) {
element = "noformat";
return listaDeArgumentos.push({[element]: 1})
@rje1974
rje1974 / Acelerometro
Created May 4, 2021 20:14 — forked from ArielNicotena/0_Pochito.md
Scripts De Sensores - Arduino UNO
const int xpin = A0;
const int ypin = A1;
const int zpin = A2;
void setup() {
Serial.begin(9300);
}
void loop() {
@rje1974
rje1974 / ROS_WIKI_USER.md
Created January 30, 2021 11:43
Pasos para crear un usuario en la wiki de ROS

Hola, este es un tuto corto para crear tu usuario en la wiki de ROS y empezar con la edición de documentos.

Vamos a la pagina de la wiki de ROS y vamos a crear un usuario...

página wiki de ROS

Hacemos click en el Creamos nuestro usuario

<?xml version="1.0"?>
<robot name="lawn_tractor" xmlns:xacro='http://www.ros.org/wiki/xacro'>
<!-- TODO: collision link element to be added -->
<!-- TODO: inertial link element to be added -->
<!-- define base link, center of rear axle for an ackermann vehicle -->
<link name="base_link">
<visual>
<origin xyz='0.55 0 0' rpy='0 0 ${pi}' />
@rje1974
rje1974 / main.cpp
Last active May 7, 2021 16:28
This I used to test the TEENSY. With this script, the led blinks. It is for TEENSY 3.1 and 3.2
#include <WProgram.h>
#include "ros.h"
#include "ros/time.h"
#include <Servo.h>
#include <math.h>
#include <TimerOne.h>
#include "std_msgs/UInt8.h"
#include "std_msgs/Int64.h"
#include "std_msgs/String.h"
#include "std_msgs/Float32.h"
@rje1974
rje1974 / .bashrc
Created November 18, 2020 11:15
Located at home
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@rje1974
rje1974 / nmea_serial_driver.launch
Created November 16, 2020 18:58
Located at /home/ubuntu/catkin_ws/src/nmea_navsat_driver/launch/nmea_serial_driver.launch
<launch>
<!-- A simple launch file for the nmea_serial_driver node. -->
<arg name="port" default="/dev/ttyACM1" />
<arg name="baud" default="9600" />
<arg name="frame_id" default="gps" />
<arg name="use_GNSS_time" default="False" />
<arg name="time_ref_source" default="gps" />
<arg name="useRMC" default="False" />
@rje1974
rje1974 / lawn_tractor.urdf.xacro
Created November 15, 2020 21:24
Located at /root/catkin_ws/src/ros_lawn_tractor/lawn_tractor_sim/urdf/lawn_tractor.urdf.xacro
<?xml version="1.0"?>
<robot name="lawn_tractor" xmlns:xacro='http://www.ros.org/wiki/xacro'>
<!-- TODO: collision link element to be added -->
<!-- TODO: inertial link element to be added -->
<!-- define base link, center of rear axle for an ackermann vehicle -->
<link name="base_link">
<visual>
<origin xyz='0.55 0 0' rpy='0 0 ${pi}' />