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
7 changes: 1 addition & 6 deletions install/setup.bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure you aren't committing unnecessary files (best way to do this is to commit on a file-by-file basis)

Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ _colcon_prefix_chain_bash_source_script() {
fi
}

# source chained prefixes
# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script
COLCON_CURRENT_PREFIX="/opt/ros/humble"
_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash"

# source this prefix
# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script
COLCON_CURRENT_PREFIX="$(builtin cd "`dirname "${BASH_SOURCE[0]}"`" > /dev/null && pwd)"
_colcon_prefix_chain_bash_source_script "$COLCON_CURRENT_PREFIX/local_setup.bash"

unset COLCON_CURRENT_PREFIX
unset _colcon_prefix_chain_bash_source_script
unset _colcon_prefix_chain_bash_source_script
7 changes: 1 addition & 6 deletions install/setup.zsh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same thing here

Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,10 @@ _colcon_prefix_chain_zsh_source_script() {
fi
}

# source chained prefixes
# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script
COLCON_CURRENT_PREFIX="/opt/ros/humble"
_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh"

# source this prefix
# setting COLCON_CURRENT_PREFIX avoids determining the prefix in the sourced script
COLCON_CURRENT_PREFIX="$(builtin cd -q "`dirname "${(%):-%N}"`" > /dev/null && pwd)"
_colcon_prefix_chain_zsh_source_script "$COLCON_CURRENT_PREFIX/local_setup.zsh"

unset COLCON_CURRENT_PREFIX
unset _colcon_prefix_chain_zsh_source_script
unset _colcon_prefix_chain_zsh_source_script
1 change: 1 addition & 0 deletions src/rj_strategy/src/agent/position/waller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ std::optional<RobotIntent> Waller::get_task(RobotIntent intent, const WorldState
rj_geometry::Point mid_point{(goal_pos) + (ball_dir_vector * min_wall_rad)};

auto wall_spacing = kRobotDiameterMultiplier * kRobotDiameter + kBallRadius;
wall_spacing *= 2;

rj_geometry::Point target_point{};
auto angle = (mid_point - goal_pos).angle();
Expand Down
Loading