diff --git a/build_cam.sh b/build_cam.sh new file mode 100755 index 0000000..1c18050 --- /dev/null +++ b/build_cam.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +cd ~/ros2_ws +source /opt/ros/kilted/setup.bash # Use system ROS setup if needed + +rm -rf build/camera_module install/camera_module log + +# Build only camera_module +colcon build --packages-select camera_module --event-handlers console_direct+ + +# Source overlay +source install/setup.bash +camera_module camera_module \ No newline at end of file diff --git a/index.html b/index.html index 19b9b25..91dd311 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,13 @@ background: #d0f0c0; transition: background 0.5s ease; } + + #cameraImage { + display: block; + margin-top: 1em; + border: 1px solid #ccc; +} + @@ -55,7 +62,8 @@

Current publish rate: 1.0 Hz

Live Camera Feed

- Camera Feed + Camera Feed +