Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #63

Merged
merged 19 commits into from
Jul 1, 2021
Merged
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
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Pull docker image from docker hub
# XTERM used for better catkin_make output
docker:
- image: usdotfhwastoldev/carma-base:develop
- image: usdotfhwastol/carma-base:carma-system-3.6.0
user: carma
environment:
TERM: xterm
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# License for the specific language governing permissions and limitations under
# the License.

FROM usdotfhwastoldev/carma-base:develop as base
FROM usdotfhwastol/carma-base:carma-system-3.6.0 as base
FROM base as setup

RUN mkdir ~/src
Expand Down
8 changes: 4 additions & 4 deletions docker/checkout.bash
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ while [[ $# -gt 0 ]]; do
done

if [[ "$BRANCH" = "develop" ]]; then
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ~/src/carma-msgs --branch develop --depth 1
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ~/src/carma-utils --branch develop --depth 1
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ~/src/carma-msgs --branch carma-system-3.6.0 --depth 1
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ~/src/carma-utils --branch carma-system-3.6.0 --depth 1
else
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/carma-msgs --branch develop --depth 1
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/carma-utils --branch develop --depth 1
git clone https://github.com/usdot-fhwa-stol/carma-msgs.git ${dir}/src/carma-msgs --branch carma-system-3.6.0 --depth 1
git clone https://github.com/usdot-fhwa-stol/carma-utils.git ${dir}/src/carma-utils --branch carma-system-3.6.0 --depth 1
fi
6 changes: 4 additions & 2 deletions hooks/pre_build
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ if [[ "$SOURCE_BRANCH" = "develop" ]]; then
Dockerfile
elif [[ "$SOURCE_BRANCH" =~ ^release/.*$ ]]; then
# swap checkout branch in checkout.bash to release branch
sed -i "s|usdotfhwastoldev/|usdotfhwastolcandidate/|g; s|usdotfhwastol/|usdotfhwastolcandidate/|g; s|:[0-9]*\.[0-9]*\.[0-9]*|:candidate|g; s|:CARMA[a-zA-Z]*_[0-9]*\.[0-9]*\.[0-9]*|:candidate|g; s|:carma-[a-zA-Z]*-[0-9]*\.[0-9]*\.[0-9]*|:candidate|g" \
RELEASE_NAME=$(echo $SOURCE_BRANCH | cut -d "/" -f 2)
sed -i "s|usdotfhwastol/|usdotfhwastolcandidate/|g; s|usdotfhwastoldev/|usdotfhwastolcandidate/|g; s|:[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:CARMA[a-zA-Z]*_[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:carma-[a-zA-Z]*-[0-9]*\.[0-9]*\.[0-9]*|:$RELEASE_NAME|g; s|:develop|:$RELEASE_NAME|g" \
Dockerfile
# swap checkout branch in checkout.bash to release branch
sed -i "s|--branch .*|--branch $SOURCE_BRANCH|g" \
docker/checkout.bash
fi
fi
11 changes: 6 additions & 5 deletions launch/mono_camera.launch
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
<arg name="show_debug_prints" default="true"/>

<group>
<group ns="camera">
<node name="image_proc" pkg="image_proc" type="image_proc"/>
</group>

<node name="camera" pkg="avt_vimba_camera" type="mono_camera_node" output="screen">
<param name="guid" value="$(arg guid)"/>
Expand Down Expand Up @@ -73,8 +70,12 @@
<param name="decimation_y" value="1"/>
<param name="x_offset" value="0"/>
<param name="y_offset" value="0"/>
<param name="width" value="2064"/>
<param name="height" value="1440"/>

<!-- TODO: Recalibrate camera and lidar due to updated image dimensions
Issue #1241: https://github.com/usdot-fhwa-stol/carma-platform/issues/1241
-->
<param name="width" value="960"/>
<param name="height" value="720"/>

<param name="stream_bytes_per_second" value="45000000"/>
</node>
Expand Down