The action controller of Stewart Platform is calculated by inverse kinematics and it is why we count up the error.
由于六轴平台的控制动作是由逆运算方式求得,造成位置误差会呈现累积现象。
Action caching lets you take advantage of authentication and any filters on the controller.
动作缓存让您能够利用认证及控制器上的任何过滤器。
Every action in a controller pairs up with a view based on the name.
控制器中的每个动作也是根据名称与一个视图配对。
Instead of creating a controller or action class, you create a page, place components on it, and define how each component reacts to user input.
与构建控制器或动作类相反,您创建的是一个页面,在这个页面上放置组件,然后定义每个组件如何响应用户输入。
For each cached element, you need only specify the content you want to cache, any controller action that produces your dynamic content, and a timeout.
对于每个被缓存的元素,只需指定想要缓存的内容、可生成动态内容的任何控制器动作以及超时。
This is key to your design because every view action performed by the user is sent to this controller to handle.
这对设计非常关键,原因是用户执行的每个视图操作都被发送到该控制器进行处理。
Let's consider the user controller and the login action to be tested on extreme loads.
我们来考虑如何测试用户控制器和登录动作在极端负载下的表现。
Each view controller receives the action every time the user performs an action on the view.
每当用户在视图上执行一个操作时,每一个视图控制器就会接收到这个操作。
As you can see, you first invoke the controller action as if it were a method call on the controller.
可以看到,您首先调用控制器操作,就像它是另一个控制器上的方法一样。
The events triggered by any user action are intercepted by the controller.
控制器截获任何由用户操作出发的事件;
Listing 1 shows an example of a Struts Action that blurs the line between model and controller.
清单1显示了一个StrutsAction的例子,这个例子模糊了模型层和控制器层之间的界线。
Make all decisions based on the action and the context and centralize the logic in the controller.
根据动作和上下文作出所有决定并集中控制器中的逻辑。
Now URIs that begin with /blog will be redirected to the entry controller and the list action.
现在,以 /blog开头的那些 URI 都将会被重新定向到条目控制器和列表动作。
Modify the getMsg controller action to take a string parameter and return a string value.
修改getMsg控制器动作以获取字符串参数并返回字符串值。
Clicking this menu option will invoke a new action in our controller named search.
点击这个菜单项将调用控制器中名为Search的新动作。
In Listing 7, you send a request from console, in two forms, to invoke the list action on the trails controller.
在清单7中,从控制台以两种形式发送请求,调用trails控制器的list动作。
Rails will actually invoke the controller before rendering the action.
Rails 在呈现动作前会实际调用控制器。
To see the breakpointer in action, create a simple Rails application, generate a controller, start the server, and start a breakpointer.
为理解breakpointer的运行过程,可创建一个简单的Rails应用程序,生成一个控制器,启动服务器,并启动breakpointer。
The Action is providing control in the application. The Action is part of the controller (my fifth grade teacher told me that repeating things is a good way to make people remember them).
因此,Action是控制器层的一部分(我在五年级时的老师告诉我重复一件事情是使人们记住它的一个好方法)。
You can test this out by specifying that the products controller uses caching for the view action.
您可以通过指定产品控制器对view操作使用缓存来测试这段代码。
Finally, create an action for each controller called invalid and use the method to inform the user that their form submission was invalid.
最后,为每个控制器创建一个称为invalid的操作,并使用这个方法通知用户提交的表单无效。
Using access-control lists (ACLs), you could have created an action in the products controller and used it to grant create access to the user's access-request object (ARO) on each dealer ACO.
您可以使用访问控制列表(Access Control List,ACL)在products控制器中创建一个操作,并使用它为每个经销商aco上的用户访问请求对象(ARO)授权create访问权限。
If you want to blow the whole cache clean, you can call the function cache: : clear either in a specific cache clearing action, or you could create a controller explicitly for that purpose.
如果需要彻底清理整个缓存,您可以在一个指定缓存清理操作中调用函数Cache:clear,或者您也可以创建一个控制器来实现这一目的。
For example, to enable product editing support we can implement the HTTP-GET version of our "edit" action method on our Products controller like below and then invoke the "Add View" command.
例如,要支持产品编辑,我们可以象下面这样在Products控制器上实现“Edit”action方法的HTTP - GET版本,然后调用“添加视图”命令。
In the controller, the index method merely reflects the show action with no page identifier, thus rendering the home page.
在该控制器中,index方法仅仅反映没有页面标示符的show操作,从而呈现主页面。
In this URL, trails is the name of the controller and list is the name of the action, implemented with the list controller method. Figure 1 shows the results.
在这个URL中,trails是控制器的名称,list是动作的名称,由list控制器方法实现。
The view action for the Products controller should have something like the code in Listing 3.
在控制器的view操作中,应当有清单3所示的代码。
If it does, it sets the advertiser in the session and forwards to the same action in the AD controller you first saw in the Register controller.
如果匹配,则把广告客户设置到会话中,并前进到在Register控制器中看到的Ad控制器中的相同操作。
To save edit changes we can implement the HTTP-POST version of our "edit" action method on our Products controller.
要保存编辑后的改动,我们可以在Products控制器中实现“Edit”action方法的HTTP - POST版本。
Global filters - ASP.NET MVC now supports adding filters to all action methods of a controller.
现在,ASP.NETMVC支持向控制器的所有action方法中添加过滤器。
应用推荐