Hi All,

I am currently writing a MATLAB script to send high level command to Pixhawk loaded with PX4 firmware.
The setup:
1- Mac OS X 10.9.5
2- MATLAB R2015a
3- 3DR telemetry module
4- quad rotor with Pixhawk onboard with 3DR telemetry module
In the MATLAB script, after connecting one 3DR telemetry module to the Mac(via USB), not yet powered the quad which has the other telemetry module,
1- I use the serial communication function to create a serial object with baud=57600. This
2- I use the 'fopen(serial object)' to open the port
The previous steps work fine.
However, once I power the quad on, and both 3DR telemetry modules give constant green LED, which means they found each other, the keyboard and mouse on the Mac get locked up, even if I can see the text cursor is blinking in MATLAB (so it does not hang or give me the 'Busy' status). The only way so far that I can regain use of the keyboard and mouse is to restart the Mac.
I am not sure why is this happening ?
Any idea/suggestions are appreciated.
[EDIT]: 10/18/2015
Problem is solved. Just keep reading from the port.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity

DIY Robocars via Twitter
21 hours ago
DIY Robocars via Twitter
RT @_JonMyer: šŸšØAttention DeepRacer's including #UndergroundDeepRaceršŸšØ Check our our LIVE stream that including @IAM_dbro Take a few momentsā€¦
Aug 5
DIY Drones via Twitter
RT @MarvelmindMaxim: Extreme precision for 60 swarming robots. #marvelmind #autonomousrobotics #robotics #swarmrobotics #rtls #ips #indoorā€¦
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Precise (Ā±2cm) tracking for racing boats and autonomous boats. Works outdoor and indoor. #autonomous #AutonomousVehicā€¦
Aug 3
DIY Drones via Twitter
RT @MarvelmindMaxim: Helping PixHawk folks to fly autonomous quadcopters using PX4 and ArduPilot. https://marvelmind.com/drones/ Equally suitabā€¦
Aug 3
DIY Robocars via Twitter
RT @chr1sa: The @DIYRobocars @donkey_car virtual AI car race is starting in 15 minutes! Watch it live on Twitch https://www.twitch.tv/mossmann3333 httā€¦
Aug 1
DIY Robocars via Twitter
RT @chr1sa: Don't miss our monthly @DIYRobocars @donkey_car virtual AI car race tomorrow at 10:00am PT live on Twitch. Head-to-head racingā€¦
Jul 31
DIY Robocars via Twitter
RT @sparkfun: Our completed tutorial on building an @NVIDIA Jetson Nano-powered @Sphero RVR gets your bot up and running via teleoperationā€¦
Jul 30
DIY Robocars via Twitter
RT @SmallpixelCar: Freeway test https://t.co/4V5tV9lhIP
Jul 29
DIY Robocars via Twitter
Very small autonomous cars racing, thanks to an overhead camera: https://control.ee.ethz.ch/research/team-projects/autonomous-rc-car-racing.html
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
Jul 29
DIY Robocars via Twitter
RT @chr1sa: Don't miss our virtual AI car race this Saturday! Real developers + virtual cars =šŸŽļøšŸŽļøšŸŽļø Head-to-head battles with thrills, spā€¦
Jul 28
DIY Robocars via Twitter
Jul 27
DIY Robocars via Twitter
RT @usashirou1: Jetson nano by Isaac Kaya #jetson https://t.co/Mu1N0CyQkN
Jul 23
DIY Robocars via Twitter
RT @GPUsolution: JetRacer mady by Iflytek company #JetsonNANO #Nvidia https://t.co/MimTymIwge
Jul 23
Moreā€¦