Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rps/examples/go_to_point/si_go_to_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

# Instantiate Robotarium object
N = 5
initial_conditions = np.array(np.mat('1 0.5 -0.5 0 0.28; 0.8 -0.3 -0.75 0.1 0.34; 0 0 0 0 0'))
initial_conditions = np.array([[1, 0.5, -0.5, 0, 0.28], [0.8, -0.3, -0.75, 0.1,
0.34], [0, 0, 0, 0, 0]])

r = robotarium.Robotarium(number_of_robots=N, show_figure=True, initial_conditions=initial_conditions, sim_in_real_time=False)

Expand Down
9 changes: 8 additions & 1 deletion rps/examples/go_to_point/uni_go_to_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,14 @@

# Instantiate Robotarium object
N = 5
initial_conditions = np.array(np.mat('1 0.5 -0.5 0 0.28; 0.8 -0.3 -0.75 0.1 0.34; 0 0 0 0 0'))
initial_conditions = np.array(
[[ 1, 0.5, -0.5, 0, 0.28],
[ 0.8, -0.3, -0.75, 0.1, 0.34],
[0, 0, 0, 0, 0]]
)



r = robotarium.Robotarium(number_of_robots=N, show_figure=True, initial_conditions=initial_conditions,sim_in_real_time=True)

# Define goal points by removing orientation from poses
Expand Down