Run a project / script from another project with nao robot / Choregraphe - nao-robot

For my Nao robot active process i want to load and run another project ones condition is true. Is it possible?
If so how do i do it in Choregraphe?
Exp: IF face recognition recognize person a THEN load and play file project b

Yes, in Choregraphe, you can do this with the boxes under Programming / Behavior Control in the box library: "Run Behavior" or "Start Behavior".
You can also directly control behaviors from a custom python box with ALBehaviorManager

Related

How can I make my C editor support Intellij keymap?

I'm used to the keyboard shortcuts used in JetBrains products such as Intellij IDEA and PyCharm.
I'm now using CodeLite to work on C code, and it's really annoying that the keyboard shortcuts are different.
Is there a way to make CodeLite support pretty-much the same key-mapping as PyCharm? If not, what C editor (apart from the paid-for CLion) supports this?
CodeLite has no builtin maps (I might consider this as a feature request if you will open one here: https://github.com/eranif/codelite/new)
You can change the current default keyboard bindings from the main menu bar:
Settings->Keyboard Shortcuts
Just type in the search box the description you want to change, for example:
If you will type build you will get list of all actions associated with the build keyword, double click one and you will open the edit dialog.
HTH,
Eran

Behaviours in wpf apps Microsoft expression blend 4

I am using Microsoft expression blend 4 and i want to add a simple button,in a wpf application, which by clicking it(on "Run Project" mode) navigates the user to another existing wpf application in expression blend 4.This can be done by using a method but maybe I used the wrong method or i used the right method the wrong way.To be more specific i dragged on the button(that i want to make the task i mentioned) the "Launch UriOrFile Action" method but i realised(by making experiments with various files on desktop and using internet url's) that i can only link the running wpf application with random files or internet sites and not to another wpf application as i wanted(when i put the path of the wpf application it pops up a window saying"windows explorer has stopped working",something that didnt occured when i put random file's paths or internet sites url's).If anyone understands my problem let me know!thanks!!
Check out Process.Start. Create a command that fires code that calls that method.

How to select a window from the background and make it the active window using batch programming / VB script

We are having twelve modules running in a server. Currently we have to monitor whether every module is working properly or not by logging in to the server and clicking on every individual module and checking the window. I am thinking of removing this manual dependency. I have made a VB script that can do the keyboard shortcut functions on the modules (e.g. If an MS word window is open, I can design the VB script to hit "Alt" and "F" buttons so that the "File" menu opens up). But the problem is that I can do it only on the active window and not the remaining 11 modules. Could anyone please suggest how I can programatically select another window/module?
You have to use the AppActivate Method. Here's the documentation for AppActivate.

Open Existing Project with Code Composer 5.2.1

I am evaluating the use of TI Code Composer to support a C program for the TI MSP430 micro-controller.
I can't, however, figure out how to open the project file that I have been working on, with great success, for the last week.
There seems to be no menu item to open an existing project. Likewise, there seems to be no list of recent projects to choose from. The menu option "Switch Workplace" gives me some choices, but all I end up with is an empty project. TI's documentation on "Workplace" is not clear to me and the ability to simply open an existing project file seems most cryptic to me.
How I can I open a project and get back to work?
What is the difference between a ccsproject, a cproject, and a project file in Code Composer?
Thanks!
Texas Instruments (TI) answered this question for me.
To open and close existing Code Composer Studio (CCS) projects, you must right click the mouse in the Project Explorer window. The right click brings up a menu which includes "Open Project" and "Close Project" menu items when a project is selected. Other useful menu items are also listed upon a right mouse click.
A bit of an update on 10-17-2019
I am a newbie at using CodeComposer 9.1
Right click In the Project Explorer window.
Click on Import, then CCS Projects.
You will get a pop up window import CCS Projects
Enter the root directory for all of you projects (my case C:\Users\DO29629\workspace_v9).
You will get a list of discovered projects. Check the one you want.
The proper way to close a project is to right click on the Project Explorer and select Close. You can also right click the tab for the project and select close.

Learning WPF... Full screen launcher app

I'm in the process of building a Home Theatre PC (HTPC), and figured this could give me a small project to learn some more about WPF.
I want to build a simple program launcher. It would be an application that would fill the screen with a background of my choosing, and a few large icons/buttons to represent applications. I have an IR remote that will be set up to emulate keystrokes, so I can use the "keyboard" to move between the large buttons and "click" one of them, launching a program.
I'd like to define my button info, images, and background using some kind of external config file and image files in the same folder as the exe.
I've been playing around with the idea in VS2008 using VB but already I'm getting stuck with just trying to get an external image file to appear on a button. Many of the samples I find are relatively complicated and are written in C#, but I work in VB. If anyone has suggestions for getting over this hurdle or ideas on how I should approach other parts of my application, your input is welcome.
Thanks!
Try working your way through this series:
A First Introduction to WPF and XAML for Visual Basic Programmers
Good intro recommended in the first answer - if you want to go a bit deeper have a look at WPF - how and why

Resources