Arduiono firmware old but no software load from web window


#1

No file loads from Upload Arduino Firmware button. => apply new firmware

I follow steps below but nothing ever happens. I tried picking files before did that redirect the button now?

Thanks

Bob

------------------------Programming the OpenROV Cape---------------

Step 12: In Cockpit, press the "Settings" button in the upper right-hand side of the screen, and press "Upload" (you don't need to select anything under "choose file").

Step 13: A window called "Upload Arduino Firmware" will pop up. Press the blue "Apply New Firmware" button in the lower right side of the window. This will upload the Arduino Code necessary for the Cape to work.

Step 14: Once the Arduino Firmware has been uploaded (the window will stay open, but the green progress bar will have made it all the way to the right) you can close the window.

Step 15: Restart the ROV

Step 16: Once the ROV has restarted, verify that you can read telemetry data, control the lights, and control the thrusters. You may need to program and calibrate the thrusters before they respond properly to commands.

Step 17: Let us know how it works out!

rov@OpenROV:/var/log$ tail -100 openrov.log

OpenROVController: './lib/OpenROVController',

FirmwareInstaller: './lib/FirmwareInstaller',

Hardware: './lib/Hardware' }

info: socket.io started

Starting the script from /opt/openrov/src/linux to setup UART1...

initiating camera on

Started listening on port: 8080

/dev/video0

spawning capture process...

emitted 'videoStated'

camera started

child process exited with code 1

stderr: MJPG Streamer Version: svn rev:

i: Using V4L2 device.: /dev/video0

i: Desired Resolution: 1920 x 1080

i: Frames Per Second.: 15

i: Format............: MJPEG

Unable to set format: 1196444237 res: 1920x1080

Init v4L2 failed !! exit fatal

i: init_VideoIn failed

Audrino is at an incompatible version of firmware. Upgrade required before controls will respond

0

0

ketNamespace.EventEmitter.emit [as $emit] (events.js:117:20)

at connect (/opt/openrov/node_modules/socket.io/lib/namespace.js:292:10)

at /opt/openrov/node_modules/socket.io/lib/namespace.js:308:13

at SocketNamespace.authorize (/opt/openrov/node_modules/socket.io/lib/namespace.js:252:5)

at SocketNamespace.handlePacket (/opt/openrov/node_modules/socket.io/lib/namespace.js:302:14)

at Manager.handleClient (/opt/openrov/node_modules/socket.io/lib/manager.js:698:32)

at Manager.handleUpgrade (/opt/openrov/node_modules/socket.io/lib/manager.js:618:8)

config { debug: true,

debug_commands: false,

production: true,

sample_freq: 20,

dead_zone: 10,

video_frame_rate: 15,

video_resolution: '1920x1080',

video_device: '/dev/video0',

video_port: 8090,

port: 8080,

serial: '/dev/ttyO1',

serial_baud: 115200,

preferences:

{ stores: { file: [Object], defaults: [Object] },

sources: [],

version: '0.6.7',

Argv: [Getter],

Env: [Getter],

File: [Getter],

Literal: [Getter],

Memory: [Getter],

key: [Function],

path: [Function],

loadFiles: [Function],

loadFilesSync: [Function],

formats: { json: [Object], ini: [Object] },

Provider: [Function] },

OpenROVCamera: './lib/OpenROVCamera',

OpenROVController: './lib/OpenROVController',

FirmwareInstaller: './lib/FirmwareInstaller',

Hardware: './lib/Hardware' }

info: socket.io started

Cannot load StringPrep-0.1.0 bindings. You may need to `npm install node-stringprep'

Starting the script from /opt/openrov/src/linux to setup UART1...

initiating camera on

Started listening on port: 8080

/dev/video0

spawning capture process...

emitted 'videoStated'

camera started

child process exited with code 1

stderr: MJPG Streamer Version: svn rev:

i: Using V4L2 device.: /dev/video0

i: Desired Resolution: 1920 x 1080

i: Frames Per Second.: 15

i: Format............: MJPEG

Unable to set format: 1196444237 res: 1920x1080

Init v4L2 failed !! exit fatal

i: init_VideoIn failed

Audrino is at an incompatible version of firmware. Upgrade required before controls will respond

0

0

/opt/openrov/src/lib/Hardware.js:34

logger.command(command);

^

ReferenceError: logger is not defined

at EventEmitter.Hardware.hardware.write (/opt/openrov/src/lib/Hardware.js:34:3)

at EventEmitter.controller.updateSetting (/opt/openrov/src/lib/OpenROVController.js:116:14)

at SocketNamespace.<anonymous> (/opt/openrov/src/cockpit.js:149:14)

at SocketNamespace.EventEmitter.emit [as $emit] (events.js:117:20)

at connect (/opt/openrov/node_modules/socket.io/lib/namespace.js:292:10)

at /opt/openrov/node_modules/socket.io/lib/namespace.js:308:13

at SocketNamespace.authorize (/opt/openrov/node_modules/socket.io/lib/namespace.js:252:5)

at SocketNamespace.handlePacket (/opt/openrov/node_modules/socket.io/lib/namespace.js:302:14)

at Manager.handleClient (/opt/openrov/node_modules/socket.io/lib/manager.js:698:32)

at Manager.handleUpgrade (/opt/openrov/node_modules/socket.io/lib/manager.js:618:8)

cockpit.js has exited after 3 restarts


#2

Bob,

Just curious if this is still an issue? I've not seen anyone else run in to logger not being defined, and I wonder if simply upgrading to the later software fixed it?


#3

Brian,

Actually, I reloaded the microSD card and the OpenROV WORKS! I have everything working, including a bathtub test -- except the web image capture.

The button under the camera on the web page does not allow us to click it (grayed out). Any thoughts on that? Otherwise hopefully, we are a go for our first dive.

Cheers,

bob