Skip to content

Commit

Permalink
Now assumes CORE_ROBOT_STATE and FORCE_TORQUE
Browse files Browse the repository at this point in the history
ATLAS_STATE has been deprecated
  • Loading branch information
Maurice Fallon committed Oct 26, 2015
1 parent 19f69c7 commit 898222b
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 20 deletions.
7 changes: 4 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,15 @@ On ROS Indigo the follow contents should be added to bashrc:

export PATH=/home/drc/pronto-distro/build/bin:$PATH
source /opt/ros/indigo/setup.bash
export PKG_CONFIG_PATH=<insert-path-to>/pronto-distro/build/lib/pkgconfig/:<insert-path-to>/pronto-distro/build/lib64/pkgconfig/:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=<insert-path-to>/pronto-distro/build/lib/:<insert-path-to>/pronto-distro/build/lib64/:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=<your-path-to>/pronto-distro/build/lib/pkgconfig/:<insert-path-to>/pronto-distro/build/lib64/pkgconfig/:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=<your-path-to>/pronto-distro/build/lib/:<insert-path-to>/pronto-distro/build/lib64/:$LD_LIBRARY_PATH
export DRC_BASE=<your-path-to>/pronto-distro

This is a super set, not all of these are required. The package can then be compiled using catkin:

::

cd <insert-path-to>/pronto-lcm-ros-translators
cd <insert-path-to>/pronto-distro/pronto-lcm-ros-translators
catkin_make
source <insert-path-to>/pronto-distro/pronto-lcm-ros-translators/devel/setup.bash

Expand Down
9 changes: 5 additions & 4 deletions config/config_components/state_estimation_mit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ state_estimator {
republish_sensors = false; # if using a log, otherwise make s

# ins,vicon, pose_meas
init_sensors = ["ins","viewer"];
init_sensors = ["ins","pose_meas"];
# laser_gpf, ins, rgbd_gpf, fovis, legodo , vicon, pose_meas
active_sensors = ["ins","legodo", "scan_matcher"];

Expand Down Expand Up @@ -268,7 +268,7 @@ state_estimator {

legodo {

channel = "ATLAS_STATE";
channel = "CORE_ROBOT_STATE";
# lin_rate linear velocities
# lin_rot_rate linear and rotation rates i.e. velocities
# pos_and_lin_rate position and linear velocities
Expand Down Expand Up @@ -314,8 +314,9 @@ state_estimator {
republish_cameras = false;
publish_diagnostics = false;

# either foot or talus:
standing_link = "foot";
# foot Link in contact with the ground:
left_standing_link = "l_foot";
right_standing_link = "r_foot";

# filter joint positions: "none", "lowpass", "kalman".
# was always lowpass when running with bdi stepping. scott may need kalman
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ state_estimator {

legodo {

channel = "ATLAS_STATE";
channel = "CORE_ROBOT_STATE";
# lin_rate linear velocities
# lin_rot_rate linear and rotation rates i.e. velocities
# pos_and_lin_rate position and linear velocities
Expand Down Expand Up @@ -314,8 +314,9 @@ state_estimator {
republish_cameras = false;
publish_diagnostics = false;

# either foot or talus:
standing_link = "foot";
# foot Link in contact with the ground:
left_standing_link = "l_foot";
right_standing_link = "r_foot";

# filter joint positions: "none", "lowpass", "kalman".
# was always lowpass when running with bdi stepping. scott may need kalman
Expand Down
7 changes: 4 additions & 3 deletions config/config_components/state_estimation_mit_gpf.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ state_estimator {

legodo {

channel = "ATLAS_STATE";
channel = "CORE_ROBOT_STATE";
# lin_rate linear velocities
# lin_rot_rate linear and rotation rates i.e. velocities
# pos_and_lin_rate position and linear velocities
Expand Down Expand Up @@ -315,8 +315,9 @@ state_estimator {
republish_cameras = false;
publish_diagnostics = false;

# either foot or talus:
standing_link = "foot";
# foot Link in contact with the ground:
left_standing_link = "l_foot";
right_standing_link = "r_foot";

# filter joint positions: "none", "lowpass", "kalman".
# was always lowpass when running with bdi stepping. scott may need kalman
Expand Down
11 changes: 5 additions & 6 deletions config/drc_robot.pmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ group "00.params_and_model_pub" {

group "01.state_mit" {

cmd "joints2frames" {
exec = "joints2frames";
host = "localhost";
}

cmd "state-sync" {
exec = "state-sync -a5";
exec = "se-state-sync-simple";
host = "localhost";
}
cmd "fusion" {
Expand All @@ -30,6 +25,10 @@ group "01.state_mit" {
exec = "se-yaw-lock -yd";
host = "localhost";
}
cmd "republish-atlas-state" {
exec = "se-republish-atlas-state-as-core";
host = "localhost";
}
}

group "01.state_mit_from_logfile" {
Expand Down
1 change: 1 addition & 0 deletions software

0 comments on commit 898222b

Please sign in to comment.