Install and Configure Husky Software¶
Installing Husky Software¶
Clearpath provides a lightly customized installation image of Ubuntu Trusty Server 14.04, that automatically pulls in all necessary dependencies for Husky software.
Download the appropriate Kinetic Husky ISO image for your platform (32 bit - i386, 64 bit - amd64).
Copy the image to a USB drive using unetbootin:
sudo unetbootin isofile="kinetic-husky-amd64-latest.iso"
Connect your robot PC to wired internet access, a keyboard, and a monitor. Make sure that the PC is connected to shore power, or the Husky battery is either fully charged.
The next step wipe your robot’s hard drive, so make sure you have that image backed up on another system!
Boot your robot PC from the USB drive, and let installer work it’s magic.
The setup process will be automated, and may take a long time depending on the speed of your internet connection.
Once the setup process is complete, the PC will turn off. Please unplug the USB drive and turn the PC back on.
On first boot, the username will be administrator and the password will be clearpath.
Please follow the configuration instructions on the screen. If the computer reboots, wait for the PC to boot to the login screen, and re-enter the login credentials.
Once the computer configuration is complete, you may use passwd utility to change administrator account password.
To setup a factory-standard Husky robot, ensure all your peripherals are plugged in, and run the following command:
rosrun husky_bringup install
The install script will configure a ros upstart service, that will bring up the base Husky launchfiles on boot. The script will also detect any standard peripherals (IMU, GPS, etc.) you have installed, and add them the service.
Testing base configuration¶
To test your configuration, start the background service with the following command:
sudo systemctl start ros
The COMM light on your Husky should go from red to green. You can check that the service has started correctly by checking the logs:
sudo tail /var/log/upstart/ros.log -n 30
Your husky should now be accepting commands from your joystick. The service will automatically start each time you boot your Husky’s PC.
Calibrating the Magnetometer¶
The Husky will rotate autonomously during calibration. Make sure all external cables are unplugged, and the Husky has unobstructed room to move in a 1 metre radius.
If your Husky has a UM6 IMU installed, you must calibrate the magnetometer for magnetic deviation before it will be used for pose estimation.
Make sure the ros service is running.
Execute the calibration script on the Husky computer remotely via ssh:
rosrun husky_bringup calibrate_compass
Follow the onscreen instructions.