Hi,
So far what I understand is that when you install the built-in computer OS (using Operating System Reinstallation | Husarion), the OS on the SD card executes a docker container via the ~/compose.yaml . The docker compose.yaml file executes:
ros2 launch husarion_ugv_bringup bringup.launch.py
common_dir_path:=/config
launch_gamepad:=true
So, assuming I would have done the required modification in the container, I could modify the compose.yaml file ros2 launch option to get the custom wheels by adding
wheel_type:=custom
is that correct?
I have installed the last OS humble image available
uname -a
Linux husarion 6.8.4-rt11-raspi #5 SMP PREEMPT_RT Tue Jun 18 13:14:03 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
husarion/husarion-ugv humble-2.2.2-20250702 0992abbd81c4 10 months ago 2.19GB
Now, to modify the actual files required, within the docker image, you have to modify the files to add a custom wheel. I tried to modify the container files (via vscode dev container remote access), but the files in the install folder are symbolic links, so copying and pasting an existing WH02_controller.yaml from there then edit it via the symbolic link would modify WH02 simultaneously (which is not desired). So I created some files in the src folder by copying existing wheels and then copied them over to the install folder.
I also tried to modify the source files, but when getting into the running image, I cannot run colcon to build the src files modifications (after using docker exec -it husarion_ugv_ros /bin/bash).
So I have the impression that the changes I do to the image are not taken into account. What would be the more in detail process to follow? Do I need to regenerate a full docker image based on the husarion_ugv_repo GitHub - husarion/husarion_ugv_ros: ROS package for Panther and Lynx mobile robots · GitHub and if so could you specify the step by step process?
How would I be able to verify that the robot has now the new custom wheels loaded correctly upon start up? I tried using rviz, and so far, the custom wheels never seem to have loaded, so not sure if I am not missing one step.
- either the image is immutable .
- or I need to rebuild the ros2_ws, but when I am in the image, I cannot run the colcon command.
Small other question in parallel, reading Robot Management and Configuration | Husarion as a potential alternate method to change the wheel type to an existing available wheel WH0X, are you supposed to run the configurator TUI from the built in computer itself or from a user computer? The docs indicate
ssh husarion@10.15.20.3
which is the default ip address for the user computer and the user name of the built in computer, so I am a bit confused.
Thank you,
Nicolas