[help]how to compile ROV source code?


#1

Hello,EveryBody.
I confused about how to compile ROV source code from addr:


I have download the source code above,but I don’t konw how to compile these source code.

I have installed: virtualBox,Vagrant,but I can’t download the file of this path:
wget http://rcn-ee.net/deb/rootfs/saucy/ubuntu-saucy-console-armhf-2013-07-22.tar.xz
I find the file don’t exist now.
By the way: “ubuntu-saucy-console-armhf-2013-07-22.tar.xz” ,is a ubuntu install package ?
and this package have configured all the complie enviroment ?

thank you so much.I just got my Beagle Bone Black Board from TI.


#2

I want to compile in
choice A: win8+VMWare+Ubuntu14.04
choice B: win8+VirtualBox+Vagrant+Ubuntu

which choice is better ?


#3

When you say compile…

Do you mean generate a full .img file for loading on a SD card

-or-

Do you mean get the cockpit software up and running in a VM?

-or-

Do you mean install updates to the cockpit software on your existing image on the beaglebone?


#4

Dear Badevguru,thank you so much for reply first,I am still in big confused today.
for you question,I think I means:“install updates to the cockpit software on your existing image on the beaglebone”. I have lots of questions,could you kindly give me a detail reply?
1.“existing image”: as i konw ,image is compiled from source code,such as .c,.h,*.cpp and so on, so where is the source code of the image? how to compile ? is this the guide:http://elinux.org/BeagleBoardUbuntu ?
2.what’s your openrov’s OS? Debian or Ubuntu?
3.I download the source code by:“git clone https://github.com/OpenROV/openrov-software.git”,is this the source code? how can i use this source code ?
4.I read the guide:“https://github.com/OpenROV/openrov-image/blob/master/README.md”,about the topic:“Build your own disk image”, I can’t get the file by:“wget http://rcn-ee.net/deb/rootfs/saucy/ubuntu-saucy-console-armhf-2013-07-22.tar.xz”,so I download anther file for repalce,it’s ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz,could I use this file for replace ?
but when i execute the follow cmd in ubuntu,there is nothing new image produced:
"hansen@ubuntu:~/hansen/openrov-image-master$ sudo ./build.sh …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz " ,I attach the log file,could you help me? sorry I can’t upload attached files.


#5

hansen@ubuntu:~/hansen/openrov-image-master$ sudo ./build.sh …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
[sudo] password for hansen:

  • set -e
  • export DIR=/home/hansen/hansen/openrov-image-master
  • DIR=/home/hansen/hansen/openrov-image-master
  • export IMAGE=…/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
  • IMAGE=…/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
  • export STEP_01_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img
  • STEP_01_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img
  • . /home/hansen/hansen/openrov-image-master/lib/libtools.sh
  • checkroot
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • ‘[’ …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz = ‘’ ‘]’
    ++ basename …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
  • IMAGE_FULLNAME=ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
    ++ basename ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz .tar.xz
  • IMAGE_NAME=ubuntu-14.04.1-minimal-armhf-2015-01-20
  • echo Extract the image: …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz…/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
    Extract the image: …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz…/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
  • which pv
  • echo 'pv: not installed, using tar verbose to show progress’
    pv: not installed, using tar verbose to show progress
  • tar xvf …/img/ubuntu-14.04.1-minimal-armhf-2015-01-20.tar.xz
    ./ubuntu-14.04.1-minimal-armhf-2015-01-20/
    ./ubuntu-14.04.1-minimal-armhf-2015-01-20/user_password.list
    ./ubuntu-14.04.1-minimal-armhf-2015-01-20/armhf-rootfs-ubuntu-trusty.tar
    ./ubuntu-14.04.1-minimal-armhf-2015-01-20/image-builder.project
  • cd ubuntu-14.04.1-minimal-armhf-2015-01-20
  • sed -i ‘s/[1024*1700]/[1024*1900]/’ setup_sdcard.sh
    sed: can’t read setup_sdcard.sh: No such file or directory
  • set -e
  • export DIR=/home/hansen/hansen/openrov-image-master
  • DIR=/home/hansen/hansen/openrov-image-master
  • export IMAGE=/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img
  • IMAGE=/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img
  • export STEP_01_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img
  • STEP_01_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img
  • export STEP_02_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • STEP_02_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • . /home/hansen/hansen/openrov-image-master/lib/libtools.sh
  • . /home/hansen/hansen/openrov-image-master/lib/libmount.sh
  • checkroot
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img = ‘’ ‘]’
  • echo -----------------------------

  • echo Step 2: creating copy of image file:
    Step 2: creating copy of image file:
  • echo ‘> /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img’

