Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
tutorials:beginner:assigning_actions_2 [2019/07/29 10:36] – Added turtlesim-srv to the dependencies amartutorials:beginner:assigning_actions_2 [2022/02/25 23:19] (current) – [Automatically choosing a process module for a motion] schimpf
Line 6: Line 6:
 **Previous Tutorial:** [[tutorials:beginner:process_modules_2|Creating process modules]]\\ **Previous Tutorial:** [[tutorials:beginner:process_modules_2|Creating process modules]]\\
 **Next Tutorial:** [[tutorials:beginner:location_designators_2|Using location designators with the TurtleSim]]\\ **Next Tutorial:** [[tutorials:beginner:location_designators_2|Using location designators with the TurtleSim]]\\
 +
 +
 +To run the code in the tutuorial the roscore and the turtlesim need to be started over the terminal. Each in their own tab.
 +<code bash>
 +$ roscore
 +</code>
 +<code bash>
 +$ rosrun turtlesim turtlesim_node
 +</code>
 +
 +And in the REPL the following commands should be executed:
 +<code lisp>
 +CL-USER>(ros-load:load-system "cram_my_beginner_tutorial" :cram-my-beginner-tutorial)
 +...
 +CL-USER>(in-package :tut)
 +...
 +TUT>(start-ros-node "turtle1")
 +...
 +TUT>(init-ros-turtle "turtle1")
 +</code>
  
 ===== Setting up fact groups to select a process module ===== ===== Setting up fact groups to select a process module =====