Hello there,
I was trying to find how I can integrate Navlight with navigator board using ardusub fw for ROV but couldn’t find related topic.
@tony-white Hey Tony, would you please advise direction on this matter, thank you.
Hello there,
I was trying to find how I can integrate Navlight with navigator board using ardusub fw for ROV but couldn’t find related topic.
@tony-white Hey Tony, would you please advise direction on this matter, thank you.
HI,
The navligth on blueboat is operated by this script:
It should just work if you enable lua scripts and place it in the correct folder
Thank you for your reply, and showing the way it can be controlled.
Just for clarifying should I connect yellow signal cable to RGB slot or somewhere else in the navigator board
Hi @nurjan14 -
It would plug into the same place it does on the BlueBoat, PWM0, the bottom connector two below where you’ve highlighted. The yellow wire would go in the right most pin, for the Signal to be connected. Keep in mind the voltage range required: 5-12V, not battery voltage!
Got it @tony-white
Thank you
@tony-white I upload that lua script on rpi side through the file manager,
I suppose it requires additional “activation” or “enabling” somewhere else as the BlueBoat ArduRover and ROV ArudSub might have different startup settings.
Would you please direct me where exactly such settings locates and what I need to change, in other words how to make it work on ardusub type of firmware, considering that wiring, connection and power is properly done.
Thanks
Nurjan
Hi @nurjan14
Where did you place the file via the file manager?
You need to set the scr_enable parameter to Lua Scripts, and then restart the autopilot. A folder will be created at /ardupilot_logs/firmware/scripts that your lua script should be copied to with the File Browser. Once you restart the autopilot again (just the autopilot, a full restart of BlueOS isn’t necessry) the script will be run.
Hi @tony-white
After enabling the scr_enable, I upload it in the ardupilot_logs/firmware/scripts
But after the reboot even power restart there was no response, no light from the NavLight.
I am providing 5v to it, and attach yellow cable to the PWM0 (yellow to signal side)
Any ideas how to debug this?
Hi @nurjan14
Check if the light comes on when the signal line is not connected, it should go out when you connect to ground. The script you’re using is meant for ArduRover, so you may want to review it more closely…
Could you share a diagram or photo of your wiring? The signal from the Navigator needs a common ground with the light’s power supply.
If you’re trying to run the BlueBoat NavLight script on a BlueROV2, you’ll likely want to at least update the currently used Rover mode mapping to the ArduSub one (in the MODES, MODE_MAPPING and DEFAULTS variables).
Could you share a diagram or photo of your wiring? The signal from the Navigator needs a common ground with the light’s power supply
It shares the common ground with the whole system in the ROV (negative cable attached to the negative bar)
If you’re trying to run the BlueBoat NavLight script on a BlueROV2, you’ll likely want to at least update the currently used Rover mode mapping to the ArduSub one (in the
MODES,MODE_MAPPINGandDEFAULTSvariables).
That makes much sense now, thank you for pointing to this. I’ll change script and let know later after testings.