1

Topic: After update to ATLAS Camera changes colors.

Well I was trying to calibrate my scanner and then I noticed that the colors were way off. It seems like the update causes the camera to go into a blue funk, all the colors are messed up. I tried the fix mentioned in the forum where MmalStillCamera.cpp and MmalVideoCamera.cpp files get changed from BGR to RGB. Then I do a make, at which point I reboot and let the system come back up. THe moment the update takes place, the colors are in a blue funk and this thing goes hay wire.

Any feedback? I am this close to blowing out the SD card and rebuilding the scanner. I would rather not honestly.

2

Re: After update to ATLAS Camera changes colors.

The modification should have fixed your issue.
Check if your modification is still present in the MmalStillCamera.cpp and MmalVideoCamera.cpp files.
If you have the paid version, maybe it was overriden by the auto update.

I also suggest to kill the process started at boot time and to start it manually.
This will make sure you are running in root mode.
$ sudo kill [FreeLssPID]
$ sudo ./freelss

3

Re: After update to ATLAS Camera changes colors.

Thats what I was trying to say, once the update runs the binary blob pushed out resets to BGR instead of RGB.

4

Re: After update to ATLAS Camera changes colors.

Oh.  That's a bit annoying. 
You could remove your serial number before applying the fix, but you would loose functionalities.
Or wait for a permanent bug fix
:-(

5

Re: After update to ATLAS Camera changes colors.

Guys, I have the same issue engineerd3d reported, even I've made the change to MmalStillCamera.cpp and MmalVideoCamera.cpp files and make freelss again only free version was fixed.
Currently I've installed version 1.18 and could find source code anywhere to permanent make the change to MmalStillCamera.cpp and MmalVideoCamera.cpp files for new version.
It seems commercial version generates freelss shell script only and delete all sources so it couldn't be changed.
As vlaine said that's VERY annoing, I've paid for a full functional software but, I'm very glad with the improvements v 1.18 has, it is a shame we are not able to make changes as other users does.
Perhaps I'm wrong and there is a way to fix the camera issue by myself but I couldn't get how over v1.18, does anyone know where the freelss/src folder is and how should regenerate the autostart version.
I've also tried running "make startup" but it made my old free version autostarted.

Thanks in advance for your help

6 (edited by vlaine 2016-08-01 17:13:54)

Re: After update to ATLAS Camera changes colors.

You could try this.
Modify the UpdateManager.cpp file and put an invalid update url
const std::string UpdateManager::UPDATE_URL = "https://www.INVALIDmurobo.com/atlas3d/updates.xml";

This way it should prevent your software from updating itself.

7

Re: After update to ATLAS Camera changes colors.

I'm going to get this issue resolved as a quick fix this week.

- Uriah

8

Re: After update to ATLAS Camera changes colors.

hairu526 wrote:

I'm going to get this issue resolved as a quick fix this week.

- Uriah

Thanks so much Uriah !

JT

9 (edited by hairu526 2016-08-06 16:53:15)

Re: After update to ATLAS Camera changes colors.

A fix for this is available via the ATLAS 3D auto-update system.  There is now a setting on the Setup page to swap the red and blue color channels of the camera's images.