/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img

  • echo -----------------------------

++ dirname /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img

  • IMAGE_DIR_NAME=/home/hansen/hansen/openrov-image-master/work/step_02
  • ‘[’ ‘!’ -d /home/hansen/hansen/openrov-image-master/work/step_02 ‘]’
  • mkdir -p /home/hansen/hansen/openrov-image-master/work/step_02
  • cp /home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
    cp: cannot stat ‘/home/hansen/hansen/openrov-image-master/work/step_01/image.step_01.img’: No such file or directory
  • set -e
  • export DIR=/home/hansen/hansen/openrov-image-master
  • DIR=/home/hansen/hansen/openrov-image-master
  • export IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • export STEP_02_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • STEP_02_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • export STEP_03_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_03/image.step_03.img
  • STEP_03_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_03/image.step_03.img
  • . /home/hansen/hansen/openrov-image-master/lib/libtools.sh
  • . /home/hansen/hansen/openrov-image-master/lib/libmount.sh
  • checkroot
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = --no-cockpit ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = --no-dashboard ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = -r ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = ‘’ ‘]’
  • ‘[’ ‘’ = --no-cockpit ‘]’
  • ‘[’ ‘’ = --no-dashboard ‘]’
  • echo -----------------------------

  • echo Step 3: creating copy of image to compile software:
    Step 3: creating copy of image to compile software:
  • echo ‘> /home/hansen/hansen/openrov-image-master/work/step_03/image.step_03.img’

/home/hansen/hansen/openrov-image-master/work/step_03/image.step_03.img

  • echo -----------------------------

++ dirname /home/hansen/hansen/openrov-image-master/work/step_03/image.step_03.img

  • IMAGE_DIR_NAME=/home/hansen/hansen/openrov-image-master/work/step_03
  • ‘[’ ‘!’ -d /home/hansen/hansen/openrov-image-master/work/step_03 ‘]’
  • mkdir -p /home/hansen/hansen/openrov-image-master/work/step_03
  • ‘[’ ‘!’ ‘’ = 1 ‘]’
  • cp /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img /home/hansen/hansen/openrov-image-master/work/step_03/image.step_03.img
    cp: cannot stat ‘/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img’: No such file or directory
  • set -e
  • export DIR=/home/hansen/hansen/openrov-image-master
  • DIR=/home/hansen/hansen/openrov-image-master
  • export IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • export STEP_02_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • STEP_02_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img
  • export STEP_04_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_04/image.step_04.img
  • STEP_04_IMAGE=/home/hansen/hansen/openrov-image-master/work/step_04/image.step_04.img
  • export OUTPUT_IMAGE=/home/hansen/hansen/openrov-image-master/output/OpenROV.img
  • OUTPUT_IMAGE=/home/hansen/hansen/openrov-image-master/output/OpenROV.img
  • export USE_REPO=
  • USE_REPO=
  • export REPO=deb-repo.openrov.com
  • REPO=deb-repo.openrov.com
  • . /home/hansen/hansen/openrov-image-master/lib/libtools.sh
  • . /home/hansen/hansen/openrov-image-master/lib/libmount.sh
  • . /home/hansen/hansen/openrov-image-master/versions.sh
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export BUILD_NUMBER=0000
    ++ BUILD_NUMBER=0000
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export IMAGE_VERSION=2.5-custom
    ++ IMAGE_VERSION=2.5-custom
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export COCKPIT_VERSION=2.5.0-custom
    ++ COCKPIT_VERSION=2.5.0-custom
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export DASHBOARD_VERSION=1.0.0-custom
    ++ DASHBOARD_VERSION=1.0.0-custom
    ++ export NODE_VERSION=0.10.17
    ++ NODE_VERSION=0.10.17
    ++ export NODE_PACKAGE_VERSION=0.10.17-1
    ++ NODE_PACKAGE_VERSION=0.10.17-1
    ++ export MJPG_VERSION=2.0.1-8~0000.a48d422
    ++ MJPG_VERSION=2.0.1-8~0000.a48d422
    ++ export MJPG_STREAMER_GITHASH=a48d4221534ed9482cd0546b2381b639b745f30f
    ++ MJPG_STREAMER_GITHASH=a48d4221534ed9482cd0546b2381b639b745f30f
    ++ export INO_VERSION=0.3.7-1~0000.b8288ca
    ++ INO_VERSION=0.3.7-1~0000.b8288ca
    ++ export INO_GITHASH=b8288ca87015a33bf24a04a9bbd25e94aa2c43ed
    ++ INO_GITHASH=b8288ca87015a33bf24a04a9bbd25e94aa2c43ed
    ++ export DTC_VERSION=1.4-5~0000.65cc4d2
    ++ DTC_VERSION=1.4-5~0000.65cc4d2
    ++ export DTC_GITHASH=65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf
    ++ DTC_GITHASH=65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf
    ++ export CLOUD9_VERSION=0.7.0-5~0000.5b62a7c
    ++ CLOUD9_VERSION=0.7.0-5~0000.5b62a7c
    ++ export CLOUD9_GITHASH=5b62a7c83445ccba9f50592d41a7128b1f1fe868
    ++ CLOUD9_GITHASH=5b62a7c83445ccba9f50592d41a7128b1f1fe868
    ++ export SAMBA_CONFIG_VERSION=0.2~0000
    ++ SAMBA_CONFIG_VERSION=0.2~0000
    ++ export EMMCCOPY_VERSION=0.1~0000
    ++ EMMCCOPY_VERSION=0.1~0000
    ++ export AVRDUDE_VERSION=1:5.11.1-1~0000.ad04c42
    ++ AVRDUDE_VERSION=1:5.11.1-1~0000.ad04c42
    ++ export AVRDUDE_GITHASH=ad04c429a90f4c34f000ea4ae11db2705915a31f
    ++ AVRDUDE_GITHASH=ad04c429a90f4c34f000ea4ae11db2705915a31f
    ++ export OROV_ARDUINO_FIRMWARE_VERSION=latest-master
    ++ OROV_ARDUINO_FIRMWARE_VERSION=latest-master
  • checkroot
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = --reuse-step4 ‘]’
  • ‘[’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = ‘’ ‘]’
  • ‘[’ ‘!’ /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img = --reuse-step4 ‘]’
  • echo -----------------------------

  • echo Step 4: creating copy of image file:
    Step 4: creating copy of image file:
  • echo ‘> /home/hansen/hansen/openrov-image-master/work/step_04/image.step_04.img’

