Skip to content

Commit

Permalink
removed old core
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Nov 12, 2023
1 parent 0817eb8 commit 1e7a113
Show file tree
Hide file tree
Showing 47 changed files with 16 additions and 1,057 deletions.
16 changes: 8 additions & 8 deletions .ci/extract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ set -e

echo "Start getting readme of core things"
cd `pwd`/docs/software/
mkdir -p uav_core
cd uav_core
mkdir -p mrs_uav_core
cd mrs_uav_core

##########################
# UAV CORE PART begin #
##########################
README_FILE=~/uav_core/README.md
module_name="uav_core"
README_FILE=~/mrs_uav_core/README.md
module_name="mrs_uav_core"
##### fig part begin
FIG_FOLDER=~/uav_core/.fig
FIG_FOLDER=~/mrs_uav_core/.fig
if [ -d "$FIG_FOLDER" ]; then
echo "copy figs from $FIG_FOLDER to fig/"
mkdir mkdir -p fig/
Expand All @@ -24,7 +24,7 @@ fi
##### fig part end
echo "$README_FILE"
if [[ -f "$README_FILE" ]]; then
echo "processing uav_core"
echo "processing mrs_uav_core"
echo -e "---\nlayout: default\ntitle: $module_name\nparent: Software\nhas_children: true\n---" > index.md
cat $README_FILE >> index.md
sed -i 's/\.fig/fig/g' index.md
Expand All @@ -40,7 +40,7 @@ fi
# UAV CORE modules begin #
#############################

for module in ~/uav_core/ros_packages/* ; do
for module in ~/mrs_uav_core/ros_packages/* ; do
if [ -d "$module" ]; then
README_FILE="$module/README.md"

Expand All @@ -61,7 +61,7 @@ for module in ~/uav_core/ros_packages/* ; do
##### fig part end

mkdir mkdir -p $module_name/
echo -e "---\nlayout: default\ntitle: $module_name\nparent: uav_core\ngrand_parent: Software\n---" > "$module_name/index.md"
echo -e "---\nlayout: default\ntitle: $module_name\nparent: mrs_uav_core\ngrand_parent: Software\n---" > "$module_name/index.md"
cat $README_FILE >> "$module_name/index.md"
sed -i 's/\.fig/fig/g' "$module_name/index.md"

Expand Down
6 changes: 3 additions & 3 deletions .ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ sudo apt-get -y install dpkg git
sudo pip3 install gitman
sudo -H pip3 install gitman

echo "clone uav_core"
echo "clone mrs_uav_core"
cd
git clone https://github.com/ctu-mrs/uav_core.git
cd uav_core
git clone https://github.com/ctu-mrs/mrs_uav_core.git
cd mrs_uav_core
gitman install

echo "install part ended"
10 changes: 5 additions & 5 deletions .ci/push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
# Credit: https://gist.github.com/willprice/e07efd73fb7f13f917ea

setup_git() {
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
git config --global user.email "[email protected]"
git config --global user.name "Github"
}

commit_git() {
git checkout master
# Current month and year, e.g: Apr 2018
dateAndMonth=`date "+%b %Y"`
# Stage the modified files in docs/software/uav_core
git add -f docs/software/uav_core/*
# Stage the modified files in docs/software/mrs_uav_core
git add -f docs/software/mrs_uav_core/*
# Create a new commit with a custom build message
# with "[skip ci]" to avoid a build loop
# and Travis build number for reference
git commit -m "Travis update: $dateAndMonth (Build $TRAVIS_BUILD_NUMBER)" -m "[skip ci]"
git commit -m "Github update: $dateAndMonth" -m "[skip ci]"
}

upload_files() {
Expand Down
Binary file removed docs/software/uav_core/fig/thumbnail.jpg
Binary file not shown.
95 changes: 0 additions & 95 deletions docs/software/uav_core/index.md

This file was deleted.

88 changes: 0 additions & 88 deletions docs/software/uav_core/mavros/index.md

This file was deleted.

Binary file removed docs/software/uav_core/mrs_bumper/fig/bumper.jpg
Binary file not shown.
16 changes: 0 additions & 16 deletions docs/software/uav_core/mrs_bumper/index.md

This file was deleted.

Binary file removed docs/software/uav_core/mrs_lib/fig/mrs_logo.png
Binary file not shown.
Binary file removed docs/software/uav_core/mrs_lib/fig/thumbnail.jpg
Binary file not shown.
29 changes: 0 additions & 29 deletions docs/software/uav_core/mrs_lib/index.md

This file was deleted.

20 changes: 0 additions & 20 deletions docs/software/uav_core/mrs_mavros_interface/index.md

This file was deleted.

Binary file removed docs/software/uav_core/mrs_msgs/fig/thumbnail.jpg
Binary file not shown.
23 changes: 0 additions & 23 deletions docs/software/uav_core/mrs_msgs/index.md

This file was deleted.

Binary file not shown.
Loading

0 comments on commit 1e7a113

Please sign in to comment.