1- { pkgs , mc-rtc-superbuild , name ? "default" , extraBuildInputs ? [ ] , with-ros ? false } :
1+ { pkgs , mc-rtc-superbuild , extraBuildInputs ? [ ] , with-ros ? false } :
22
33let
44 mcRtcConfigs =
55 mc-rtc-superbuild . configs
66 ++ [ "${ mc-rtc-superbuild } /etc/mc_rtc.yaml" ] ;
7+
8+ title = " ${ mc-rtc-superbuild . pname } interactive shell " ;
9+ line = builtins . concatStringsSep "" ( builtins . genList ( _ : "=" ) ( builtins . stringLength title ) ) ;
710in
811pkgs . mkShell {
912 buildInputs =
@@ -53,16 +56,16 @@ pkgs.mkShell {
5356 # FIXME we might need to run ros2 daemon stop && ros2 daemon start
5457 export ROS_DOMAIN_ID=100
5558
56- echo "======================================="
57- echo " mc-rtc-superbuild interactive shell (${ name } ) "
58- echo "======================================="
59-
59+ echo "${ line } "
60+ echo "${ title } "
61+ echo "${ line } "
6062 echo ""
63+
6164 echo "The following convenience environment variables are set:"
6265 env | grep '^MC_RTC_'
6366 echo ""
6467
65- echo "Runtime dependencies (for information ):"
68+ echo "Runtime dependencies (store paths ):"
6669 echo "Robot modules:"
6770 for robot in ${ pkgs . lib . concatStringsSep " " ( map ( r : "${ r } " ) mc-rtc-superbuild . robots ) } ; do
6871 echo " $robot"
@@ -83,6 +86,8 @@ pkgs.mkShell {
8386 for app in ${ pkgs . lib . concatStringsSep " " ( map ( r : "${ r } " ) mc-rtc-superbuild . apps ) } ; do
8487 echo " $app"
8588 done
89+ echo ""
90+ echo "mc_rtc will use the following configuration files $MC_RTC_CONTROLLER_CONFIG"
8691 # only true for the symlink version, currently unused
8792 # echo ""
8893 # echo "All runtime components are symlinked in MC_RTC_PATH=${ mc-rtc-superbuild } "
0 commit comments