FIRST Robotics Competition Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

[FRC 2016] Robot Simulation Tutorial

Robot Simulation Tutorial

screen.png

Kevin Fort
Principal Software Engineer
NI
Comments
sciencewhiz
Active Participant
Active Participant
on

In the simulated robot, where is the ultrasonic sensor mounted?

RyanNaz
Member
Member
on

There is some crucial information missing from this document, and the missing information is placed in an HTML file in your project folder.  It's titled "Robot Simulation Readme.html"

Please add in all the information below into the PDF.  It skips on all of the servos for the arm and camera are not even mentioned in the PDF.

Actuators on this simulated robot

  1. Left Motor
    • Digital Module = Digital Module 1
    • PWM Channel = PWM 1
  2. Right Motor
    • Digital Module = Digital Module 1
    • PWM Channel = PWM 2
  3. Camera Servo
    • Digital Module = Digital Module 1
    • PWM Channel = PWM 5
    • Angular Range = 170
  4. Arm Servo
    • Digital Module = Digital Module 1
    • PWM Channel = PWM 6
    • Angular Range = 170
  5. Gripper Servo
    • Digital Module = Digital Module 1
    • PWM Channel = PWM 7
    • Angular Range = 170


Sensors on this simulated robot

  1. Encoder on Right Motor
    • Digital Module = Digital Module 1
    • A Channel = DIO 3
    • B Channel = DIO 4
  2. Encoder on Left Motor
    • Digital Module = Digital Module 1
    • A Channel = DIO 5
    • B Channel = DIO 6
  3. Gyro
    • Analog Module = Analog Module 1
    • Analog Channel = AI 1
  4. Ultrasonic
    • Ping Digital Module = Digital Module 1
    • Ping DIO Channel = DIO 1
    • Echo Digital Module = Digital Module 1
    • Echo DIO Channel = DIO 2
  5. AXIS M1011 Camera

Thanks to Rachel Holladay from Team Combustion #1912 for this information!

masonwong
Member
Member
on

Is there any way to set the initial position of the robot when the simulator loads?

netsirk
NI Employee (retired)
on

Unfortunately, there is no way to set the initial position of the robot.

Regards,

Kristen M

Automated Test Product Marketing Engineer
National Instruments
netsirk
NI Employee (retired)
on

Also, please note the actuator and sensor data has changed for the 2015 season. The information communicated above is outdated.

Regards,

Kristen M

Automated Test Product Marketing Engineer
National Instruments
PeterGlass
Member
Member
on

Can anyone help with this error:

Error -310194 occurred at NI_Robotics_Simulator.lvlib:ODESimulator_Motor.lvclass:Get Motor Index By ID.vi->NI_Robotics_Simulator.lvlib:Get Actuator By ID.vi->DC Motor Controller Simulator.lvclass:Initialize (Simulator).vi->WPI_MotorControlOpen&ConfigurePWM.vi->WPI_MotorControlOpen Talon.vi->Begin.vi->Robot Main.vi

Contributors