Skip to content

Instantly share code, notes, and snippets.

View ammarnajjar's full-sized avatar

Ammar Najjar ammarnajjar

View GitHub Profile
~# vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 4 2012 04:25:35)
Included patches: 1-429
Modified by [email protected]
Compiled by buildd@
Huge version without GUI. Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path
$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 8 2016 11:54:26)
Included patches: 1-1718
Modified by <[email protected]>
Compiled by <[email protected]>
Huge version without GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +tag_binary
+arabic +file_in_path +mouse_sgr +tag_old_static
+autocmd +find_in_path -mouse_sysmouse -tag_any_white
-balloon_eval +float +mouse_urxvt -tcl
#!/bin/bash
sudo dnf install ncurses ncurses-devel -y
cd ~
git clone https://github.com/vim/vim.git /tmp/vimsrc
cd /tmp/vimsrc
CFLAGS+="-O -fPIC -Wformat" ./configure --with-features=huge \
--enable-multibyte \
--enable-rubyinterp \
--enable-python3interp \
--with-python3-config-dir=/usr/lib/python3.5/config \
@ammarnajjar
ammarnajjar / catkin_make_log.markdown
Created June 2, 2016 16:57
The output of catkin_make for moveit_ros indigo-devel branch.

The output of catkin_make

$ catkin_make
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
@ammarnajjar
ammarnajjar / moveit_install.sh
Created June 2, 2016 16:45
Moveit installation instructions tested on ubuntu 14.04
#!/bin/bash
# full documentation: http://moveit.ros.org/install/
# OS: ubuntu 14.04
sudo apt-get update && sudo apt-get install -y python-wstool
mkdir -p $HOME/moveit/src
cd $HOME/moveit/src
echo ">> Current directory: $(pwd)"
@ammarnajjar
ammarnajjar / lwa4p_logs_03.markdown
Created June 2, 2016 09:54
Error logs (Nr. 3) for an issue faced while initializing schunk_lwa4p robot arm under ubuntu 14.04 and ros-indigo.

Powerball schunk lwa4p ESD CAN_USB/2 related logs

After preparing ros-indigo and catkin workspace as descriped in catkin_ws_indigo_setup.sh , then applying this patch to comment lost arbitation error handling in 'ros_canopn' package source, and using a different CAN dongle (ESD CAN_USB/2):

can2 info

sudo ifconfig can2
@ammarnajjar
ammarnajjar / lwa4p_logs_02.markdown
Last active June 2, 2016 09:12
Error logs (Nr. 2) for an issue faced while initializing schunk_lwa4p robot arm under ubuntu 14.04 and ros-indigo.

Powerball schunk lwa4p (controller problems;) related logs

After preparing ros-indigo and catkin workspace as descriped in catkin_ws_indigo_setup.sh , then applying this patch to comment lost arbitation error handling in ros_canopn package source:

can0 info

sudo ifconfig can0
@ammarnajjar
ammarnajjar / comment_lost_arbitation.patch
Created June 2, 2016 09:04
Patch applied to comment out the handling of lost arbitation error in ros_industrial/ros_canopen.
From 07e4e29efe01b4dd47db88f4f547057445bc2574 Mon Sep 17 00:00:00 2001
From: Ammar Najjar <[email protected]>
Date: Thu, 2 Jun 2016 11:00:47 +0200
Subject: [PATCH] comment lost arbitation error handling
---
socketcan_interface/include/socketcan_interface/socketcan.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/socketcan_interface/include/socketcan_interface/socketcan.h b/socketcan_interface/include/socketcan_interface/socketcan.h
@ammarnajjar
ammarnajjar / schunk_lwa4p_firmware_info.markdown
Last active June 1, 2016 10:06
My schunk lwa4p robot arm firmware information posted from COBview under windows 7.

COBview CANopen Object Viewer ouputs

Modules list:

modules list

Manufacturer device name

SCHUNK ERBo.

manufacturer

@ammarnajjar
ammarnajjar / lwap4_logs.markdown
Last active March 27, 2019 14:26
Error logs for an issue faced while initializing schunk_lwa4p robot arm under ubuntu 14.04 and ros-indigo.

Powerball schunk lwa4p issue #59 related logs

After preparing ros-indigo and catkin workspace as descriped in catkin_ws_indigo_setup.sh :

can0 info

sudo ifconfig can0