Shortcuts

Requests or suggestions for new features
minisch
Posts: 40
Joined: 09 Oct 2014, 11:14

Re: Shortcuts

Post by minisch »

Yeah but it doesn't work.

With ctrl+SPACE I can start and stop the simulation as before. But with ctrl+B nothing happens.

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Shortcuts

Post by coppelia »

That is strange.. I cannot explain why this doesn't work for you. If the focus is on the main window, it should work. Can you try with a different scene, that has a single view (default) with a single robot?

Cheers

minisch
Posts: 40
Joined: 09 Oct 2014, 11:14

Re: Shortcuts

Post by minisch »

I just tried and nothing happens with ctrl-B.

EDIT: Just to let you know. If I go in about VREP I have the 3.2.0 Version.

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Shortcuts

Post by coppelia »

Can you try to add a customization script to a object in the scene, and to put following code in it:

Code: Select all

if (sim_call_type==sim_customizationscriptcall_nonsimulation) then
	local a,b=simGetSimulatorMessage()
	if a==sim_message_keypress then
		print(b[1],b[2])
	end
end
What does it print if you try <ctrl>+b? What does it print if you try <ctrl>+m?

You could also add simCameraFitToView(0) in the above code, and have your customization script take care of the camera adjustment. The only problem, it will only adjust for the view you specify, not the view that is in focus..

Cheers

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Shortcuts

Post by coppelia »

Oh.. it should say 3.2.1, so you do not have the BETA version it seems

Cheers

minisch
Posts: 40
Joined: 09 Oct 2014, 11:14

Re: Shortcuts

Post by minisch »

I thought about it and I wrote it in my previous message because I thought about something like that.

I will try the beta version and come back to you.

Thanks for the effort.

minisch
Posts: 40
Joined: 09 Oct 2014, 11:14

Re: Shortcuts

Post by minisch »

I updated V-REP to 3.2.1 and it is working.

Thanks.

Post Reply