Skip to content

Commit

Permalink
Change the method to judge if rc is open.
Browse files Browse the repository at this point in the history
  • Loading branch information
cc0h committed Sep 30, 2024
1 parent 6f75aa3 commit 0a788b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manual_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void ManualBase::actuatorStateCallback(const rm_msgs::ActuatorState::ConstPtr& d

void ManualBase::dbusDataCallback(const rm_msgs::DbusData::ConstPtr& data)
{
if (data->rc_is_open)
if (ros::Time::now() - data->stamp < ros::Duration(1.0))
{
if (!remote_is_open_)
{
Expand Down

0 comments on commit 0a788b8

Please sign in to comment.