Skip to content

Commit

Permalink
Fix typo in ECCV 2020 tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
0mdc committed Jan 20, 2025
1 parent 45572cf commit 95dc964
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/tutorials/nb_python/ECCV_2020_Advanced_Features.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ def restore_camera_track_config(sim, init_state):
visual_sensor._spec.position = init_state["position"]
visual_sensor._spec.orientation = init_state["orientation"]
visual_sensor._sensor_object.set_transformation_from_spec()
# restore the agent's state to what was savedd in init_camera_track_config
# restore the agent's state to what was saved in init_camera_track_config
sim.get_agent(agent_ID).set_state(init_state["agent_state"])


Expand Down Expand Up @@ -1016,7 +1016,7 @@ def get_2d_point(sim, sensor_name, point_3d):
make_simulator_from_settings(sim_settings)

# fmt: off
# @markdown In this example, we load a box asset with each face as a separate component with its own SceneNode. We demonstrate the result of modiyfing the associated semantic ids via object templates, the Simulator API, and the SceneNode property.
# @markdown In this example, we load a box asset with each face as a separate component with its own SceneNode. We demonstrate the result of modifying the associated semantic ids via object templates, the Simulator API, and the SceneNode property.
# fmt: on

rigid_obj_mgr.remove_all_objects()
Expand Down Expand Up @@ -1262,7 +1262,7 @@ def get_2d_point(sim, sensor_name, point_3d):
force_flat_shading = True # @param {type:"boolean"}
new_template.force_flat_shading = force_flat_shading

# @markdown The x,y,z components of the intertia matrix diagonal
# @markdown The x,y,z components of the inertia matrix diagonal

inertia_X = 1.0 # @param {type:"slider", min:0.1, max:10, step:0.1}
inertia_Y = 1 # @param {type:"slider", min:0.1, max:10, step:0.1}
Expand Down Expand Up @@ -1398,7 +1398,7 @@ def get_2d_point(sim, sensor_name, point_3d):
# @markdown Note 4 : There often are different modifiable properties available for solid and wireframe versions of the same primitive.

# @markdown ###Primitive Asset Template Properties
# @markdown The flollowing examples will illustrate all the modifiable properties for each of the different types of primitives, and allow for their synthesis.
# @markdown The following examples will illustrate all the modifiable properties for each of the different types of primitives, and allow for their synthesis.


# Primitive Asset Attributes Manager, provides access to AssetAttributesTemplates
Expand Down

0 comments on commit 95dc964

Please sign in to comment.