Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] auto-stabilizer for jaxon wheel #1120

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
40afb9c
add landing position port
YutaKojio May 24, 2019
1a20171
publish next footstep rot
YutaKojio May 31, 2019
64f94dc
publish steppable region
YutaKojio Jun 5, 2019
7bff1a5
publish end_cog_state
YutaKojio Aug 23, 2019
aa1b144
publish is_stuck state
YutaKojio Dec 13, 2019
54dfbbe
publish estimated fxy
YutaKojio Dec 13, 2019
dfb0453
publish /use_flywheel
YutaKojio Jan 9, 2020
ca54b04
remove stabilizer service
YutaKojio Jun 2, 2020
63a8d78
fix bug; enable set st param from eus
YutaKojio Nov 11, 2020
7ad0940
[rtm-ros-robot-interface.l]fix bug in :cmd-vel-cb
Naoki-Hiraoka Dec 1, 2020
c5691b9
[rtm-ros-robot-interface.l]add comment to :go-velocity
Naoki-Hiraoka Dec 1, 2020
dbbf0c8
[rtm-ros-robot-interface.l] fix bug in :cmd-vel-mode
Naoki-Hiraoka Dec 1, 2020
624afed
Merge pull request #1 from Naoki-Hiraoka/auto-stabilizer
YutaKojio Dec 1, 2020
1cebe4e
publish current steppable region for debug
YutaKojio Dec 11, 2020
f81550b
support samplerobot
YutaKojio Jun 8, 2021
8eef1f8
Merge branch 'master' of github.com:start-jsk/rtmros_common into auto…
YutaKojio Jul 17, 2021
f889b03
add go-wheel
YutaKojio Jun 16, 2021
a6a117f
consider z in steppable region
YutaKojio Aug 18, 2021
4c60446
fix bug on vs_num size
YutaKojio Aug 18, 2021
f0b72cb
add go-pos-wheel
YutaKojio Aug 27, 2021
d7c584f
change wheel interpolation
YutaKojio Oct 2, 2021
04da17f
change go-pos-wheel
YutaKojio Oct 2, 2021
26de395
add waitFootSteps to go-wheel
Oct 27, 2021
c14f734
[hrpsys_ros_bridge/euslisp/rtm-ros-robot-interface.l] fix description…
ketaro-m Oct 28, 2021
c341efc
[hrpsys_ros_bridge/euslisp/datalogger-log-parser.l] fix :update-state…
ketaro-m Oct 28, 2021
b4a8e90
Merge branch 'auto-stabilizer' of github.com:YutaKojio/rtmros_common …
YutaKojio Nov 24, 2021
360573e
change st_* to abc_* in datalogger-log-parser.l
YutaKojio Nov 24, 2021
0adae7b
Merge branch 'fix-eus-reference-force-vector' of github.com:ketaro-m/…
YutaKojio Nov 24, 2021
e23632a
[scripts/sensor_ros_bridge_connect.py] ros topic ref_**sensor after ES
ketaro-m Nov 26, 2021
b2b0c24
Merge pull request #2 from ketaro-m/rfu-es-order
YutaKojio Nov 26, 2021
84e7fe8
Merge branch 'auto-stabilizer' of github.com:YutaKojio/rtmros_common …
YutaKojio Dec 3, 2021
cc0992e
add set-foot-step-with-wheel
YutaKojio Dec 8, 2021
d055b7e
add jump-to
YutaKojio Dec 17, 2021
d760098
merge auto-stabilizer
YutaKojio Jan 19, 2022
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
2 changes: 1 addition & 1 deletion hrpsys_ros_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if(CCACHE_FOUND AND "$ENV{CI}" STREQUAL "true" )
endif(CCACHE_FOUND AND "$ENV{CI}" STREQUAL "true" )

