Search found 42 matches

Go to advanced search

by Ryan
Mon Aug 10, 2020 3:55 pm
Forum: How to... ?
Topic: Issue of battery sensor in the "DischargeModelTimeMotion" model
Replies: 0
Views: 45726

Issue of battery sensor in the "DischargeModelTimeMotion" model

Hey, I tried to add the footbot in the loopfunction file. And I tried to set the battery sensor in the model of "DischargeModelTimeMotion". But it seems that the value of TimeLeft has no change. How can I fix it? In the loop function file: void CLoopFunctions::Init(TConfigurationNode& ...
by Ryan
Sat Aug 08, 2020 1:27 pm
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 5
Views: 20872

Re: How can I use the battery sensor

Now, I tried to add the footbot in the loopfunction file. And I tried to set the battery sensor in the model of "DischargeModelTimeMotion". But it seems that the value of TimeLeft has no change. How can I fix it? In the loop function file: void CLoopFunctions::Init(TConfigurationNode& ...
by Ryan
Fri Aug 07, 2020 5:03 pm
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 5
Views: 20872

Re: How can I use the battery sensor

Now, I tried to add the footbot in the loopfunction file. And I tried to set the battery sensor in model of "DischargeModelTimeMotion". But it seems that the value of TimeLeft has no change. In the loop function file: void CLoopFunctions::Init(TConfigurationNode& t_node) { /* * Create ...
by Ryan
Mon Aug 03, 2020 1:32 am
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 5
Views: 20872

Re: How can I use the battery sensor

In the controllers folder: void CFootBot::Init(TConfigurationNode& t_node){ m_pcBattery = GetSensor <CBatteryDefaultSensor >("battery"); } void CFootBot::ControlStep() { const CCI_BatterySensor::SReading & tBatteryReads = m_pcBattery->GetReading(); Real timeleft = tBatteryReads.Ava...
by Ryan
Sun Aug 02, 2020 8:14 am
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 5
Views: 20872

How can I use the battery sensor

Hey, I try to use the battery sensor and show the Time left in seconds. I have added the sensor. But when I try to print out the variable of Timeleft, it shows there are infinite time. It is more likely that this battery does not enable. So how can I enable this battery sensors. m_pcBattery = GetSen...
by Ryan
Mon Mar 30, 2020 5:37 pm
Forum: How to... ?
Topic: Increase footbot proximity sensor range
Replies: 4
Views: 22700

Re: Increase footbot proximity sensor range

Maybe you can use the distance_scanner to achieve the same function
by Ryan
Fri Mar 27, 2020 12:23 pm
Forum: How to... ?
Topic: Can I use GPUs to accelerate simulation calculations?
Replies: 4
Views: 24529

Re: Can I use GPUs to accelerate simulation calculations?

If I take a multi-process approach, will it accelerate simulation calculation?

I noticed that you have a multi-process evolutionary algorithm.
https://github.com/ilpincy/argos3-examp ... s/mpga.cpp
by Ryan
Fri Mar 27, 2020 12:02 pm
Forum: How to... ?
Topic: Process is killed
Replies: 2
Views: 17226

Re: Process is killed

Thank you very much for the reminder. I have solved this problem and the reason is as you said memory leak.
by Ryan
Thu Mar 26, 2020 1:32 pm
Forum: How to... ?
Topic: Can I use GPUs to accelerate simulation calculations?
Replies: 4
Views: 24529

Can I use GPUs to accelerate simulation calculations?

Hey,
I am using ARGoS for evolutionary robotics and the genetic algorithms are taking a long time to complete. And my computer is a server with a GPU. Can I use GPUs to accelerate simulation calculations? If it can be achieved, what should I do?

Go to advanced search