Skip to content
Snippets Groups Projects
Commit a5bb7ebf authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed functions that have been implemented in the dynamixel manager.

parent 2a2d3ed7
No related branches found
No related tags found
No related merge requests found
......@@ -190,32 +190,6 @@ mm_mode_t CDarwinMManager::get_module(unsigned char servo_id)
}
/*
void CDarwinMManager::enable_power(void)
{
this->is_valid();
this->manager_status|=MANAGER_EN_PWR;
this->robot_device->write_byte_register(DARWIN_MM_CNTRL,this->manager_status);
}
void CDarwinMManager::disable_power(void)
{
this->is_valid();
this->manager_status&=(~MANAGER_EN_PWR);
this->robot_device->write_byte_register(DARWIN_MM_CNTRL,this->manager_status);
}
bool CDarwinMManager::is_power_enabled(void)
{
unsigned char value;
this->is_valid();
this->robot_device->read_byte_register(DARWIN_MM_CNTRL,&value);
if(value&MANAGER_EN_PWR)
return true;
else
return false;
}
void CDarwinMManager::load_config(std::string &filename)
{
darwin_config_t::servo_iterator iterator;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment