Sensor Fusion Toolbox in Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sensor Fusion Toolbox in Linux

2,420 Views
javierhernande1
Contributor IV

Hi,

 

I have installed 'Sensor Fusion Toolbox' for Windows in Ubuntu 16 32bits (virtualized with Oracle VirtualBox 5.0.20 64 bits in Fedora 23).

 

152969_152969.pngCaptura de pantalla de 2016-06-04 09-33-08.png

 

I could generate the .bin file for the board FRDM-K64F and install it without problems.

 

152970_152970.pngCaptura de pantalla de 2016-06-04 09-37-51.png

 

But now, there is a downside.

 

Freescale Sensor Fusion Toolbox application can not open port to the sensor board. Dialog ERROR say:

 

Check that the sensor board is switched on. If the sensor board has never been paierd with this PC then use Control Panel / Devices and Printer / Add a device to add the sensor board and then restart this application.

 

The solution! -->  Set up the serial port in Wine

 

$  ln -s /dev/ttyAMC0 ~/.wine/dosdevices/com1

$ nano ~/.wine/system.reg

add  this: 

[Hardware\\Devicemap\\Serialcomm] 1131331688

"COM1"="COM1"

 

wine SensorFusion.exe

 

Result:

152981_152981.pngCaptura de pantalla de 2016-06-04 14-21-05.png

 

But latency is high.

 

 

Best regards,

Javier

Labels (1)
2 Replies

1,746 Views
javierhernande1
Contributor IV

You're welcome, a pleasure for me to contribute something.

I haven't Windows machine, so I can try FSFK project. Not very fast, but it works.

Best regards,

Javier

0 Kudos
Reply

1,746 Views
michaelestanley
NXP Employee
NXP Employee

Wow!  I'm impressed.  We never expected anyone to attempt to run the tool from Linux. 

I'm also not surprised by the latency issue.  You are going through a lot of software layers to accomplish what you've done.

Thanks for sharing.

Mike