New 2.5 Beta Software Image now on GitHub


#1

We've been working on some finishing touches to the software for OpenROV 2.5. There are a lot of things to get figured out (and we could use some help so please let us know if you're savvy with this sort of thing an are interested in helping), but in the mean time, I thought it would be good to post an image of the software so far. There are still some aspects of the software that could use improvement, but it is good enough to start playing with if you've just built an OpenROV 2.5. This image also includes the necessary software to program the Controller Board using Cockpit.

Special thanks to Brian A for being the driving force behind the software so far, and to Dominik Fretz for creating the image.

https://github.com/OpenROV/openrov-software/releases/tag/v2.5.0-Beta

Please let us know how it works out!

Eric


#2

I cleared off my SD card, loaded up the image, and ran it. The beaglebone starts up OK and I can ssh in but nothing happens when I go to port 8080 on the device. When I go to /etc/init.d/openrov status it says OpenROV is not running, and trying to restart it gives me the same result. Not sure which step went wrong.


#3

Update on mine: it works now but I am not sure why. I went ahead and cleared the "volume label" in the SD formatter before formatting, uploaded a fresh image, and it worked. But then I went back and added the default volume label "boot", reformatted, and tried again and it still works. So I'm not sure but either way it works now.


#4

Hi all, I've installed the image on the BBB and successfuly connected to the OpenROV cockpit and the installed the firmware to the arduino, and I got he following error during install, and then no way to connect to the BBB when it's pluged on the arduino board. I then found I can connect to the BBB when pluging the USB cable as power suply and the network cable directly on the BBB. anyone have an idear of what went wrong ?

here is the error message from the Cockpit when trying to upload firmware to the cape :

upload failed, trying again.
Initiating arduino reset on pin 32

avrdude: Version 6.1-svn-20130917, compiled on Nov 21 2013 at 14:51:49
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/etc/avrdude.conf"
Arduino reset set high, Arduino enabled.

Using Port : /dev/ttyO1
Using Programmer : arduino
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x68
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x64
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x67
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x64
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x2e
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x3b

avrdude done. Thank you.

upload failed, trying again.
firmware-upload.sh: Failed to upload after numerous tries. Aborting.
firmware-installfromsource.sh: Uploading Firmware Failed! Aborting


#5

I was able to move image to sd card and start open cockpit and started to update Arduino firmware. It got to verifying and seem to hang. Waited for 20 mins. but it never finished.

powered off and back on several times.

Now Open cockpit does not come up. I cannot get in even with Putty at direct IP address.

What can I try?

below is the info from the failed Arduino load:

arduino/new.cpp
Linking libarduino.a
Linking firmware.elf
Converting to firmware.hex
Searching for Board description file (boards.txt) ... /usr/share/arduino/hardware/arduino/boards.txt
Searching for Arduino lib version file (version.txt) ... /usr/share/arduino/lib/version.txt
Detecting Arduino software version ... 1.0.5 (1.0.5)
Searching for Arduino core library ... /usr/share/arduino/hardware/arduino/cores/arduino
Searching for Arduino standard libraries ... /usr/share/arduino/libraries
Searching for Arduino variants directory ... /usr/share/arduino/hardware/arduino/variants
Searching for make ... /usr/share/arduino/hardware/tools/avr/bin/make
Searching for avr-gcc ... /usr/share/arduino/hardware/tools/avr/bin/avr-gcc
Searching for avr-g++ ... /usr/share/arduino/hardware/tools/avr/bin/avr-g++
Searching for avr-ar ... /usr/share/arduino/hardware/tools/avr/bin/avr-ar
Searching for avr-objcopy ... /usr/share/arduino/hardware/tools/avr/bin/avr-objcopy
Setting up uploader
Initiating arduino reset on pin 30

avrdude: Version 6.1-svn-20130917, compiled on Nov 21 2013 at 14:51:49
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/etc/avrdude.conf"
Arduino reset set high, Arduino enabled.

Using Port : /dev/spidev1.0
Using Programmer : linuxspi
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : linuxspi
Description : Use Linux SPI device in /dev/spidev*

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9801
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ".build/mega2560/firmware.hex"
avrdude: input file .build/mega2560/firmware.hex auto detected as Intel Hex
avrdude: writing flash (19652 bytes):

Writing | ################################################## | 100% 11.40s

avrdude: 19652 bytes of flash written
avrdude: verifying flash memory against .build/mega2560/firmware.hex:
avrdude: load data flash data from input file .build/mega2560/firmware.hex:
avrdude: input file .build/mega2560/firmware.hex auto detected as Intel Hex
avrdude: input file .build/mega2560/firmware.hex contains 19652 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 20.70s

avrdude: verifying ...

John


#6

Followed the instructions and it seems that everything is working so far! I have to manually assign my computer's IP address though because the automatically assigned IP was not within 192.168.254.x.

Also, what pins on the controller board are the lasers supposed to be connected to? Lasers are not mentioned at all in the OpenROV 2.5 guide.


#7

In the linked forum post Eric describes how the laser pointers are meant ot be mounted
http://openrov.com/m/discussion?id=6365107%3ATopic%3A70461

Tobias