View Single Post
  #8   Spotlight this post!  
Unread 26-01-2014, 23:03
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Coding for Mecanum problems

Quote:
Originally Posted by xXhunter47Xx View Post
The problem is that we are trying to call the jaguars within Windriver in drivewithjoystick.cpp but it won't compile correctly.
Is there something wrong with our RobotBuilder template that isn't allowing us to do so
It's not a good practice to have a command directly access a piece of hardware, so RobotBuilder doesn't make the hardware public. Rather, you should create a public method of your subsystem that safely accesses the hardware, and then call those methods from your command.