Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NeuracoreAI/example_agilex
/ functions
Functions
238 in github.com/NeuracoreAI/example_agilex
⨍
Functions
238
◇
Types & classes
18
↓ 28 callers
Method
set_robot_activity_state
Set robot activity state (thread-safe). Args: state: RobotActivityState - new robot activity state
examples/common/data_manager.py:330
↓ 18 callers
Method
get_robot_activity_state
Get robot activity state (thread-safe). Returns: RobotActivityState - current robot activity state
examples/common/data_manager.py:321
↓ 13 callers
Method
set_teleop_state
Set teleoperation state (thread-safe). Args: active: bool - whether teleop is active controller_initial: np.ndarray |
examples/common/data_manager.py:265
↓ 11 callers
Method
get_current_joint_angles
Get current joint angles (thread-safe). Returns: Current joint angles or None if not available
examples/common/data_manager.py:339
↓ 8 callers
Method
_on_button_press
Called when a control button is pressed.
scripts/piper/piper_gui_control.py:340
↓ 8 callers
Method
_on_button_release
Called when a control button is released.
scripts/piper/piper_gui_control.py:344
↓ 8 callers
Method
graceful_stop
Gracefully stop the robot and move to home position.
piper_controller.py:578
↓ 8 callers
Method
move_to_home
Move robot to home position based on current control mode.
piper_controller.py:428
↓ 8 callers
Method
request_shutdown
Request shutdown of all threads (lock-free using Event).
examples/common/data_manager.py:537
↓ 7 callers
Function
end_policy_play
End continuous play and set robot activity state to ENABLED and update policy status.
examples/4_rollout_neuracore_policy.py:318
↓ 7 callers
Method
is_robot_enabled
Check if robot is enabled and ready to accept commands. Returns: True if robot is enabled, False otherwise
piper_controller.py:147
↓ 7 callers
Method
update_ghost_robot_visibility
Update ghost robot visibility. Args: flag: Whether to show the ghost robot
examples/common/robot_visualizer.py:586
↓ 6 callers
Method
cleanup
Cleanup resources and disconnect from robot.
piper_controller.py:130
↓ 6 callers
Method
resume_robot
Resume robot operation by re-enabling it. This method can be called after emergency_stop() or graceful_stop() to re-enable the robot
piper_controller.py:609
↓ 6 callers
Method
set_target_joint_angles
Set target joint angles (thread-safe). Args: angles: np.ndarray - target joint angles
examples/common/data_manager.py:458
↓ 6 callers
Method
stop
Stop the visualizer server.
examples/common/robot_visualizer.py:856
↓ 5 callers
Method
get_control_mode
Get the current control mode. Returns: Current control mode (PiperController.ControlMode.END_EFFECTOR or PiperController.ControlM
piper_controller.py:211
↓ 5 callers
Method
is_robot_homed
Check if robot is at home position within tolerance. Args: tolerance_degrees: Tolerance in degrees Returns:
piper_controller.py:764
↓ 5 callers
Method
set_gripper_open_value
Update target gripper position. Args: gripper_open_value: Gripper open value normalized (0.0 to 1.0).
piper_controller.py:343
↓ 5 callers
Method
start_control_loop
Start the control loop thread.
piper_controller.py:113
↓ 5 callers
Method
update_policy_status
Update policy status display. Args: status: Status string to display
examples/common/robot_visualizer.py:655
↓ 4 callers
Method
end_policy_execution
Stop policy execution and unlock inputs (thread-safe).
examples/common/policy_state.py:174
↓ 4 callers
Method
get_continuous_play_active
Get continuous play active state (thread-safe).
examples/common/policy_state.py:213
↓ 4 callers
Method
get_current_end_effector_pose
Get current end effector pose (thread-safe). Returns: Current end effector pose or None if not available
examples/common/data_manager.py:367
↓ 4 callers
Method
get_current_joint_angles
Get the current measured joint angles from the robot, if available. Returns: numpy array or None: [j1, j2, j3, j4, j5, j6] or Non
piper_controller.py:685
↓ 4 callers
Method
get_prediction_horizon_length
Get prediction horizon length (thread-safe).
examples/common/policy_state.py:46
↓ 4 callers
Method
get_target_joint_angles
Get current joint configuration (thread-safe). Returns: Current target joint angles or None if not available
examples/common/data_manager.py:445
↓ 4 callers
Method
get_teleop_active
Get teleoperation active state (thread-safe).
examples/common/data_manager.py:287
↓ 4 callers
Method
is_shutdown_requested
Check if shutdown is requested (lock-free using Event). Returns: True if shutdown is requested, False otherwise
examples/common/data_manager.py:541
↓ 4 callers
Function
run_policy
Handle Run Policy button press to capture state and get policy prediction.
examples/4_rollout_neuracore_policy.py:140
↓ 4 callers
Method
set_controller_filter_params
Update 1€ Filter parameters for controller transform (thread-safe). Args: min_cutoff: Minimum cutoff frequency (stabilizes when h
examples/common/data_manager.py:233
↓ 4 callers
Method
set_ik_solve_time_ms
Set IK solve time (thread-safe). Args: time_ms: float - IK solve time in milliseconds
examples/common/data_manager.py:497
↓ 4 callers
Method
set_ik_success
Set IK success (thread-safe). Args: success: bool - True if IK was successful, False otherwise
examples/common/data_manager.py:506
↓ 4 callers
Method
set_target_pose
Set target transform for visualization (thread-safe). Args: transform: np.ndarray | None - 4x4 transformation matrix or None to c
examples/common/data_manager.py:473
↓ 4 callers
Function
start_policy_execution
Handle Execute Policy button press to start policy execution.
examples/4_rollout_neuracore_policy.py:231
↓ 4 callers
Method
update_ghost_robot_pose
Update ghost robot visualization from joint configuration. Args: joint_config: Joint angles in radians
examples/common/robot_visualizer.py:577
↓ 4 callers
Method
update_toggle_robot_enabled_status
Update toggle robot enabled status button label based on robot state. Args: enabled: Whether robot is currently enabled
examples/common/robot_visualizer.py:159
↓ 3 callers
Method
_set_robot_status_enabled
Set the robot status enabled state (internal method). Args: enabled: True to enable robot, False to disable
piper_controller.py:156
↓ 3 callers
Method
get_controller_data
Get current controller data (thread-safe). Returns: Tuple of (controller_transform, grip_value, trigger_value)
examples/common/data_manager.py:155
↓ 3 callers
Method
get_current_gripper_open_value
Get current gripper open value (thread-safe). Returns: Current gripper open value or None if not available
examples/common/data_manager.py:389
↓ 3 callers
Method
get_locked_prediction_horizon
Get locked prediction horizon (thread-safe).
examples/common/policy_state.py:181
↓ 3 callers
Method
get_locked_prediction_horizon_length
Get locked prediction horizon length (thread-safe).
examples/common/policy_state.py:190
↓ 3 callers
Method
set_configuration
Set the robot to a specific joint configuration. Args: joint_config: Array of joint angles to set Raises: Va
pink_ik_solver.py:394
↓ 3 callers
Method
set_configuration_no_task_update
Set the robot to a specific joint configuration without updating the task. Args: joint_config: Array of joint angles to set
pink_ik_solver.py:368
↓ 3 callers
Method
set_continuous_play_active
Set continuous play active state (thread-safe).
examples/common/policy_state.py:217
↓ 3 callers
Method
set_start_policy_execution_button_disabled
Set Execute Policy button disabled state. Args: disabled: Whether button should be disabled
examples/common/robot_visualizer.py:818
↓ 3 callers
Method
set_target_from_configuration
Set target posture from a robot configuration. Args: configuration: Robot configuration.
vectorised_posture_task.py:75
↓ 3 callers
Method
update
Update with new position and orientation data. Args: position: [x, y, z] position in meters euler: [roll, pitch, yaw]
scripts/oculus/monitor_hand_movement.py:40
↓ 3 callers
Method
update_robot_status
Update robot status display. Args: status: Status string to display
examples/common/robot_visualizer.py:344
↓ 2 callers
Method
_create_joint_controls
Create joint control buttons in the control frame.
scripts/piper/piper_gui_control.py:511
↓ 2 callers
Method
_disable_robot
Disable the robot.
piper_controller.py:203
↓ 2 callers
Method
_enable_robot
Enable the robot.
piper_controller.py:195
↓ 2 callers
Method
_pose_6d_to_4x4
Convert 6D pose [x, y, z, rx, ry, rz] to 4x4 transformation matrix. Args: pose_6d: 6D pose [x, y, z in mm, rx, ry, rz in degrees]
piper_controller.py:233
↓ 2 callers
Method
add_homing_controls
Add homing controls.
examples/common/robot_visualizer.py:136
↓ 2 callers
Method
add_toggle_robot_enabled_status_button
Add toggle robot enabled status button. This creates a single button that toggles between "Enable Robot" and "Disable Robot" based on
examples/common/robot_visualizer.py:149
↓ 2 callers
Method
exponential_smoothing
Apply exponential smoothing. Args: a: Smoothing factor (0.0-1.0) x: Current value x_prev: Previous smooth
examples/common/one_euro_filter.py:54
↓ 2 callers
Method
get_current_configuration
Get current joint configuration (in radians).
pink_ik_solver.py:335
↓ 2 callers
Method
get_current_end_effector_pose
Get the current measured end effector pose from the robot, if available. Returns: 4x4 transformation matrix or None if not availa
piper_controller.py:656
↓ 2 callers
Method
get_current_gripper_open_value
Get the current measured gripper open value from the robot, if available. Returns: float or None: Current gripper open value norm
piper_controller.py:711
↓ 2 callers
Method
get_execution_mode
Get execution mode (thread-safe).
examples/common/policy_state.py:221
↓ 2 callers
Method
get_prediction_horizon
Get prediction horizon (thread-safe).
examples/common/policy_state.py:55
↓ 2 callers
Method
get_rgb_image
Get RGB image (thread-safe).
examples/common/data_manager.py:133
↓ 2 callers
Function
home_robot
Handle Button B press to move robot to home position.
examples/4_rollout_neuracore_policy.py:122
↓ 2 callers
Function
log_current_state
Log current state to Neuracore.
examples/5_rollout_neuracore_policy_minimal.py:75
↓ 2 callers
Method
reset_ghost_action_index
Reset ghost action index (thread-safe).
examples/common/policy_state.py:141
↓ 2 callers
Function
select_random_state
Select random state and run policy.
examples/6_visualize_policy_from_dataset.py:171
↓ 2 callers
Method
set_control_mode
Set the control mode. Args: mode: Control mode (PiperController.ControlMode.END_EFFECTOR or PiperController.ControlMode.JOINT_SPA
piper_controller.py:220
↓ 2 callers
Method
set_execution_mode
Set execution mode (thread-safe).
examples/common/policy_state.py:225
↓ 2 callers
Method
set_execution_ratio
Set execution ratio used when locking prediction horizon.
examples/common/policy_state.py:71
↓ 2 callers
Method
set_ghost_robot_playing
Set ghost robot playing (thread-safe).
examples/common/policy_state.py:129
↓ 2 callers
Method
set_go_home_callback
Set callback for Go Home button. Args: callback: Callback function to call when button is clicked
examples/common/robot_visualizer.py:800
↓ 2 callers
Method
set_play_policy_button_disabled
Set Play Policy button disabled state. Args: disabled: Whether button should be disabled
examples/common/robot_visualizer.py:838
↓ 2 callers
Method
set_prediction_horizon
Set prediction horizon (thread-safe).
examples/common/policy_state.py:63
↓ 2 callers
Method
set_run_and_start_policy_execution_button_disabled
Set Run and Execute Policy button disabled state. Args: disabled: Whether button should be disabled
examples/common/robot_visualizer.py:827
↓ 2 callers
Method
set_run_policy_button_disabled
Set Run Policy button disabled state. Args: disabled: Whether button should be disabled
examples/common/robot_visualizer.py:809
↓ 2 callers
Method
set_target
Set target posture. Args: target_q: Target vector in the configuration space. If the model has a floating base, t
vectorised_posture_task.py:64
↓ 2 callers
Method
set_target_joint_angles
Set target joint angles. Args: joint_angles: Target joint angles [j1, j2, j3, j4, j5, j6] in degrees
piper_controller.py:391
↓ 2 callers
Method
set_toggle_robot_enabled_status_callback
Set callback for toggle robot enabled status button. Args: callback: Callback function to call when button is clicked
examples/common/robot_visualizer.py:170
↓ 2 callers
Method
smoothing_factor
Calculate smoothing factor for exponential smoothing. Args: t_e: Time elapsed since last update (in seconds) cutoff:
examples/common/one_euro_filter.py:41
↓ 2 callers
Method
start_policy_execution
Start policy execution by locking inputs and storing horizon (thread-safe).
examples/common/policy_state.py:146
↓ 2 callers
Method
stop_control_loop
Stop the control loop thread.
piper_controller.py:117
↓ 2 callers
Function
toggle_robot_enabled_status
Handle Button A press to toggle robot enable/disable state.
examples/4_rollout_neuracore_policy.py:98
↓ 2 callers
Method
update_controller_status_display
Update controller status display. Args: position: Controller position (3D array) or None connected: Whether controlle
examples/common/robot_visualizer.py:364
↓ 2 callers
Method
update_params
Update filter parameters without resetting state. Args: min_cutoff: Minimum cutoff frequency beta: Speed coefficient
examples/common/one_euro_filter.py:104
↓ 2 callers
Method
update_play_policy_button_status
Update play policy button label based on active state. Args: active: Whether continuous play is currently active
examples/common/robot_visualizer.py:847
↓ 2 callers
Method
update_robot_pose
Update robot visualization from joint configuration. Args: joint_config: Joint angles in radians
examples/common/robot_visualizer.py:299
↓ 1 callers
Method
_build_robot_model
Build the robot model from URDF.
pink_ik_solver.py:84
↓ 1 callers
Method
_create_end_effector_controls
Create end-effector control buttons in the control frame.
scripts/piper/piper_gui_control.py:383
↓ 1 callers
Method
_create_gui
Create the GUI elements.
scripts/piper/piper_gui_control.py:105
↓ 1 callers
Method
_get_available_frames
Get list of available frame names.
pink_ik_solver.py:413
↓ 1 callers
Method
_initialize_robot
Initialize robot connection and enable it.
piper_controller.py:168
↓ 1 callers
Method
_pose_4x4_to_6d
Convert 4x4 transformation matrix to 6D pose [x, y, z, rx, ry, rz]. Args: transform: 4x4 transformation matrix Returns:
piper_controller.py:250
↓ 1 callers
Method
_schedule_status_update
Schedule the next status update.
scripts/piper/piper_gui_control.py:928
↓ 1 callers
Method
_send_end_effector_command
Send end-effector pose command to the robot. Args: transform: 4x4 transformation matrix
piper_controller.py:497
↓ 1 callers
Method
_send_gripper_command
Send gripper command to the robot. Args: gripper_open_value_degrees: Gripper open value in degrees
piper_controller.py:544
↓ 1 callers
Method
_send_joint_command
Send joint angles command to the robot. Args: joint_angles: Joint angles [j1, j2, j3, j4, j5, j6] in degrees
piper_controller.py:522
↓ 1 callers
Method
_setup_tasks
Set up Pink tasks and configuration. Args: initial_configuration: Initial joint configuration (if None, uses neutral)
pink_ik_solver.py:110
↓ 1 callers
Method
_update_angular_speed
Update angular speed from user input.
scripts/piper/piper_gui_control.py:611
↓ 1 callers
Method
_update_gripper_speed
Update gripper speed from user input.
scripts/piper/piper_gui_control.py:669
↓ 1 callers
Method
_update_joint_speed
Update joint speed from user input.
scripts/piper/piper_gui_control.py:641
next →
1–100 of 238, ranked by callers