Go to Post The magic in a competition isn't finding creative ways to make an opponent lose, but finding even more creative ways for you to win. - galewind [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2017, 12:22
GavinL GavinL is offline
intensely stares at program
FRC #5726 (RhumBotz)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2016
Location: San Antonio, Texas
Posts: 42
GavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to beholdGavinL is a splendid one to behold
Question 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
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2017, 16:28
RaskorTheWise RaskorTheWise is offline
Registered User
AKA: Noah Gersh
FRC #2551 (Penguin Empire)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Novato, CA
Posts: 8
RaskorTheWise is an unknown quantity at this point
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!
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2017, 16:33
RaskorTheWise RaskorTheWise is offline
Registered User
AKA: Noah Gersh
FRC #2551 (Penguin Empire)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Novato, CA
Posts: 8
RaskorTheWise is an unknown quantity at this point
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:37.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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