/home/hansen/hansen/openrov-image-master/work/step_04/image.step_04.img

  • echo -----------------------------

++ dirname /home/hansen/hansen/openrov-image-master/work/step_04/image.step_04.img

  • IMAGE_DIR_NAME=/home/hansen/hansen/openrov-image-master/work/step_04
  • ‘[’ ‘!’ -d /home/hansen/hansen/openrov-image-master/work/step_04 ‘]’
  • mkdir -p /home/hansen/hansen/openrov-image-master/work/step_04
  • cp /home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img /home/hansen/hansen/openrov-image-master/work/step_04/image.step_04.img
    cp: cannot stat ‘/home/hansen/hansen/openrov-image-master/work/step_02/image.step_02.img’: No such file or directory
  • set -e
  • export DIR=/home/hansen/hansen/openrov-image-master
  • DIR=/home/hansen/hansen/openrov-image-master
  • export IMAGE=
  • IMAGE=
  • export OUTPUT_DIR=/home/hansen/hansen/openrov-image-master/output
  • OUTPUT_DIR=/home/hansen/hansen/openrov-image-master/output
  • . /home/hansen/hansen/openrov-image-master/lib/libtools.sh
  • . /home/hansen/hansen/openrov-image-master/lib/libmount.sh
  • . /home/hansen/hansen/openrov-image-master/versions.sh
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export BUILD_NUMBER=0000
    ++ BUILD_NUMBER=0000
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export IMAGE_VERSION=2.5-custom
    ++ IMAGE_VERSION=2.5-custom
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export COCKPIT_VERSION=2.5.0-custom
    ++ COCKPIT_VERSION=2.5.0-custom
    ++ ‘[’ ‘’ = ‘’ ‘]’
    ++ export DASHBOARD_VERSION=1.0.0-custom
    ++ DASHBOARD_VERSION=1.0.0-custom
    ++ export NODE_VERSION=0.10.17
    ++ NODE_VERSION=0.10.17
    ++ export NODE_PACKAGE_VERSION=0.10.17-1
    ++ NODE_PACKAGE_VERSION=0.10.17-1
    ++ export MJPG_VERSION=2.0.1-8~0000.a48d422
    ++ MJPG_VERSION=2.0.1-8~0000.a48d422
    ++ export MJPG_STREAMER_GITHASH=a48d4221534ed9482cd0546b2381b639b745f30f
    ++ MJPG_STREAMER_GITHASH=a48d4221534ed9482cd0546b2381b639b745f30f
    ++ export INO_VERSION=0.3.7-1~0000.b8288ca
    ++ INO_VERSION=0.3.7-1~0000.b8288ca
    ++ export INO_GITHASH=b8288ca87015a33bf24a04a9bbd25e94aa2c43ed
    ++ INO_GITHASH=b8288ca87015a33bf24a04a9bbd25e94aa2c43ed
    ++ export DTC_VERSION=1.4-5~0000.65cc4d2
    ++ DTC_VERSION=1.4-5~0000.65cc4d2
    ++ export DTC_GITHASH=65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf
    ++ DTC_GITHASH=65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf
    ++ export CLOUD9_VERSION=0.7.0-5~0000.5b62a7c
    ++ CLOUD9_VERSION=0.7.0-5~0000.5b62a7c
    ++ export CLOUD9_GITHASH=5b62a7c83445ccba9f50592d41a7128b1f1fe868
    ++ CLOUD9_GITHASH=5b62a7c83445ccba9f50592d41a7128b1f1fe868
    ++ export SAMBA_CONFIG_VERSION=0.2~0000
    ++ SAMBA_CONFIG_VERSION=0.2~0000
    ++ export EMMCCOPY_VERSION=0.1~0000
    ++ EMMCCOPY_VERSION=0.1~0000
    ++ export AVRDUDE_VERSION=1:5.11.1-1~0000.ad04c42
    ++ AVRDUDE_VERSION=1:5.11.1-1~0000.ad04c42
    ++ export AVRDUDE_GITHASH=ad04c429a90f4c34f000ea4ae11db2705915a31f
    ++ AVRDUDE_GITHASH=ad04c429a90f4c34f000ea4ae11db2705915a31f
    ++ export OROV_ARDUINO_FIRMWARE_VERSION=latest-master
    ++ OROV_ARDUINO_FIRMWARE_VERSION=latest-master
  • checkroot
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • cd /home/hansen/hansen/openrov-image-master/output
    /home/hansen/hansen/openrov-image-master/steps/05_compress_image.sh: line 15: cd: /home/hansen/hansen/openrov-image-master/output: No such file or directory
    hansen@ubuntu:~/hansen/openrov-image-master$

