<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.paparazziuav.org/w/index.php?action=history&amp;feed=atom&amp;title=Morse</id>
	<title>Morse - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.paparazziuav.org/w/index.php?action=history&amp;feed=atom&amp;title=Morse"/>
	<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Morse&amp;action=history"/>
	<updated>2026-05-19T00:11:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.paparazziuav.org/w/index.php?title=Morse&amp;diff=23663&amp;oldid=prev</id>
		<title>Ghattenb: Created page with &quot;[https://www.openrobots.org/morse/doc/latest/morse.html Morse] is a generic simulator for academic robotics. It focuses on realistic 3D simulation of small to large environmen...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.paparazziuav.org/w/index.php?title=Morse&amp;diff=23663&amp;oldid=prev"/>
		<updated>2017-04-11T22:27:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;[https://www.openrobots.org/morse/doc/latest/morse.html Morse] is a generic simulator for academic robotics. It focuses on realistic 3D simulation of small to large environmen...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://www.openrobots.org/morse/doc/latest/morse.html Morse] is a generic simulator for academic robotics. It focuses on realistic 3D simulation of small to large environments, indoor or outdoor, with one to tenths of autonomous robots.&lt;br /&gt;
&lt;br /&gt;
For Paparazzi, it can be used as a 3D visualization interface when flying a rotorcraft, either in simulation and real flights. The main purpose of Morse is to be able to simulate [https://www.openrobots.org/morse/doc/latest/components_library.html#sensors many sensors] and get their feedback from the virtual environment.&lt;br /&gt;
&lt;br /&gt;
Once you have completed the [https://www.openrobots.org/morse/doc/latest/user/installation.html installation] of Morse, you may need to install lxml for python3 (from distribution package if available), plus ivy and pprzlink from source (python3 packages are not available, but source code is compatible). Don't forget to set properly your PYTHONPATH environment variable for manually installed libraries.&lt;br /&gt;
&lt;br /&gt;
After creating your simulation environment with the command (you can choose a different project name)&lt;br /&gt;
 morse create my_pprz_env&lt;br /&gt;
&lt;br /&gt;
you can change the ''default.py'' script newly created in the ''my_pprz_env'' folder as follow to initiate connection between Morse and Paparazzi&lt;br /&gt;
&lt;br /&gt;
 #! /usr/bin/env morseexec&lt;br /&gt;
 &amp;quot;&amp;quot;&amp;quot; Basic MORSE simulation scene for &amp;lt;test_pprz&amp;gt; environment&lt;br /&gt;
 Feel free to edit this template as you like!&lt;br /&gt;
 &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 from morse.builder import *&lt;br /&gt;
 &lt;br /&gt;
 robot = Quadrotor()&lt;br /&gt;
 &lt;br /&gt;
 # The list of the main methods to manipulate your components&lt;br /&gt;
 # is here: http://www.openrobots.org/morse/doc/stable/user/builder_overview.html&lt;br /&gt;
 robot.translate(0.0, 0.0, 0.0)&lt;br /&gt;
 robot.rotate(0.0, 0.0, 0.0)&lt;br /&gt;
 &lt;br /&gt;
 # Add a motion controller&lt;br /&gt;
 motion = Teleport()&lt;br /&gt;
 robot.append(motion)&lt;br /&gt;
 motion.add_stream('pprzlink')&lt;br /&gt;
 #motion.add_stream('pprzlink', ac_id=101) (if you need to specify the aircraft ID)&lt;br /&gt;
 &lt;br /&gt;
 env = Environment('indoors-1/boxes', fastmode = False)&lt;br /&gt;
&lt;br /&gt;
The '''Teleport''' actuator is the only one natively supported for Paparazzi at the moment, and it allows to replicate the position and orientation of the real/simulated UAV into the Morse virtual world. In addition, some other sensors can be added but will use one of the other [https://www.openrobots.org/morse/doc/latest/user/integration.html supported middlewares].&lt;br /&gt;
Here is an example of a video camera using the socket interface:&lt;br /&gt;
&lt;br /&gt;
 video = VideoCamera()&lt;br /&gt;
 video.translate(0., 0., 0.1)&lt;br /&gt;
 video.rotate(0., 0., 0.)&lt;br /&gt;
 robot.append(video)&lt;br /&gt;
 motion.add_stream('socket')&lt;br /&gt;
 video.add_interface('socket')&lt;/div&gt;</summary>
		<author><name>Ghattenb</name></author>
	</entry>
</feed>