# define add_message_files before rtmbuild_init
add_message_files(FILES MotorStates.msg ContactState.msg ContactStateStamped.msg ContactStatesStamped.msg)
add_message_files(FILES MotorStates.msg LandingPosition.msg SteppableRegion.msg CogState.msg ContactState.msg ContactStateStamped.msg ContactStatesStamped.msg)
add_service_files(FILES SetSensorTransformation.srv)
# initialize rtmbuild
rtmbuild_init(geometry_msgs)
Expand Down
24 changes: 13 additions & 11 deletions hrpsys_ros_bridge/euslisp/datalogger-log-parser.l
Original file line number Diff line number Diff line change
Expand Up @@ -143,25 +143,25 @@
(send self :set-robot-state1 :auto-balancer-end-coords-list
(mapcar #'(lambda (x) (send robot x :end-coords :copy-worldcoords)) limb-list)))
;; Stabilizer parameter
(let ((rsd (send self :parser-list "st_originRefCogVel")))
(let ((rsd (send self :parser-list "abc_originRefCogVel")))
(if rsd (send self :set-robot-state1 :stabilizer-reference-cogvel (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_originActCogVel")))
(let ((rsd (send self :parser-list "abc_originActCogVel")))
(if rsd (send self :set-robot-state1 :stabilizer-cogvel (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_originRefZmp")))
(let ((rsd (send self :parser-list "abc_originRefZmp")))
(if rsd (send self :set-robot-state1 :stabilizer-reference-zmp (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_originActZmp")))
(let ((rsd (send self :parser-list "abc_originActZmp")))
(if rsd (send self :set-robot-state1 :stabilizer-zmp (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_originNewZmp")))
(let ((rsd (send self :parser-list "abc_originNewZmp")))
(if rsd (send self :set-robot-state1 :stabilizer-newzmp (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_originRefCog")))
(let ((rsd (send self :parser-list "abc_originRefCog")))
(if rsd (send self :set-robot-state1 :stabilizer-reference-cog (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_originActCog")))
(let ((rsd (send self :parser-list "abc_originActCog")))
(if rsd (send self :set-robot-state1 :stabilizer-cog (scale 1e3 (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_actBaseRpy")))
(let ((rsd (send self :parser-list "abc_actBaseRpy")))
(if rsd (send self :set-robot-state1 :stabilizer-act-base-rpy (map float-vector #'rad2deg (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_currentBaseRpy")))
(let ((rsd (send self :parser-list "abc_currentBaseRpy")))
(if rsd (send self :set-robot-state1 :stabilizer-current-base-rpy (map float-vector #'rad2deg (send rsd :read-state)))))
(let ((rsd (send self :parser-list "st_debugData")))
(let ((rsd (send self :parser-list "abc_debugData")))
(if rsd (send self :set-robot-state1 :stabilizer-debug-data (send rsd :read-state))))
;; Set stable rtc data
(send self :set-robot-state1
Expand Down Expand Up @@ -207,7 +207,9 @@
(send (send self :parser-list (format nil "rmfo_off_~A" (send f :name))) :read-state))
(send self :set-robot-state1
(read-from-string (format nil ":reference-~A" (string-downcase (send f :name))))
(send (send self :parser-list (format nil "sh_~AOut" (send f :name))) :read-state))
(if (send self :parser-list (format nil "rfu_ref_~AOut" (send f :name)))
(send (send self :parser-list (format nil "rfu_ref_~AOut" (send f :name))) :read-state)
(send (send self :parser-list (format nil "sh_~AOut" (send f :name))) :read-state)))
)
;; (dolist (i (send robot :imu-sensors))
;; (send self :set-robot-state1
Expand Down
101 changes: 91 additions & 10 deletions hrpsys_ros_bridge/euslisp/rtm-ros-robot-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@
#'send self :rtmros-imu-callback :groupname groupname)
(ros::subscribe "/emergency_mode" std_msgs::Int32
#'send self :rtmros-emergency-mode-callback :groupname groupname)
(ros::subscribe "/is_stuck" std_msgs::Int32
#'send self :rtmros-is-stuck-callback :groupname groupname)
(ros::subscribe "/use_flywheel" std_msgs::Int32
#'send self :rtmros-use-flywheel-callback :groupname groupname)
(ros::subscribe "/estimated_fxy" geometry_msgs::PointStamped
#'send self :rtmros-estimated-fxy-callback :groupname groupname)
(mapcar #'(lambda (x)
(ros::subscribe (format nil "/~A_capture_point" x) geometry_msgs::PointStamped
#'send self :rtmros-capture-point-callback (read-from-string (format nil ":~A-capture-point" x)) :groupname groupname))
Expand Down Expand Up @@ -69,6 +75,20 @@
(let ((m (send msg :data)))
(send self :set-robot-state1 :emergency-mode m))
)
(:rtmros-is-stuck-callback
(msg)
(let ((m (send msg :data)))
(send self :set-robot-state1 :is-stuck m))
)
(:rtmros-use-flywheel-callback
(msg)
(let ((m (send msg :data)))
(send self :set-robot-state1 :use-flywheel m))
)
(:rtmros-estimated-fxy-callback
(msg)
(let ((p (send msg :point)))
(send self :set-robot-state1 :estimated-fxy (float-vector (send p :x) (send p :y) (send p :z)))))
(:rtmros-capture-point-callback
(ref-act msg)
(let ((p (send msg :point)))
Expand Down Expand Up @@ -117,13 +137,13 @@
(:reference-force-vector
(&optional (limb))
"Returns reference force-vector [N] list for all limbs obtained by :state.
This value corresponds to StateHolder and SequencePlayer RTC.
This value corresponds to ReferenceForceUpdater, EmergencyStopper, StateHolder and SequencePlayer RTC prioritized in this order.
If a limb argument is specified, returns a vector for the limb."
(send self :tmp-force-moment-vector :force limb "reference"))
(:reference-moment-vector
(&optional (limb))
"Returns reference moment-vector [Nm] list for all limbs obtained by :state.
This value corresponds to StateHolder and SequencePlayer RTC.
This value corresponds to ReferenceForceUpdater, EmergencyStopper, StateHolder and SequencePlayer RTC prioritized in this order.
If a limb argument is specified, returns a vector for the limb."
(send self :tmp-force-moment-vector :moment limb "reference"))
(:absolute-force-vector
Expand Down Expand Up @@ -1269,6 +1289,25 @@
"Call goPos with wait."
(send self :go-pos-no-wait xx yy th)
(send self :wait-foot-steps))
(:jump-to-no-wait
(xx yy zz ts tf)
"Call jumpTo without wait."
(send self :autobalancerservice_jumpTo :x xx :y yy :z zz :ts ts :tf tf))
(:jump-to
(xx yy zz ts tf)
"Call jumpTo with wait."
(send self :jump-to-no-wait xx yy zz ts tf)
(send self :wait-foot-steps))
(:go-pos-wheel
(xx yy th w-xx rv-max ra-max &optional (tm-off 0.0))
"Call goPosWheel without wait."
(send self :autobalancerservice_goPosWheel :x xx :y yy :th th :w_x w-xx :rv_max rv-max :ra_max ra-max :tm_off tm-off)
(send self :wait-foot-steps))
(:go-wheel
(xx rv-max ra-max)
"Call goWheel without wait."
(send self :autobalancerservice_goWheel :x xx :rv_max rv-max :ra_max ra-max)
(send self :wait-foot-steps))
(:raw-get-foot-step-param
()
(send (send self :autobalancerservice_getfootstepparam) :i_param))
Expand Down Expand Up @@ -1359,6 +1398,48 @@
For arguments, please see :set-foot-steps-with-param-no-wait documentation."
(send self :set-foot-steps-with-param-no-wait foot-step-list step-height-list step-time-list toe-angle-list heel-angle-list :overwrite-footstep-index overwrite-footstep-index)
(send self :wait-foot-steps))
(:set-foot-steps-with-wheel-no-wait
(foot-step-list step-height-list step-time-list toe-angle-list heel-angle-list goal-pos-list rv-max-list ra-max-list &key (overwrite-footstep-index 0))
(unless (listp (car foot-step-list))
(setq foot-step-list (mapcar #'(lambda (fs) (list fs)) foot-step-list)
step-height-list (mapcar #'(lambda (sh) (list sh)) step-height-list)
step-time-list (mapcar #'(lambda (st) (list st)) step-time-list)
toe-angle-list (mapcar #'(lambda (ta) (list ta)) toe-angle-list)
heel-angle-list (mapcar #'(lambda (ha) (list ha)) heel-angle-list)
goal-pos-list (mapcar #'(lambda (gp) (list gp)) goal-pos-list)
rv-max-list (mapcar #'(lambda (rv) (list rv)) rv-max-list)
ra-max-list (mapcar #'(lambda (ra) (list ra)) ra-max-list)))
(send self :autobalancerservice_setfootstepswithwheel
:fss
(mapcar #'(lambda (fs)
(instance hrpsys_ros_bridge::openhrp_autobalancerservice_footsteps :init
:fs
(mapcar #'(lambda (f)
(send self :eus-footstep->abc-footstep f))
fs)))
foot-step-list)
:spss
(mapcar #'(lambda (shs sts tas has)
(instance hrpsys_ros_bridge::openhrp_autobalancerservice_stepparams :init
:sps
(mapcar #'(lambda (sh st ta ha)
(instance hrpsys_ros_bridge::openhrp_autobalancerservice_stepparam :init :step_height (* sh 1e-3) :step_time st :toe_angle ta :heel_angle ha))
shs sts tas has)))
step-height-list step-time-list toe-angle-list heel-angle-list)
:wpss
(mapcar #'(lambda (gps rvs ras)
(instance hrpsys_ros_bridge::openhrp_autobalancerservice_wheelparams :init
:wps
(mapcar #'(lambda (gp rv ra)
(instance hrpsys_ros_bridge::openhrp_autobalancerservice_wheelparam :init :goal_pos (* gp 1e-3) :rv_max rv :ra_max ra))
gps rvs ras)))
goal-pos-list rv-max-list ra-max-list)
:overwrite_fs_idx overwrite-footstep-index
))
(:set-foot-steps-with-wheel
(foot-step-list step-height-list step-time-list toe-angle-list heel-angle-list goal-pos-list rv-max-list ra-max-list &key (overwrite-footstep-index 0))
(send self :set-foot-steps-with-wheel-no-wait foot-step-list step-height-list step-time-list toe-angle-list heel-angle-list goal-pos-list rv-max-list ra-max-list :overwrite-footstep-index overwrite-footstep-index)
(send self :wait-foot-steps))
(:set-foot-steps-roll-pitch
(angle &key (axis :x))
"Set foot steps with roll or pitch orientation.
Expand Down Expand Up @@ -1752,9 +1833,9 @@

;; StabilizerService
(def-set-get-param-method
'hrpsys_ros_bridge::Openhrp_StabilizerService_stParam
'hrpsys_ros_bridge::Openhrp_AutoBalancerService_StabilizerParam
:raw-set-st-param :get-st-param :get-st-param-arguments
:stabilizerservice_setparameter :stabilizerservice_getparameter)
:autobalancerservice_setstabilizerparam :autobalancerservice_getstabilizerparam)

(defmethod rtm-ros-robot-interface
(:set-st-param
Expand Down Expand Up @@ -1830,7 +1911,7 @@
"Set Stabilzier parameter by default parameters."
(unless (send self :get :default-st-param)
(send self :put :default-st-param (send self :get-st-param)))
(send self :stabilizerservice_setparameter :i_param (send self :get :default-st-param))
(send self :autobalancerservice_setparameter :i_param (send self :get :default-st-param))
)
(:set-st-param-by-ratio
(state-feedback-gain-ratio
Expand Down Expand Up @@ -1876,12 +1957,12 @@
(:start-st
()
"Start Stabilizer Mode."
(send self :stabilizerservice_startstabilizer)
(send self :autobalancerservice_startstabilizer)
)
(:stop-st
()
"Stop Stabilizer Mode."
(send self :stabilizerservice_stopstabilizer)
(send self :autobalancerservice_stopstabilizer)
)
)

Expand Down Expand Up @@ -2204,9 +2285,9 @@
(print-ros-msg (send self :get-gait-generator-param))
(format t ";; :get-auto-balancer-param~%")
(print-ros-msg (send self :get-auto-balancer-param)))
(when (find "/StabilizerServiceROSBridge" rosbridge-nodes :test #'string=)
(format t ";; :get-st-param~%")
(print-ros-msg (send self :get-st-param)))
;; (when (find "/StabilizerServiceROSBridge" rosbridge-nodes :test #'string=)
;; (format t ";; :get-st-param~%")
;; (print-ros-msg (send self :get-st-param)))
(when (find "/ObjectContactTurnaroundDetectorServiceROSBridge" rosbridge-nodes :test #'string=)
(format t ";; :get-object-turnaround-detector-param~%")
(print-ros-msg (send self :get-object-turnaround-detector-param)))
Expand Down
20 changes: 14 additions & 6 deletions hrpsys_ros_bridge/launch/hrpsys_ros_bridge.launch
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,18 @@
<rtconnect from="abc.rtc:contactStates" to="HrpsysSeqStateROSBridge0.rtc:refContactStates" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:controlSwingSupportTime" to="HrpsysSeqStateROSBridge0.rtc:controlSwingSupportTime" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="kf.rtc:rpy" to="HrpsysSeqStateROSBridge0.rtc:baseRpy" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="st.rtc:zmp" to="HrpsysSeqStateROSBridge0.rtc:rszmp" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="st.rtc:refCapturePoint" to="HrpsysSeqStateROSBridge0.rtc:rsrefCapturePoint" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="st.rtc:actCapturePoint" to="HrpsysSeqStateROSBridge0.rtc:rsactCapturePoint" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="st.rtc:actContactStates" to="HrpsysSeqStateROSBridge0.rtc:actContactStates" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:zmpAct" to="HrpsysSeqStateROSBridge0.rtc:rszmp" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:refCapturePoint" to="HrpsysSeqStateROSBridge0.rtc:rsrefCapturePoint" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:actCapturePoint" to="HrpsysSeqStateROSBridge0.rtc:rsactCapturePoint" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:actContactStates" to="HrpsysSeqStateROSBridge0.rtc:actContactStates" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="AutoBalancerServiceROSBridge.rtc:AutoBalancerService" to="abc.rtc:AutoBalancerService" subscription_type="new"/>
<rtconnect from="StabilizerServiceROSBridge.rtc:StabilizerService" to="st.rtc:StabilizerService" subscription_type="new"/>
<!-- <rtconnect from="StabilizerServiceROSBridge.rtc:StabilizerService" to="st.rtc:StabilizerService" subscription_type="new"/> -->
<rtconnect from="KalmanFilterServiceROSBridge.rtc:KalmanFilterService" to="kf.rtc:KalmanFilterService" subscription_type="new"/>
<rtconnect from="st.rtc:COPInfo" to="HrpsysSeqStateROSBridge0.rtc:rsCOPInfo" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:COPInfo" to="HrpsysSeqStateROSBridge0.rtc:rsCOPInfo" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:landingTarget" to="HrpsysSeqStateROSBridge0.rtc:rslandingTarget" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:endCogState" to="HrpsysSeqStateROSBridge0.rtc:rsendCogState" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="HrpsysSeqStateROSBridge0.rtc:rslandingHeight" to="abc.rtc:landingHeight" subscription_type="new"/>
<rtconnect from="HrpsysSeqStateROSBridge0.rtc:rssteppableRegion" to="abc.rtc:steppableRegion" subscription_type="new"/>
<rtactivate component="AutoBalancerServiceROSBridge.rtc" />
<rtactivate component="StabilizerServiceROSBridge.rtc" />
<rtactivate component="KalmanFilterServiceROSBridge.rtc" />
Expand Down Expand Up @@ -260,6 +264,10 @@
<node pkg="hrpsys_ros_bridge" name="HardEmergencyStopperServiceROSBridge" type="EmergencyStopperServiceROSBridgeComp"
output="screen" args ="$(arg openrtm_args)" />
<rtconnect from="es.rtc:emergencyMode" to="HrpsysSeqStateROSBridge0.rtc:emergencyMode" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:isStuck" to="HrpsysSeqStateROSBridge0.rtc:isStuck" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:useFlywheel" to="HrpsysSeqStateROSBridge0.rtc:useFlywheel" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:estimatedFxy" to="HrpsysSeqStateROSBridge0.rtc:estimatedFxy" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="abc.rtc:currentSteppableRegion" to="HrpsysSeqStateROSBridge0.rtc:currentSteppableRegion" subscription_type="$(arg subscription_type)" push_policy="$(arg push_policy)" push_rate="$(arg push_rate)" buffer_length="$(arg buffer_length)"/>
<rtconnect from="EmergencyStopperServiceROSBridge.rtc:EmergencyStopperService" to="es.rtc:EmergencyStopperService" subscription_type="new"/>
<rtconnect from="HardEmergencyStopperServiceROSBridge.rtc:EmergencyStopperService" to="hes.rtc:EmergencyStopperService" subscription_type="new"/>
<rtactivate component="EmergencyStopperServiceROSBridge.rtc" />
Expand Down
9 changes: 9 additions & 0 deletions hrpsys_ros_bridge/msg/CogState.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Header header

float64 x
float64 y
float64 z
float64 vx
float64 vy
float64 vz
int8 l_r
9 changes: 9 additions & 0 deletions hrpsys_ros_bridge/msg/LandingPosition.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Header header

float64 x
float64 y
float64 z
float64 nx
float64 ny
float64 nz
int8 l_r
5 changes: 5 additions & 0 deletions hrpsys_ros_bridge/msg/SteppableRegion.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Header header
geometry_msgs/PolygonStamped[] polygons
uint32[] labels
float32[] likelihood
uint32 l_r
Loading