<commit_before>#!/usr/bin/env bash
MAPFILE=${HOME}/.arlobot/rosmaps/${1}
if [ $# -eq 0 ]
then
    echo "You must provide a map file name."
    echo "Run listMaps.sh for a list of your maps."
    exit
fi

if [ ! -f ${MAPFILE} ]
then
    MAPFILE=${MAPFILE}.yaml
fi
echo ${MAPFILE}
if [ ! -f ${MAPFILE} ]
then
    echo "File does not exist!"
    exit 1
fi

pgrep -f robot.launch > /dev/null
if [ $? -eq 0 ]
then
    if [ $(jq '.use_xv11' ${HOME}/.arlobot/personalDataForBehavior.json) == true  ]
    then
        roslaunch arlobot_launchers load_map_xv11.launch map_file:=${MAPFILE}
    else
        roslaunch arlobot_launchers load_map.launch map_file:=${MAPFILE}
    fi
else
    echo "Robot must be running to start this."
    exit 1
fi

<commit_msg>Remove XV11 code in favor of Sanse Sweep.<commit_after>#!/usr/bin/env bash
MAPFILE=${HOME}/.arlobot/rosmaps/${1}
if [ $# -eq 0 ]
then
    echo "You must provide a map file name."
    echo "Run listMaps.sh for a list of your maps."
    exit
fi

if [ ! -f ${MAPFILE} ]
then
    MAPFILE=${MAPFILE}.yaml
fi
echo ${MAPFILE}
if [ ! -f ${MAPFILE} ]
then
    echo "File does not exist!"
    exit 1
fi

pgrep -f robot.launch > /dev/null
if [ $? -eq 0 ]
then
    if [ $(jq '.hasScanseSweep' ${HOME}/.arlobot/personalDataForBehavior.json) == true  ]
    then
        roslaunch arlobot_launchers load_map_wScanseSweep.launch map_file:=${MAPFILE}
    else
        roslaunch arlobot_launchers load_map.launch map_file:=${MAPFILE}
    fi
else
    echo "Robot must be running to start this."
    exit 1
fi


{'fraction_non_alphanumeric': 0.1279220779220779, 'fraction_numerical': 0.01038961038961039, 'mean_word_length': 2.90126582278481, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7178555', 'n_tokens_mistral': 607, 'n_tokens_neox': 573, 'n_words': 171}