Hi, I've been playing around with the two blocks that you provide, the one of the PWM and the one that sends data back to ArduPilot. Is it possible to reduce the fps value from the predefined 400? With more complex models I am not able to achieve such refresh rate (400) and therefore it runs slower than real time
i receive error : Undefined function 'pnet' for input arguments of type 'char'. Error in AP_receve.m (line 6) pnet('closeall') % close any connections left open from past runs Error in 'Rover/AP receive/MATLAB Function' (line 5)
many thanks for the tutorial!!! Can you point out that for the input PWM channels ,where exactly are they being defined?
Hi, I've been playing around with the two blocks that you provide, the one of the PWM and the one that sends data back to ArduPilot. Is it possible to reduce the fps value from the predefined 400? With more complex models I am not able to achieve such refresh rate (400) and therefore it runs slower than real time
In other words when simulink is running these blocks at fps
I can't help you with the programming but could you increase the capture resolution?
i receive error :
Undefined function 'pnet' for input arguments of type 'char'.
Error in AP_receve.m (line 6)
pnet('closeall') % close any connections left open from past runs
Error in 'Rover/AP receive/MATLAB Function' (line 5)
im getting command rejected by MAV error. how can i fix that?