View Single Post
  #4   Spotlight this post!  
Unread 03-02-2015, 20:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,795
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Autonomous with sonar and colour vision

To run debug:
  • Put the robot up on blocks
  • Connect to the robot
  • Power the robot
  • Open Robot Main.vi
  • On the top left is a white arrow, click on it to run in debug
  • After the program finishes loading
    • Bring up the Autonomous block diagram
    • Right-click on the wire output of the Sonar and select probe. You should get a new pop-up window ready to display the value of wires. You can add probes anywhere you like.
    • You can also add indicators to any wire or vi node and watch those on the Autonomous front panel
    • Put something in front of the sonar for it to see.
    • Enable Autonomous and watch the value in the probe window
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 03-02-2015 at 20:53.
Reply With Quote