Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This branch is the primary branch

UT Servoing: Controlling a robot through NDT Data

This repository takes in ut data and interprets it to find the front wall and adjust to it.

Functionality

Currently the c_axis_corr script interprets the frontwall angle and publishes the pose to the topic /c_corr/pose.

The y_axis_sampler script (use the highest number for latest version) subscribes to /c_corr_pose, moves along the y_axis of the part while collecting c_corr_poses. Then backtracks through those poses.

Running the scripts

To run, see the prerequisites below then run the following code in a sourced terminal. Note that you have to activate the robot within 5 seconds of running this command. The robot's program is ros_rsi_ut or something of the sort.

roslaunch ut_serviong init.launch

Confirm that the orange robot matches the white robot in the initial position.

In a second sourced terminal, activate the peak LTPA data. Note that if the error says 'service not available', wait ten seconds and try again. If not try cycling the power on the LTPA and

rosservice call /peak/stream_data "stream_data: true"

In a third sourced terminal, run the y_axis_sampler code.

rosrun ut_servoing y_axis_sampler4.py _simulation_mode:=True

Once you are happy with the simulated motion, you can turn the _simulation_mode variable to False.

Miscellaneous Notes

  • The speed of the robot is controlled in the system_moveit's joint_limits.yaml file and nowhere else.
  • The /c_corr_pose topic and /robot/cartesian_pose topics are published by separate scripts run in the launch file
  • The /joint_states topic does not update because it is Cartesian motion. Use /position_trajectory_controller/state instead

Prerequisites

This ros package requires several other packages to be present in the same workspace, namely in (order)

About

This repo takes in UT data, interprets it into lines representing the front wall and backwall, and returns b and c axis angle deltas (for now).

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages