Venture of Robots

RobotC实时查看传感器数值的方法|Real-time observations of Sensor Values in RobotC

During the programming of autonomous  program for VEX robots ,  we sometimes need to observe the sensor values in real time in order to adjust the movements of robots. This article will show you how to watch Sensor Values in RobotC .

在给VEX机器人编程自动程序时,我们经常需要实时查看传感器的数值。这篇文章将详细介绍如何在RobotC里实时查看传感器数值。

1>

Open your RobotC and your code.

打开你的RobotC并打开你的代码。

2.Configure your sensors.配置你的传感器。

点击Motors and Sensors Setup

Click Motors and Sensors Setup

在此选择你使用的传感器的连接情况

Configure your sensors.

3.下载你的程序,调试器将自动打开。

Download your program into the cortex, the program debugger will be opened automatically.

点击Start.

Click start to open your program.

你也可以在菜单里手动打开调试器。

You can also open the debugger in the menu manually .

4.

打开Robot-> Debugger Menu  -> Sensors

Open Robot -> Debugger Menu  -> Sensors

5.Well done! Now you can watch real-time sensor values in the window below.

现在你可以在下面的窗口里实时查看编码器的值了。

作者/Author :Alpar.

This post is orginal, please remember to mark the source if you want to transfer the content.

这篇文章为原创,转载请标明出处。

 

Leave a Reply

Your email address will not be published. Required fields are marked *