User Tools

Site Tools


robots:computer:navigation:computer

Description and guides to the Navigation PC on HaKo

Editing the config files for rhd og mrc. The rhd and mrc are using their config files from the path: /usr/local/etc/mobotware/ When editing the any of the rhdconfig(xml) files, please do so in this specified path: /usr/local/smr.local/bin/rhdconfig And please only change the symbolic links in the ./etc/mobotware if you are using other configfiles. This will make troubleshooting easier.

Installing CANBUS on linux: ortcan.sourceforge.net/lincan/ To Kim: remember to post guide here. Guide: To install lincan: First download the source files, either from the webpage or from github. Then run the ./build-lincan.sh, this will make everything we need and save it in the folder build-lincan The module needed by insmod(install module) is located in the _compiled folder, under modules.

Now go to /etc folder and locate rc.local, here write the line: insmod [path to lincan.ko] hw=pcm3680 irq=7,11 io=0xda00 baudrate=250,250 (in this case, baudrate can be changed.)

test the installation with rhdconfig.hako.xml.

Grub problem - Statrup freezes in Bootmenu

If there has been an error with the computer for some reason, Grub is setup to ask the user to select which operating system it should load. The problem is a usb-keyboard is not recognised so it is impossible to start the OS. Rebooting does not help, the error will still remain.

Solution

<note important>this solution assumes that you are running Ubuntu</note> Take out the Compactflash card, and mount it with a cardreader on your own computer.

Open a terminal and navigate to the folder

/media/[user]/51e13800-d7fd-4da3-82ba-6442e5c08ca4/boot/grub

[user] should be replaced with the username you are using. For example

/media/claes/51e13800-d7fd-4da3-82ba-6442e5c08ca4/boot/grub

Now run the following command to edit the grub configuration

sudo gedit grub.cfg

you can use any editor you like instead of gedit.

Go to line 44 and change the line

set timeout=-1

to

set timeout=0

If it is not line 44 find this in the file

if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=8
fi

change it to this

if [ "${recordfail}" = 1 ]; then
  set timeout=0
else
  set timeout=8
fi

Save the file, put the card back in the computer and start it again.

<note warning>Remeber to change the settings back again once the computer is started</note>

robots/computer/navigation/computer.txt · Last modified: 2021/08/14 04:21 (external edit)