# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
	. "$HOME/.bashrc"
    fi
fi

ulimit -c unlimited 2> /dev/null

PATH=".:$HOME/bin:$HOME/micra/src/motiv_motion_planning/src:$PATH"
export EDITOR=vi
##export ROSCONSOLE_CONFIG_FILE=$HOME/micra/src/motiv_metalaunch/console.cfg
export ROSCONSOLE_FORMAT='[${severity} ${time} ${node}]: ${message}'
export ROS_LANG_DISABLE=genlisp:geneus:gennodejs
export EES_JOINT_CONFIG=$HOME/MIA/etc/ROBOT_MECH_LIMB_1.cfg
export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:${HOME}/micra/devel/lib
#export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/etherlab/lib
#export LIBRARY_PATH=$LIBRARY_PATH:/opt/etherlab/lib
#export CPATH=$CPATH:/opt/etherlab/include

export MALLOC_CHECK_=1	# disable full stack trace

source /opt/ros/kinetic/setup.bash
source /usr/share/gazebo/setup.sh
source $HOME/micra/devel/setup.bash
export ACTIN_HOME=$HOME/Energid/Actin_5.5.0-20191002

# prevent gazebo crash in vmware
export SVGA_VGPU10=0

