Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   NavX MXP Command Based (http://www.chiefdelphi.com/forums/showthread.php?t=154026)

GavinL 21-01-2017 12:22

NavX MXP Command Based
 
Very confused.

Can one of you point me in the right direction on where to start with the NavX MXP programming. Just anywhere, besides the kauailabs website because I'm pretty sure its not for command based.

Things I need to know:
how to make a new ahrs, website says:
Code:

ahrs = new AHRS(SerialPort::kMXP); //but this doesn't work for me/I don't know where to place it
what I can do with the navx/what I should do
anything I should know

ty

RaskorTheWise 21-01-2017 16:28

Re: NavX MXP Command Based
 
My team just got the NavX MXP as well and I'm going to begin programming it myself.

In terms of what you can do with the NavX MXP, there is a detailed documentation on their site at http://www.pdocs.kauailabs.com/navx-mxp/

As for the location of that code, it looks like it should work if you put it in the Robot() constructor.

Hope this helps!

RaskorTheWise 21-01-2017 16:33

Re: NavX MXP Command Based
 
Double checked your post, I'm not sure whether the documentation works for command based, like you said (must have skimmed over it before) but you should still give it a shot.


All times are GMT -5. The time now is 21:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi