Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ image-update:
.PHONY: sick-driver
sick-driver:
vcs import < repos/dsc.repos
./scripts/sick_driver.sh
./tools/scripts/sick_driver.sh

.PHONY: livox-driver
livox-driver:
vcs import < repos/livox.repos
./scripts/livox_driver.sh
./tools/scripts/livox_driver.sh

.PHONY: racer
racer:
Expand All @@ -44,7 +44,7 @@ racer:
.PHONY: gb_opt
gb_opt:
chmod +x scripts/gb_opt_setup.sh
./scripts/gb_opt_setup.sh
./tools/scripts/gb_opt_setup.sh

.PHONY: sim
sim:
Expand Down
5 changes: 0 additions & 5 deletions scripts/gb_opt_setup.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions tools/scripts/gb_opt_setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#! /bin/bash

SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
echo $SCRIPT_DIR
cd $SCRIPT_DIR && pip3 install -e $WORKSPACE/src/external/planner/global_race_planner/global_planner/global_planner/global_racetrajectory_optimization/
4 changes: 2 additions & 2 deletions scripts/livox_driver.sh → tools/scripts/livox_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

pushd `pwd` > /dev/null

LIVOX_SDK=src/external/sensors/lidar/livox/livox-SDK2
LIVOX_SDK=$WORKSPACE/src/external/sensors/lidar/livox/livox-SDK2
if [ -d $LIVOX_SDK ]; then
cd $LIVOX_SDK
mkdir build
Expand All @@ -15,7 +15,7 @@ popd > /dev/null

pushd `pwd` > /dev/null

LIVOX_ROS_DRIVER=src/external/sensors/lidar/livox/livox_ros_driver2
LIVOX_ROS_DRIVER=$WORKSPACE/src/external/sensors/lidar/livox/livox_ros_driver2
if [ -d $LIVOX_ROS_DRIVER ]; then
cd $LIVOX_ROS_DRIVER
./build.sh ROS2
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions source_ros2.sh → tools/scripts/source_ros2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ then
return
fi

export WORKSPACE=/home/jetson/projects/robocar/
export ROS_DISTRO=foxy
# sudo apt update && sudo apt upgrade
sudo apt install ros-$ROS_DISTRO-rmw-cyclonedds-cpp -y
Expand Down