Search found 40 matches

Go to advanced search

by Ryan
Fri Aug 07, 2020 5:03 pm
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 4
Views: 1231

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 the foot-bot a...
by Ryan
Mon Aug 03, 2020 1:32 am
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 4
Views: 1231

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.AvailableCharge; std:...
by Ryan
Sun Aug 02, 2020 8:14 am
Forum: How to... ?
Topic: How can I use the battery sensor
Replies: 4
Views: 1231

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: 10095

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: 9419

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: 6200

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: 9419

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?
by Ryan
Mon Mar 23, 2020 5:25 am
Forum: How to... ?
Topic: Process is killed
Replies: 2
Views: 6200

Process is killed

Dear Sir, I have successfully written an RNN algorithm and used the galib to evolve it (420 weights). When I use 15 robots, the process is killed in the 7th generation. But when I use 25 robots, the process is killed in the 4th generation. And I try to know why my process was killed by dmesg | egrep...
by Ryan
Sat Mar 21, 2020 12:32 am
Forum: How to... ?
Topic: Issue of galib
Replies: 1
Views: 7719

Issue of galib

Hello Sir, I am writing an evolutionary algorithm for RNN, executed by N = 5, 15, 25 robots. For each setting of the simulation, five independent evolutionary trials were executed with a different random seed. I'm already referring to your galib code: https://github.com/ilpincy/argos3-examples/blob/...

Go to advanced search



cron