#6

Dear Badevguru,could i send you the log file by email ?


#7

Dear Badevguru:
I am Hansen.
I am completely new to the OpenROV project,Cloud9,node.js.
If neccesary,you can send anything to my email: XXXXXXXXXXX.
Thank you so much.


#8

Hey Hansen, I can send a Private Message via the forum. No need to post your actual email address :slight_smile:


#9

Got it. Your trying to build the image.

So that is in a state of flux at the moment. I have been making a lot of stability fixes to the build process over the last couple months and I am almost done. I will be removing the vagrant file and instead will be using a docker cross-compile image to do a lot of the work. It wont be ready for another 30 days yet.

In the meantime, I recommend just using on of our existing beaglebone images and developing directly on the beaglbone. Say for instance you want to experiment with the cockpit.

  1. ssh on tot he rov
  2. go to /opt/openrov
  3. rm -rf cockpit
  4. ensure you have dashboard open in a browser (http://192.168.254.1, needed for internet connectivity from the rov)
  5. git clone
  6. cd cockpit
  7. npm install
  8. npm run bower (I think you can do it from the base folder, but I might be wrong)

That should get your fork installed as a development project on the ROV. Make changes, test them, commit back to your repo from the ROV.


#10

Dear Brian:
Thank you so much .
Yes,I want to know how to build a image(or compile source code to the final iamge),which can be update to BBB board directly.Image that if you have 1000 oprenrov platforms,you must hope have a final image(include openrov) which can be updated to BBB board and no need any more manual modification/edit/setting,and Openrov cockpit can work normally,right? Could you tell me how to do that or Just like you said that " It wont be ready for another 30 days yet."?
Thank you for everything.
Hansen.


#11

Dear Brian:

    I have upgrade openrov 2.5 image to my BB Board,
    I konw the default user is :rov, password is: OpenROV


    could you tell me how to get root ?


    Thank you.
                                                hansen.

#12

Dear Brian:
I am trying to :Customize the disk image,
I use: ./lib/mount.sh

    But fail,bellow is the log,I search on the internet,but find nothing.
    Could you give me a help ? Thank you so much.
                                                    hansen

hansen@ubuntu:~/hansen/openrov-image-master/lib$ source mount.sh …/…/V25Emmc/OpenROV-flash-2.5-29.img
++ set -e
++++ dirname -bash
dirname: invalid option – 'b’
Try ‘dirname --help’ for more information.
+++ cd ‘’
+++ pwd
++ DIR=/home/hansen/hansen/openrov-image-master/lib
++ . /home/hansen/hansen/openrov-image-master/lib/libmount.sh
++ . /home/hansen/hansen/openrov-image-master/lib/libtools.sh
++ echo /home/hansen/hansen/openrov-image-master/lib
/home/hansen/hansen/openrov-image-master/lib
++ ‘[’ …/…/V25Emmc/OpenROV-flash-2.5-29.img = ‘’ ‘]’
++ mount_image …/…/V25Emmc/OpenROV-flash-2.5-29.img
++ echo mounting image
mounting image
+++ losetup -f
losetup: no permission to look at /dev/loop
+++ true
++ media_loop=
++ ‘[’ ‘!’ -d root ‘]’
++ ‘[’ ‘!’ -d boot ‘]’
++ ‘[’ ‘!’ ‘’ ‘]’
++ echo 'losetup -f failed’
losetup -f failed
++ echo 'Unmount some via: [sudo losetup -a]'
Unmount some via: [sudo losetup -a]
++ echo -----------------------------


#13

I am not Brian, and I haven’t built an OpenROV image yet…but if you want to build an image for the 32-bit BBB (arm-based) on your Intel/AMD computer, then you’re going to need a cross-compilation toolchain. Have you built anything on your PC/laptop for execution on the BBB? If not, then that would be a good place to start. Cross-compilation, although not technically “difficult” can be challenging to get working at first, because of the toolchain.

If you’ve already gotten that working, or if my post is otherwise not relevant to your situation, then please disregard this message.

TB


#14

I have upgrade openrov 2.5 image to my BB Board,
I konw the default user is :rov, password is: OpenROV

could you tell me how to get root ?
Thank you.
                                            hansen.

Usually with Ubuntu, you use the “sudo” command to gain root privileges. While technically “sudo” can be used to run a command as any other user by providing an argument of a user’s name, when you don’t supply such an argument…sudo gets you root privileges. So then to run a command that requires root privileges, you would just do this sort of thing:

$ sudo apt-get update

And the shell will ask you for your password, and then it should run the command. I presume the OpenROV image is set up so that user “rov” has root privileges.

TB


#15

So mounting the image like that is still a bit of a black art. I hope to have instructions soon… but it keeps getting put down on the priority list. The issue is that even our build system is not yet stable enough that I would suggest the general development community would succeed.

For the moment, the work around in customizing the image is to boot to it on a beagle bone and make your changes directly, and then to backup the resulting SD card image.

-Brian


#16

A post was merged into an existing topic: Recording your dives with Screencastify


#17

Hi,

My question is about OpenROV CockPit Software Edit…

I need to open OpenROV CockPit (software) in a browser, but i dont have success.

I used the link https://github.com/OpenROV/openrov-software/tree/master/developer_guide to understand the edit process without a BeagleBone Hardware but i dont have success.

After install node.js and complete npm dependencies i execute a below command (Windows 10) but the page not show.
SET USE_MOCK=true video_port=8092 photoDirectory=/tmp node cockpit.js --debug

I need open and Edit a cockpit application.

I need help!! Thanks!!

The page dont open and NodeJS server dont start.

A hug,

Richard


#18

Yea, turns out there is a PR that takes care of one last hard coded folder. The current work around is to create a /usr/share/cockpit folder on the computer. Otherwise everything your doing is right.

Since your are using windows you might want to also double check that you have the /tmp folder.

If you can attach a link to the the output that might have the error information I can try and help.


#19

Hi,

This is my /src directory: C:\opt\openrov\cockpit\src

I try to run with the command:
SET USE_MOCK=true video_port=8092 photoDirectory="/tmp" video_url=“http://localhost:8092/?action=stream” node-debug --web-port 3080 cockpit.js

Which directory add the folder /temp ? I need to add this folder?

The output don’t show error for me.

I am new to NodeJS and OpenROV and need to customize the interface with some custom images. If I am not wrong be able to do this through the web browser itself. This is my understanding correct?

Thank you for your attention and help.

Sorry for my bad english.

A hug,

Richard


#20

Hello,
Do you have any idea what may be occurring based on my previous post ?

In my previous post I added an image of "prompt " and not getting errors , but can not view the application of OpenRov cockpit.

Thank you,

Richard